- State - State contract, where identity states are published
- Smt - library to manage Sparse Merkle Trees onchain
-
Nethermind has performed a security audit of our core smart contracts (State & Smt) and compiled a report on Apr 18, 2023: NM_0069_POLYGON_FINAL.pdf
-
Nethermind has performed a second security audit of our core smart contracts (State, IdentityBase, GenesisUtils, OnChainIdentity) and compiled a report on Sep 13, 2023: NM0113-FINAL-POLYGONID.pdf
Uncomment networks object and updated blockchain provider url and private key in hardhat.config.js
for the relevant network.
Then run the deployment script:
npx hardhat run --network <your-network> scripts/deploy.js
npx hardhat test
Run tests with gas statistics report:
REPORT_GAS=true npx hardhat test
Run tests with gas statistics and costs report:
COINMARKETCAP_KEY=<<your coinmarketcap key>> REPORT_GAS=true npx hardhat test
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat node
npx hardhat help
cd contracts
npm publish
This repository is part of the iden3 project copyright 2023 0KIMS Association and published under GPL-3.0 license. Please check the LICENSE file for more details.