Supported Wallets
Currently Kriptonio SDK supports ZeroDev Kernel and Biconomy smart wallets. Apart from that, classic EOA wallets based on a private key are supported as well.
Create ZeroDev Kernel Wallet
import { KriptonioSdk, ChainId } from '@kriptonio/sdk';
const sdk = new KriptonioSdk({
accessToken: 'your-access-token',
});
const wallet = await sdk.wallet.generate({
chainId: ChainId.Polygon,
type: 'kernel',
});
Create Biconomy Wallet
import { KriptonioSdk, ChainId } from '@kriptonio/sdk';
const sdk = new KriptonioSdk({
accessToken: 'your-access-token',
});
const wallet = await sdk.wallet.generate({
chainId: ChainId.Polygon,
type: 'biconomy',
});
Create Classic EOA Wallet
import { KriptonioSdk, ChainId } from '@kriptonio/sdk';
const sdk = new KriptonioSdk({
accessToken: 'your-access-token',
});
const wallet = await sdk.wallet.generate({
chainId: ChainId.Polygon,
type: 'eoa',
});