Basic Setup
Creating a Multichain Nexus Account
toMultichainNexusAccount
method calculates addresses for the Nexus account on all specified chains.Parameter | Description | Required |
---|---|---|
chains | Array of chains your app will use | Yes |
transports | Viem-style transports (RPC URLs) in the same order as chains | Yes |
signer | The user wallet authorized to perform orchestration | Yes |
accountAddress | Override address for EIP-7702 orchestration (use EOA address) | No |
accountAddress: eoa.address
tells the function to use the EOA address directly instead of calculating smart account deployment addresses. The MEE Relayer will call the execute
function on the user’s EOA address, which requires the user to authorize the Nexus account via EIP-7702 delegation.
Parameter | Description | Required |
---|---|---|
account | The orchestrator account instance | Yes |
apiKey | API key for authentication (rate limiting applied without it) | No |
url | MEE Node URL (defaults to Biconomy Network if not specified) | No |