This repository contains the Cometh Connect AA sdk built on top of ERC4337.
Try it directly here: demo.4337.develop.core.cometh.tech/.
Cometh Connect is an SDK that enables applications to provide their users a smart wallet controlled with biometrics.
Coupled with a web2 authentication system (or standalone to stay anonymous), users are onboarded with web2 convenience and web3 security: biometric signatures (passwordless, non custodial), gasless transactions, account recovery, etc.
- Instant wallet creation via account abstraction.
- Gas fees sponsoring via cometh paymaster.
- Session keys for a flawless UX.
- Recovery System for your users.
- Utilizes modern JavaScript and Web3 libraries for an enhanced development experience.
The project is built using a monorepo structure to further enhance modularity and scalability.
packages/
: Directory for all subdirectories of the core sdk.sdk/
: The core functionnalitities of the sdk.react/
: React providers and hooks to use connect.
examples/
: Directory for all demo examples of the sdk.demo/
: Basic demo using the core sdk.react-hooks-demo/
: Basic demo using the react sdk.wagmi-demo/
: Basic demo using the wagmi integration sdk.
- Clone the repository and navigate to the project directory.
- Run
bun install
to install dependencies.
- Execute
bun dev
to start the development server.
- Bun - The JS toolkit for maximum efficiency.
- NextJS - The React framework for server-side rendering.
- Biome - For ultra-fast linting/formatting.
- TanStack Query - For efficient data fetching and async state management.
- Wagmi 2.0 - For Ethereum hooks.
- Viem 2.0 - For blockchain communication.
- Safe: For smart account solutions.
We welcome contributions! Don't hesitate to submit PR :)
Released under the Apache License.