@jbx-protocol/juice-defifa

6.0.0 • Public • Published

Juicebox 721 Distribution Mechanism

Motivation

Mechanic

Architecture

Deploy

Install

Quick all-in-one command:

rm -Rf juice-defifa || true && git clone -n https://github.com/jbx-protocol/juice-defifa && cd juice-defifa && git pull origin main && git checkout FETCH_HEAD && foundryup && git submodule update --init --recursive --force && yarn install && forge test

To get set up:

  1. Install Foundry.
curl -L https://foundry.paradigm.xyz | sh
  1. Install external lib(s)
git submodule update --init --recursive --force && yarn install

then run

forge update
  1. Run tests:
forge test
  1. Update Foundry periodically:
foundryup

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.

Goerli

yarn deploy-goerli

Mainnet

yarn deploy-mainnet

The deployments are stored in ./broadcast

See the Foundry Book for available options.

Readme

Keywords

none

Package Sidebar

Install

npm i @jbx-protocol/juice-defifa

Weekly Downloads

1

Version

6.0.0

License

MIT

Unpacked Size

54.4 MB

Total Files

356

Last publish

Collaborators

  • filipviz
  • drgorilla
  • ba5ed
  • me.jango