0xPass
Search
⌃K
⌛

Quickstart

0xPass's SDK is built on top of Alchemy's open source Account Abstraction SDK and leverages the Kernel smart contract wallet implementation.
The SDK can be used -
  • With 0xPass's wallet adapter and authentication system in just one line of code
  • With any other authentication or wallet connection tool

Install Accounts SDK

npm
yarn
npm i @0xpass/accounts
yarn add @0xpass/accounts
​

Use with 0xPass's SDK

//step 1
import {smartWallet} from "@0xpass/accounts";
​
// .... your existing code
const connectors = connectorsForWallets([
{
groupName: "EOA",
wallets: [
//step 2
smartWallet(metaMaskWallet({projectId, chains})),
ledgerWallet({projectId, chains})
],
}
])
​
// ..... rest of your code
Make sure your enabledpolygonMumbaichain.

​