Skip to content

glyphWalletRK Wallet Implementation

The glyphWalletRK is a RainbowKit wallet implementation that enables seamless integration of the Glyph wallet with RainbowKit's wallet connection UI. It provides a standardized way to connect to the Glyph wallet through RainbowKit's wallet selection interface.

Overview

The glyphWalletRK is built using Privy's toPrivyWallet utility and is designed to work with RainbowKit's wallet connection system. It provides a consistent user experience for connecting to the Glyph wallet alongside other supported wallets.

Usage

typescript
import { connectorsForWallets } from "@rainbow-me/rainbowkit";
import { glyphWalletRK } from "@use-glyph/sdk-react";

const connectors = connectorsForWallets([
	{
		groupName: "Glyph",
		wallets: [glyphWalletRK],
	},
]);

Configuration

The wallet is configured with the following properties from glyphConnectorDetails:

  • id: The Privy application ID for Glyph
  • name: The display name of the wallet
  • iconUrl: URL to the Glyph wallet icon

Example Implementation

See the example implementation in the RainbowKit Integration guide.