/contracts

IDEN3 smartcontracts

Primary LanguageTypeScript

IDEN3 Smartcontracts Test

  • State
  • SchemaRegistry
  • SchemaUrlRegistry

Deployment

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

Run tests

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 

Other Hardhat commands

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat node
npx hardhat help