Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 489 Bytes

File metadata and controls

30 lines (22 loc) · 489 Bytes

Local deployment instructions

  1. Open up a new terminal and start sanvil.
sanvil
  1. Set the environment variables. You can copy our example .env file to start.
cd contracts/
cp .env.example .env
  1. Ensure contract tests are passing. From this directory, run
sforge build
sforge test
  1. Deploy the contract.
source .env
sforge script script/ClownBeatdown.s.sol:ClownBeatdownScript \
      --rpc-url $RPC_URL \
      --broadcast