Thirdweb Smart Account
To implement Thirdweb Smart Account, you can use the toThirdwebSmartAccount
module from permissionless.js
Install
pnpm
pnpm add permissionless
Usage
example.ts
import { toThirdwebSmartAccount } from 'permissionless/accounts'
import { client } from './client.js'
import { owner } from './owner.js'
const account = await toThirdwebSmartAccount({
client,
owner,
})
Returns
SmartAccount<ThirdwebSmartAccountImplementation>