@jbx-protocol/project-handles
v2.0.5
Published
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
Downloads
26
Readme
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:
- Install Foundry.
curl -L https://foundry.paradigm.xyz | sh
- Install external lib(s)
git submodule update --init && yarn install
then run
forge update
- Run tests:
forge test
- 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