0.1.15 • Published 2 years ago

anon-aadhaar-pcd v0.1.15

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

anon-aadhaar-pcd

About project

Requirements

Install rust and nodejs v18, openssl(Usually installed in macOS and Linux).

Install and test

Install nodejs dependencies.

yarn

Install circom and download powers of tau file.

./script/setup-dev.sh install

Generate verification key and proving key.

NOTE:This action use for development only. Don't use it in product, please!

./script/setup-dev.sh setup

Run test

yarn test

Generate pdf file with pkcs#1 schema. This action will create pdf file name signed.pdf signed by certificate.cer in build folder.

./script/setup-dev.sh pdf_setup