Skip to content

Commit cb1c9cd

Browse files
Merge pull request 0xPolygon#319 from usewalletkit/main
Add WalletKit to wallets section and eip-4337 page
2 parents eed6e38 + b61956b commit cb1c9cd

File tree

5 files changed

+47
-0
lines changed

5 files changed

+47
-0
lines changed
693 KB
Loading

docs/pos/concepts/transactions/eip-4337.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ interface IAccount {
4040
- [ERC-4337 proposal](https://eips.ethereum.org/EIPS/eip-4337) is the link to the official proposal and technical specification.
4141
- [@account-abstraction SDK](https://www.npmjs.com/package/@account-abstraction/sdk) is an npm package for using ERC-4337 developed by the authors of the proposal.
4242
- [Stackup](https://docs.stackup.sh/) provides node services with ERC-4337 bundlers and other ERC-4337 infrastructure.
43+
- [WalletKit](https://walletkit.com) is an all-in-one platform for adding smart, gasless wallets to your app. It has integrated support for ERC-4337 and comes with a paymaster and bundler included, requiring no extra setup.

docs/tools/wallets/getting-started.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ The following wallets are solutions that Polygon Technology has partnered with:
8383
| [Trust Wallet](https://trustwallet.com/) | non-custodial | EOA | no | support | yes | | yes | mobile |
8484
| [Unstoppable](https://unstoppable.money/) | non-custodial | EOA | no | yes | yes | | no | mobile, api/sdk |
8585
| [Venly](https://www.venly.io/) | hybrid | smart contract | no | interface | no | | | browser, api/sdk |
86+
| [WalletKit](https://walletkit.com) | non-custodial | EOA, smart contract | no | yes | yes | yes | no | browser, mobile, api/sdk |
8687
| [Wirex](https://wirexapp.com/en/wirex-wallet)* | non-custodial | EOA | yes | no | no | | | mobile |
8788
| [XDeFi](https://www.xdefi.io/) | non-custodial | EOA | no | interface | no | no | no | browser |
8889
| [Zerion](https://zerion.io/) | non-custodial | EOA | no | yes | yes | yes | | mobile, browser |

docs/tools/wallets/walletkit.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
!!! caution "Content disclaimer"
2+
Please view the third-party content disclaimer [here](https://github.com/0xPolygon/polygon-docs/blob/main/CONTENT_DISCLAIMER.md).
3+
4+
![WalletKit](/img/tools/wallet/walletkit/walletkit-overview.png)
5+
6+
[WalletKit](https://walletkit.com) 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.
7+
8+
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.
9+
10+
You can check out the [WalletKit documentation here](https://docs.walletkit.com). Start building for free on the Polygon testnet today.
11+
12+
## Integration
13+
14+
### Install the SDK
15+
16+
```bash
17+
npm i @walletkit/react-link walletkit-js
18+
```
19+
or
20+
```bash
21+
yarn add @walletkit/react-link walletkit-js
22+
```
23+
24+
### Setup WalletKit
25+
26+
Initialize `WalletKitLink` with your Project ID and wrap your app with `WalletKitProvider`, adding it as close to the
27+
root as possible.
28+
29+
You can get your Project ID from the API Keys page in the [WalletKit dashboard](https://app.walletkit.com).
30+
31+
```ts
32+
import { WalletKitLink, WalletKitLinkProvider } from "@walletkit/react-link";
33+
34+
const wkLink = new WalletKitLink({
35+
projectId: "<WalletKit-Project-ID>",
36+
});
37+
38+
export function App() {
39+
return <WalletKitLinkProvider link={wkLink}>...</WalletKitLinkProvider>;
40+
}
41+
```
42+
43+
> ☝️ If you'd like to integrate WalletKit with wagmi, check out
44+
the [installation docs here](https://docs.walletkit.com/link/installation).

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ nav:
493493
- Portis: tools/wallets/portis.md
494494
- SlashAuth: tools/wallets/slashauth.md
495495
- Torus: tools/wallets/torus.md
496+
- WalletKit: tools/wallets/walletkit.md
496497
- Wallet link: tools/wallets/wallet-link.md
497498
- WalletConnect: tools/wallets/walletconnect.md
498499
- Web3Modal: tools/wallets/using-web3modal.md

0 commit comments

Comments
 (0)