https://github.com/jbx-protocol/juice-project-handles
Juicebox project handles.
https://github.com/jbx-protocol/juice-project-handles
ethereum juicebox
Last synced: 9 months ago
JSON representation
Juicebox project handles.
- Host: GitHub
- URL: https://github.com/jbx-protocol/juice-project-handles
- Owner: jbx-protocol
- Created: 2022-05-14T22:23:11.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-16T08:26:39.000Z (about 2 years ago)
- Last Synced: 2025-08-19T08:16:39.747Z (11 months ago)
- Topics: ethereum, juicebox
- Language: Solidity
- Homepage:
- Size: 2.68 MB
- Stars: 1
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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:
1. Install [Foundry](https://github.com/gakonst/foundry).
```bash
curl -L https://foundry.paradigm.xyz | sh
```
2. Install external lib(s)
```bash
git submodule update --init && yarn install
```
then run
```bash
forge update
```
3. Run tests:
```bash
forge test
```
4. Update Foundry periodically:
```bash
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](https://book.getfoundry.sh/reference/forge/forge-create.html)
## Goerli
```bash
yarn deploy-goerli
```
## Mainnet
```bash
yarn deploy-mainnet
```
The deployments are stored in ./broadcast