Solidity and frontend code for the Mercurials project.
- Start local test blockchain RPC node on http://localhost:8545
$ anvil --block-time 12
- Deploy the contracts
$ forge script script/Deploy.sol --rpc-url http://localhost:8545 --broadcast --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
- Start the Next.js server frontend
$ npm run dev