Skip to content

Deploy Wallet

If you generate a smart wallet, it will be deployed automatically upon first use. However, in some cases, you might want to deploy it explicitly.

import { ChainId, KriptonioSdk } from '@kriptonio/sdk';
 
const sdk = new KriptonioSdk({
  accessToken: 'your-access-token',
});
 
const wallet = await sdk.wallet.generate({
  chainId: ChainId.BaseSepolia,
  type: 'kernel',
});
 

const transactionHash = await wallet.deploy();