::::warning Note: This implementation is maintained & distributed by MetaMask Delegation Toolkit. :::: MetaMask Smart Account has two types of implementations, each offering unique features and use cases. See Hybrid Smart Account and Multisig Smart Account to learn more about the implementations. To implement MetaMask Smart Account, you can use the toMetaMaskSmartAccount function from delegation toolkit.

Install

::::code-group
[pnpm]
[npm]
[yarn]
[bun]
::::

Usage

::::code-group
[example.ts]
[client.ts]
[owner.ts (Private Key)]
::::

Returns

SmartAccount<MetaMaskSmartAccountImplementation<TImplementation>>

Parameters

See Parameters