@openfort/react
v1.0.1
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.
Quickstart
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 viemFeatures
- 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 and SVM Support - Chains like BSC, Arbitrum or Base are supported
- React Hooks - To interact directly with embedded wallet capabilities.
and much more...
Examples
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 installFirst, start the development server in one terminal:
pnpm devThen, in a separate terminal, run the example you'd like to try:
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.
