Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jbx-protocol/juice-contracts-v1
👶 Juicebox core V1 contracts.
https://github.com/jbx-protocol/juice-contracts-v1
ethereum juicebox solidity
Last synced: 3 days ago
JSON representation
👶 Juicebox core V1 contracts.
- Host: GitHub
- URL: https://github.com/jbx-protocol/juice-contracts-v1
- Owner: jbx-protocol
- Created: 2021-11-21T21:49:29.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-12T13:26:40.000Z (almost 2 years ago)
- Last Synced: 2024-11-06T19:55:17.504Z (8 days ago)
- Topics: ethereum, juicebox, solidity
- Language: JavaScript
- Homepage:
- Size: 1.96 MB
- Stars: 22
- Watchers: 3
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# juice-contracts-v1
## Develop
To deploy the contracts to a local blockchain, run the following:
```bash
yarn chain --network hardhat
```To run tests (all, unit, integration):
```bash
yarn test
yarn test:unit
yarn test:integration
```You can also filter by version, test name, etc.:
```bash
yarn test:unit --grep "ProxyPaymentAddressManager"
```## Verification
To verify the contracts on [Etherscan](https://etherscan.io), make sure you have an `ETHERSCAN_API_KEY` set in your `./.env` file. Then run the following:
```bash
npx hardhat --network $network etherscan-verify
```This will verify all of the deployed contracts in `./deployments`.
If you encounter an error along the lines of the following, compile the problematic contract(s) in isolation first and verify one-by-one:
```
Error in plugin @nomiclabs/hardhat-etherscan: Source code exceeds max accepted (500k chars) length.
```To compile in isolation:
```
npx hardhat compile:one Tickets
```