Here: Smart contract hacking
- Copy .env to .env.sample and fill up with your private/miner keys, miner address and RPC URL (see below).
- Run
ERIGON_URL=http://127.0.0.1:8545 docker-compose up
Exposed endpoints:
- RPC URL:
http://127.0.0.1:8545
- Otterscan:
http://127.0.0.1:8080
npm install
npx hardhat compile
npx hardhat test test/dice.js
npx hardhat test test/fixeddice.js
node scripts/deploy.js
FORK=1 node scripts/fork.js