Smart contract security is a top priority for Aura, see Security documentation .
If you have any feedback or concerns, reach out to security@aura.finance
$ git submodule init
$ git submodule update$ yarn installCompile the smart contracts with Hardhat:
$ yarn compileCompile the smart contracts and generate TypeChain artifacts:
$ yarn typechainLint the Solidity code:
$ yarn lint:solLint the TypeScript code:
$ yarn lint:tsRun the Mocha tests:
$ yarn testGenerate the code coverage report:
$ yarn coverageDelete the smart contract artifacts, the coverage reports and the Hardhat cache:
$ yarn cleanThis runs a local node on your system, that can be used with Metamask, etc.
Run a local fork:
npx hardhat node --fork https://eth-mainnet.alchemyapi.io/v2/<API_KEY> --port <PORT>
Once you stake or lock CVX you may want to progress timestamps to check rewards stuff
export NODE_URL=<LOCAL_NODE_URL>
yarn task timeTravel --duration 69420 --network forking