Skip to content

Latest commit

 

History

History

contracts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 packages/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/Walnut.s.sol:WalnutScript \
      --rpc-url $RPC_URL \
      --broadcast