jb-terminal-selection
Dynamic terminal selection for Juicebox V5 payments. Use when: (1) building payment UIs that support\nmultiple tokens (ETH/USDC), (2) encountering JBMultiTerminal_TokenNotAccepted error, (3) paying a\nproject that uses ETH-only accounting with non-ETH tokens, (4) implementing
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Dynamic terminal selection for Juicebox V5 payments. Use when: (1) building payment UIs that support\nmultiple tokens (ETH/USDC), (2) encountering JBMultiTerminal_TokenNotAccepted error, (3) paying a\nproject that uses ETH-only accounting with non-ETH tokens, (4) implementing cross-token payments\nwhere the project may not directly accept the user's payment token. Covers JBDirectory.primaryTerminalOf()\nquerying, JBSwapTerminal fallback logic, and permit2 integration with correct terminal addresses.