Skip to content

Safe Smart Account

To implement Safe Smart Account, you can use the toSafeSmartAccount module from permissionless.js

Install

pnpm
pnpm add permissionless

Usage

example.ts
import { toSafeSmartAccount } from 'permissionless/accounts'
import { client } from './client.js'
import { owner } from './owner.js'
 
const account = await toSafeSmartAccount({ 
  client, 
  owners: [owner], 
  version: '1.4.1', 
}) 

Returns

SmartAccount<SafeSmartAccountImplementation>

Parameters

See Parameters