Skip to content

zkFold/zk-kyc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zkKYC server

Working with GHC 9.6.7 and Cabal 3.12.1.0

Running the server

Replace XXXX with the port number (default is 3000) and timeout (default is 300)

cabal run kyc-server
# or
cabal run kyc-server -- --port XXXX --timeout XXX

When the server is running, you can query it via curl (assuming that the port is set to 3000):

Prove request:

curl -X POST -H "Content-Type: application/json" --connect-timeout 300 -d @example-json/kyc-data.json localhost:3000/prove

Verify request:

curl -X POST -H "Content-Type: application/json" --connect-timeout 300 -d @example-json/prover-output.json localhost:3000/verify

Docs

To view the documentation, click here

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •