What problem does it solve?
This Skill fixes cross-chain ERC20 token address mismatches when deploying Juicebox V5 omnichain projects. It enables per-chain terminal configurations and accurate per-chain token mappings to prevent deploying with a single address across chains or defaulting to NATIVE_TOKEN.
Core Features & Use Cases
- Per-chain terminal configuration overrides: specify different ERC20 addresses for each chain.
- ERC20 address extraction: derive per-chain token addresses from approved terminals and accounting contexts.
- Automated sucker configuration generation: produce correct cross-chain token mappings for each chain pair, ensuring deployments reflect per-chain tokens.
- Use Case: Deploy a Juicebox V5 project across Sepolia, OP Sepolia, Base Sepolia, and Arb Sepolia with distinct USDC addresses.
Quick Start
Provide a chainConfigs array with per-chain terminalConfigurations that include the correct ERC20 token addresses for each chain, then invoke the omnichain launch function (without passing a single shared suckerDeploymentConfiguration). The system will auto-generate per-chain configurations and verify per-chain token addresses during the launch.