Simple Smart Account
To implement the Simple Smart Account, you can use the toSimpleSmartAccount
module from permissionless.js
Install
pnpm
pnpm add permissionless
Usage
example.ts
import { toSimpleSmartAccount } from 'permissionless/accounts'
import { client } from './client.js'
import { owner } from './owner.js'
const account = await toSimpleSmartAccount({
client,
owners: [owner],
})
Returns
SmartAccount<SimpleSmartAccountImplementation>