Skip to content

WalletKit

Content disclaimer

Please view the third-party content disclaimer here.

WalletKit

WalletKit is an all-in-one platform for adding smart, gasless wallets to your app. WalletKit offers pre-built components for onboarding users with email and social logins, which can be integrated in under 15 minutes using their React SDK or the wagmi connector. Alternatively, build completely bespoke experiences for your users using WalletKit’s Wallets API.

WalletKit is compatible with most EVM chains, including Polygon. It has integrated support for ERC-4337 and comes with a paymaster and bundler included, requiring no extra setup.

You can check out the WalletKit documentation here. Start building for free on the Polygon testnet today.

Integration

Install the SDK

npm i @walletkit/react-link walletkit-js
or
yarn add @walletkit/react-link walletkit-js

Setup WalletKit

Initialize WalletKitLink with your Project ID and wrap your app with WalletKitProvider, adding it as close to the root as possible.

You can get your Project ID from the API Keys page in the WalletKit dashboard.

import { WalletKitLink, WalletKitLinkProvider } from "@walletkit/react-link";

const wkLink = new WalletKitLink({
  projectId: "<WalletKit-Project-ID>",
});

export function App() {
  return <WalletKitLinkProvider link={wkLink}>...</WalletKitLinkProvider>;
}

☝️ If you’d like to integrate WalletKit with wagmi, check out the installation docs here.