@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
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 installthen run
forge update- Run tests:
forge test- Update Foundry periodically:
foundryupDeploy & 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-goerliMainnet
yarn deploy-mainnetThe deployments are stored in ./broadcast
