Skip to content

Kernel (ZeroDev) Smart Account

To implement the Kernel (ZeroDev) Smart Account, you can use the toEcdsaKernelSmartAccount module from permissionless.js

Install

pnpm
pnpm add permissionless

Usage

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

Returns

SmartAccount<EcdsaKernelSmartAccountImplementation>

Parameters

See Parameters