seanmc9 / juice-contracts-v4

⚙️ Juicebox core V4 contracts.

Home Page:https://www.npmjs.com/package/@jbx-protocol/juice-contracts-v3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

juice-contracts-v4

https://github.com/bananapus/juice-contracts-v4

Juicebox is a flexible toolkit for launching and managing a treasury-backed token on Ethereum and L2s.

To learn more about the protocol, visit the Juicebox Docs.

Develop

juice-contracts-v4 uses the Foundry development toolchain for builds, tests, and deployments. To get set up, install Foundry:

curl -L https://foundry.paradigm.xyz | sh

You can download and install dependencies with:

forge install

If you run into trouble with forge install, try using git submodule update --init --recursive to ensure that nested submodules have been properly initialized.

Some useful commands:

Command Description
forge install Install the dependencies.
forge build Compile the contracts and write artifacts to out.
forge fmt Lint.
forge test Run the tests.
forge build --sizes Get contract sizes.
forge coverage Generate a test coverage report.
foundryup Update foundry. Run this periodically.
forge clean Remove the build artifacts and cache directories.

To learn more, visit the Foundry Book docs.

We recommend using Juan Blanco's solidity extension for VSCode.

Utilities

For convenience, several utility commands are available in util.sh. To see a list, run:

`bash util.sh --help`.

Or make the script executable and run:

./util.sh --help

About

⚙️ Juicebox core V4 contracts.

https://www.npmjs.com/package/@jbx-protocol/juice-contracts-v3

License:MIT License


Languages

Language:Solidity 99.2%Language:Shell 0.6%Language:Python 0.2%