A favicon of SimpleKit

SimpleKit

SimpleKit offers a responsive connect wallet and account component for React applications, leveraging Wagmi and shadcn/ui for streamlined integration.

A screenshot of SimpleKitVisit

SimpleKit: Streamlined Web3 Wallet Integration for React

SimpleKit offers a responsive and developer-friendly component set for integrating Ethereum wallet connections and account management into React.js applications. Built upon the robust foundations of Wagmi and the sleek UI primitives of shadcn/ui, SimpleKit aims to drastically reduce the complexity and boilerplate typically associated with Web3 wallet interactions. It empowers developers to quickly implement a polished connect wallet experience, allowing focus on core application features rather than intricate setup details.

Features:

  • Responsive Modal Design: Adapts wallet connection UI for desktop (dialog) and mobile (drawer) using shadcn/ui components, as detailed in simplekit-modal.tsx.
  • Wagmi Core Integration: Leverages Wagmi hooks for all Ethereum blockchain interactions and state management, forming the backbone of wallet operations.
  • shadcn/ui Component Utilization: Employs customizable dialog, drawer, scroll-area, and button components from shadcn/ui for its interface.
  • WalletConnect Support: Integrates the WalletConnect SDK, enabling connections with a wide array of compatible wallets.
  • Pre-built ConnectWalletButton: Provides an out-of-the-box button component to initiate the wallet connection modal.
  • useSimpleKit Hook: Offers a custom React hook for programmatic control over the modal's visibility and access to the current connection status.
  • Account Information Display: Clearly presents the connected wallet's address, ENS name, ENS avatar, and ETH balance within the account view.
  • Wallet Disconnection Functionality: Includes a straightforward mechanism for users to disconnect their currently connected wallet.
  • Multiple Connector Options: Supports connections via various wallet connectors including MetaMask, Coinbase Wallet, and others through WalletConnect.
  • Connection State Management: Handles different UI states for pending connections and displays relevant error messages to the user.
  • Copy Wallet Address Feature: Incorporates a utility for users to easily copy their connected wallet address to the clipboard.
  • Next.js SSR Compatibility: Provides detailed configuration and guidance for implementing server-side rendering with the Next.js app router.
  • Customizable Connector Icons: Offers developers the option to use self-hosted icons for different wallet connectors for brand consistency.
  • Themable Drawer Interface: Includes instructions for integrating Vaul's background scaling feature for enhanced visual theming of the drawer component.

Summary:

SimpleKit is a React library meticulously designed to streamline the integration of Web3 wallet connectivity into modern applications. By combining Wagmi for robust blockchain logic and shadcn/ui for a polished, responsive interface, it furnishes essential components such as a connection modal, account display, and ENS support. This toolkit significantly accelerates development for decentralized applications or any project requiring Ethereum wallet interaction, offering a simple yet powerful solution for managing user wallets.

Distribution:
opensource
GitHub:
58 Stars
4 Forks
Share:

 

  
 

Similar to SimpleKit: