1.0.0 • Published 6 months ago

@swipelux/connect v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Connect

npm.io npm.io npm.io

The best way to connect a wallet

Connect is a fork of the RainbowKit project. Connect is a React library that makes it easy to add wallet connection to your dapp.

  • 🔥 Out-of-the-box wallet management
  • ✅ Easily customizable
  • 🦄 Built on top of wagmi and viem

Documentation

Connect is a fork of the RainbowKit project. For full documentation, visit rainbowkit.com.

You should use RainbowKitProvider as SwipeluxConnectProvider and RainbowKitAuthenticationProvider as SwipeluxConnectAuthenticationProvider.

Also you should pass swipelux widget settings into SwipeluxConnectProvider.

Examples

The following examples are provided in the examples folder of this repo.

  • with-create-react-app
  • with-next
  • with-next-app
  • with-next-custom-button
  • with-next-mint-nft
  • with-next-siwe-next-auth
  • with-next-siwe-iron-session
  • with-remix
  • with-vite

Running examples

To run an example locally, install dependencies.

pnpm install

Then go into an example directory, eg: with-next.

cd examples/with-next

Then run the dev script.

pnpm run dev

Contributing

Please follow our contributing guidelines.

License

Licensed under the MIT License, Copyright © 2022-present Rainbow.

See LICENSE for more information.