@anon-aadhaar/contracts

2.0.3 • Public • Published

@anon-aadhaar/contracts

This package contains the anon Aadhaar Verfier contract. You can import it directly in your Hardhat project, or use the alredy deployed contracts, to verify an Anon Aadhaar Proof.

🛠 Install

npm

npm install @anon-aadhaar/contracts

yarn

yarn add @anon-aadhaar/contracts

Update your hardhat.config.ts in your project:

import 'hardhat-dependency-compiler'

const config: HardhatUserConfig = {
  solidity: '0.8.19',
  dependencyCompiler: {
    paths: ['@anon-aadhaar/contracts/src/AnonAadhaar.sol'],
  },
}

📜 Usage

Compile the contracts:

yarn build

Test the contracts:

yarn test

Test the contracts with gas report:

yarn test:gas

Deploy the contracts with the test public key to Sepolia:

yarn deploy:sepolia-test

Deploy the contracts with the production public key to Sepolia:

yarn deploy:sepolia-prod

Readme

Keywords

none

Package Sidebar

Install

npm i @anon-aadhaar/contracts

Weekly Downloads

104

Version

2.0.3

License

MIT

Unpacked Size

17.8 kB

Total Files

8

Last publish

Collaborators

  • sinaxyz