TP-Lab / connectkit

Connecting a wallet, made simple.

Home Page:https://docs.family.co/connectkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

connectkit

ConnectKit

ConnectKit is a powerful React component library for connecting a wallet to your dApp. It supports the most popular connectors and chains out of the box and provides a beautiful, seamless experience.

Features

  • πŸ’‘ TypeScript Ready β€” Get types straight out of the box.
  • 🌱 Ecosystem Standards β€” Uses top libraries such as wagmi.
  • πŸ–₯️ Simple UX β€” Give users a simple, attractive experience.
  • 🎨 Beautiful Themes β€” Predesigned themes or full customization.

and much more...

Quick Start

Get started with a ConnectKit + wagmi + viem project by running one of the following in your terminal:

npm

npx create-react-app my-app --template cra-template-connectkit

yarn

yarn create react-app my-app --template cra-template-connectkit

pnpm

pnpm dlx create-react-app ./my-app --template cra-template-connectkit

Documentation

You can find the full ConnectKit documentation in the Family docs here.

API Reference

You can find the full API Reference in the Family docs here.

Examples

There are various runnable examples included in this repository in the examples folder:

Try in CodeSandbox

You can try out some ConnectKit examples directly in your browser through CodeSandbox:

Running Examples Locally

Clone the ConnectKit project and install the necessary dependencies:

$ git clone git@github.com:family/connectkit.git
$ cd connectkit
$ yarn install

and start the code bundler:

$ yarn dev:connectkit
$ yarn dev:connectkit-next-siwe

and then simply select the example you'd like to run:

$ yarn dev:vite # Vite
$ yarn dev:nextjs # Next.js
$ yarn dev:nextjs-siwe # Next.js with SIWE
$ yarn dev:cra # Create React App

Contribute

Before starting on anything, please have a read through our Contribution Guidelines.

Twitter

Follow @family on Twitter for the latest updates on ConnectKit.

License

See LICENSE for more information.

About

Connecting a wallet, made simple.

https://docs.family.co/connectkit

License:BSD 2-Clause "Simplified" License


Languages

Language:TypeScript 99.4%Language:JavaScript 0.4%Language:HTML 0.3%