Installation
Basic Setup
Lazy Deployment: Accounts aren’t deployed until the first transaction on each chain. Only addresses are calculated upfront.
Configuration Options
Account Parameters
| Parameter | Description | Required |
|---|---|---|
signer | User wallet (EOA) that owns the account | Yes |
chainConfigurations | Array of chain configs | Yes |
chainConfigurations[].chain | Viem chain object | Yes |
chainConfigurations[].transport | RPC transport | Yes |
chainConfigurations[].version | MEE version | Yes |
chainConfigurations[].accountAddress | Override for EIP-7702 | No |
MEE Client Parameters
| Parameter | Description | Required |
|---|---|---|
account | The multichain account | Yes |
apiKey | API key for sponsorship | No |
EIP-7702 Mode
For embedded wallets (Privy, Dynamic, Turnkey), use EIP-7702 by settingaccountAddress to the EOA:
Get Account Addresses
Both calls return the same address. The
true flag enables strict mode, which throws an error if the chain is not defined in your chainConfigurations. This helps catch configuration mistakes early.