Our V3 contracts are written using the EIP-2535 "Diamond" Standard, please read the documentation before interacting with them. Our Diamond contract is deployed here.
Before being able to run any command, you need to create a .env file. You can follow the example in .env.example.
Then, proceed with installing dependencies:
$ yarn installCompile the smart contracts with Hardhat:
$ yarn compileCompile the smart contracts and generate TypeChain bindings:
$ yarn typechainRun the tests with Hardhat:
$ yarn testDelete the smart contract artifacts and the Hardhat cache:
$ yarn cleanDeploy the contracts to Hardhat Network:
$ yarn deploy