Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.15 KB

README.md

File metadata and controls

51 lines (33 loc) · 1.15 KB

Verifer-Js

Welcome to ZK-Verifier-Backend. This project is a JavaScript library for ZK proof verification and validation of Privado ID verifiable credentials(VCs).

Installation

Clone the repository from GitHub:

git clone https://github.com/ilvcs/zk-verifier-backend.git

Copy sample.env file to .env file and update the values

cp sample.env .env

Run ngrok for public facing URL

ngrok http 8000

Update .env values

EXTERNAL_URL= <PUBLIC_FACING_URL LIKE NGROK>
JSON_RPC_URL= <YOUR_JSON_RPC_URL>
STATE_CONTRACT_ADDRESS = <STATE_CONTRACT_ADDRESS use 0x1a4cC30f2aA0377b0c3bc9848766D90cb4404124 for Polygon Amoy Testnet>

Install the dependencies:

npm install

Start the server

node index.js

Documentation

For detailed documentation, please refer to the Verifer-Js Documentation.

Contributing

Contributions are welcome! If you have any ideas, bug reports, or feature requests, please open an issue or submit a pull request on the Verifer-Js GitHub repository.