@openfort/react
v0.1.14
Published
The easiest way to integrate Openfort to your project.
Readme
Openfort React SDK
The easiest way to use embedded wallets, with built-in authentication and payments capabilities in React.
Features
- 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.
- EVM Support - Chains like BSC, Arbitrum or Base are supported
- React Hooks - To interact directly with embedded wallet capabilities.
and much more...
Quick Start
New app
Get started with create Openfort + wagmi + viem project by running one of the following in your terminal:
npm
npx create openfortpnpm
pnpm create openfortImport Openfort to your project
Add Openfort to your already existing project.
npm
npm install @openfort/react @tanstack/react-query wagmi viempnpm
pnpm add @openfort/react @tanstack/react-query wagmi viemExamples
There are various runnable examples included in this repository in the examples folder
Running Examples Locally
Clone the project and install the necessary dependencies:
git clone [email protected]:openfort-xyz/openfort-react.git
cd openfort
pnpm installand start the code bundler:
pnpm devand then simply select the example you'd like to run:
pnpm dev:playground # Playground
pnpm dev:headless # Headless
pnpm dev:openfort-ui # Openfort UILicense
See LICENSE for more information.
Credits
Openfort is a fork of Connectkit developed by Family. We're grateful to them for making Connectkit fast, beautiful and open-source.
