Omnichain
What everyone needs to knowβ
- A sucker is the component projects use to connect multiple instances of Juiceboxes across chains.
- A sucker is kind of like a bridge, with some special properties that make omnichain Juiceboxes work well together.
See Omnichain for more.
What you'll want to know if you're buildingβ
- We call the component that bridges project tokens alongside their juicebox balance a Sucker.
- Each chain has a
JBSuckerRegistry
that stores info about how local projects are connected to projects on other chains, through calls likeJBSuckerRegistry.suckerPairsOf(...)
. This is also the contract where new suckers should be deployed from. - There currently are
IJBSucker
implementations for native bridges between Ethereum mainnet and Optimism, Arbitrum, and Base, as well as a CCIP version for bridging between the L2s and any number of other EVMs into the future.