Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.04 KB

README.md

File metadata and controls

57 lines (36 loc) · 1.04 KB

Juicebox Project Handles

The JBProjectHandles contract manages reverse records that point from JB project IDs to ENS nodes. If the reverse record of a project ID is pointed to an ENS node with a TXT record matching the ID of that project, then the ENS node will be considered the "handle" for that project.

Install Foundry

To get set up:

  1. Install Foundry.
curl -L https://foundry.paradigm.xyz | sh
  1. Install external lib(s)
git submodule update --init && yarn install

then run

forge update
  1. Run tests:
forge test
  1. Update Foundry periodically:
foundryup

Deploy & verify

Using the solidity script after configuring the .env accordingly (the sender address must be corresponding to the private key)

See the Foundry Book for available options

Goerli

yarn deploy-goerli

Mainnet

yarn deploy-mainnet

The deployments are stored in ./broadcast