1.0.1 • Published 3 years ago
@jbx-protocol/juice-v1-token-terminal v1.0.1
Juicebox v1 Token Terminal
Allows project owners to specify the v1 project token that they are willing to accept from holders in exchange for their v2 project token.
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 updateIf git modules are failing to clone, not installing, etc (ie overall submodule misbehaving), use git submodule update --init --recursive --force
- Run tests:
 
forge test- Update Foundry periodically:
 
foundryupDeploy & verify
Setup
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.
Rinkeby
yarn deploy-rinkebyMainnet
yarn deploy-mainnetThe deployments are stored in ./broadcast
See the Foundry Book for available options.