@anon-aadhaar/contracts

2.4.3 • Public • Published

@anon-aadhaar/contracts

This package contains the anon Aadhaar Verfier contract. You can import it directly into your Hardhat project, or use the already 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 the 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

Dependents (0)

Package Sidebar

Install

npm i @anon-aadhaar/contracts

Weekly Downloads

3

Version

2.4.3

License

MIT

Unpacked Size

17.6 kB

Total Files

8

Last publish

Collaborators

  • sinaxyz