The best way to connect a wallet π
RainbowKit is a React library that makes it easy to add wallet connection to your dapp.
You can scaffold a new RainbowKit + wagmi + Next.js app with one of the following commands, using your package manager of choice:
npm init @rainbow-me/rainbowkit@latest
# or
pnpm create @rainbow-me/rainbowkit@latest
# or
yarn create @rainbow-me/rainbowkitFor full documentation, visit rainbowkit.com.
You can use the CodeSandbox links below to try out RainbowKit:
- with Create React App
- with Next.js
- with Next.js App Router
- with Remix
- with Vite
- with React Router
The following examples are provided in the examples folder of this repo.
with-create-react-appwith-nextwith-next-appwith-next-custom-buttonwith-next-mint-nftwith-next-siwe-next-authwith-next-siwe-iron-sessionwith-remixwith-vitewith-react-router
To run an example locally, install dependencies.
pnpm installThen go into an example directory, eg: with-next.
cd examples/with-nextThen run the dev script.
pnpm run devPlease follow our contributing guidelines.
Licensed under the MIT License, Copyright Β© 2022-present Rainbow.
See LICENSE for more information.