These are the contracts for Razor network.
You'll need npm to install the required packages. To install npm , go to this link
Create a .env
file from .env.tpl
and set the environment variables accordingly.
Run npm run test
Run npm run coverage
Run npm run lint
Run npm run lint:sol:fix
The easiest way to get a local hardhat instance with deployed contracts is to run a docker container.
$ docker-compose up
- Create a copy of local environment
.env.local
from.env.tpl
and set the environment variables accordingly - Run hardhat node (
npx hardhat node
) - Run command
deploy:local
- Use tenderly to track local transactions: https://github.com/Tenderly/tenderly-cli#export
- Create a copy of local environment
.env.mumbai
from.env.tpl
and set the environment variables accordingly - Run command
deploy:mumbai
We are currently live on Polygon Mumbai Testnet.
Deployed contract addresses can be found here
npx hardhat node
npm run deploy:local
npm run deploy:mumbai
npx hardhat test --network localhost
tenderly export --export-network hardhat 0x4c30a90c6d2370abaef047fbac5a3f2dd43a9490caae7c79ec700eee600db024
npm run gas