Issue an NFT that represents a locked position of juicebox project tokens (unclaimed or as ERC20s).
To get set up:
- Install Foundry.
curl -L https://foundry.paradigm.xyz | sh
- Install external lib(s)
git submodule update --init && yarn install
If git modules are failing to clone, not installing, etc (ie overall submodule misbehaving), use
git submodule update --init --recursive --force
- Run tests:
- Update Foundry periodically:
This repo is organised as follow:
contracts/Allocator: contains an IJBSplitsAllocator implementation template (Allocator.sol)
contracts/DatasourceDelegate: contains an IJBFundingCycleDataSource, IJBPayDelegate and IJBRedemptionDelegate implementation templates (DataSourceDelegate.sol).
contracts/Terminal: contains an IJBPaymentTerminal and IJBRedemptionTerminal implementation template.
Deploy & verify
Configure the .env variables, and add a mnemonic.txt file with the mnemonic of the deployer wallet. The sender address in the .env must correspond to the mnemonic account.
The deployments are stored in ./broadcast
See the Foundry Book for available options.