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