VWBL's access condition contract which defined MolchDAO member only can view digital content
- Install npm packages
yarn install
- Compile smart contract
yarn compile
- Start a local Ethereum network based on a snapshot of the mainnet.
npx hardhat node --fork mainet-eth-rpc --fork-block-number block-number
- In a separate terminal, run the test command with the
localhost
network.
npx hardhat test --network localhost