Skip to content

Keinberger/royalty-swap

Repository files navigation

royalty-swap

Install Dependencies

npm install
cd nextjs
npm install
cd contracts
forge install

Define environment variables

cp .env.example .env

Get Started

  1. Build the contracts
cd contracts
forge build
  1. Start the local network
cd contracts/
anvil --hardfork cancun
  1. Deploy the local V4 pool (including hook)
cd contracts/
forge script script/Anvil.s.sol \
   --rpc-url http://localhost:8545 \
   --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 \
   --broadcast
  1. Start the frontend
cd nextjs/
npm run dev

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •