Success! View transaction
)}Unlocks cross-chain orchestration for Safe accounts
Built on Nexus 1.3.1 with extended composability features
Built on Nexus 1.2.0 with cutting-edge capabilities
ERC-7702 support with composability built-in
For chains limited to Paris upgrade opcodes
Legacy compatibility for older EVM environments
accountAddress for all SDK operations.
accountAddress is optional on your first upgrade.accountAddress to avoid errors or wrong account access.Connected: {address}
; } ``` ## Step 4: Create the Fusion Account For Fusion Mode, create a `toFusionAccount` instead of the standard Nexus account: ```tsx theme={null} import { mcUSDC, toFusionAccount, createMeeClient } from "@biconomy/abstractjs"; import { optimism, base } from "viem/chains"; import { http } from "viem"; async function setupFusion(walletClient) { // Create a Fusion account for the connected wallet const fusionAccount = await toFusionAccount({ // The user's EOA address from their external wallet address: walletClient.account.address, // The client for signing (from wagmi) client: walletClient, // Chains where Fusion will operate chains: [optimism, base], }); // Create the MEE client const meeClient = await createMeeClient({ account: fusionAccount, }); return { fusionAccount, meeClient }; } ``` ## Step 5: Build the Trigger The trigger defines which token the user will "spend" to initiate the orchestration: ```tsx theme={null} import { parseUnits } from "viem"; import { mcUSDC } from "@biconomy/abstractjs"; // Define the trigger: user will spend USDC on Optimism const trigger = { chainId: optimism.id, tokenAddress: mcUSDC.addressOn(optimism.id), amount: parseUnits("10", 6), // 10 USDC }; ```{status}
Gas will be paid from your USDC. If your token supports ERC-2612, this will be completely gasless.{status}