Website | Documentation | X | Demo
The easiest way to use embedded wallets, with built-in authentication and payments capabilities in React.
- 💡 TypeScript Ready — Get types straight out of the box.
- 🌱 Ecosystem Friendly — Uses top libraries such as wagmi for hooks.
- 🎨 Simple UI — Use prebuilt elements for authenticaiton and wallet connection.
- 🖥️ React Hooks - To interact directly with embedded wallet capabilities.
and much more...
Get started with create
Openfort + wagmi + viem project by running one of the following in your terminal:
npx create openfort
yarn create openfort
pnpm create openfort
Add Openfort to your already existing project.
npm install @openfort/react @tanstack/react-query wagmi viem
yarn add @openfort/react @tanstack/react-query wagmi viem
pnpm add @openfort/react @tanstack/react-query wagmi viem
There are various runnable examples included in this repository in the examples folder:
Clone the project and install the necessary dependencies:
$ git clone git@github.com:openfort-xyz/openfort-react.git
$ cd openfort
$ yarn install
and start the code bundler:
$ yarn dev:kit
and then simply select the example you'd like to run:
$ yarn dev:vite # Vite
$ yarn dev:nextjs # Next.js
$ yarn dev:cra # Create React App
See LICENSE for more information.
Openfort is a fork of Connectkit developed by Family. We're grateful to them for making Connectkit fast, beautiful and open-source.