API
@joyid/rainbowkit
JoyIdWallet

JoyIdWallet

JoyIdWallet is a Custom Wallet ↗ (opens in a new tab) that can be used with RainbowKit (opens in a new tab).

Note that JoyIdWallet does not need to specify rpcURL or network in the EvmConig, it will automatically handled by RainbowKit according to the chains you specified.

Types

import { Chain } from 'wagmi'
import { Wallet } from '@rainbow-me/rainbowkit'
 
export interface JoyIdWalletOptions {
  // List of chains to support
  chains: Chain[]
  // JoyID EVM config
  options?: EvmConfig
}
 
function JoyIdWallet ({
  chains,
  options,
}: JoyIdWalletOptions): Wallet

Usage

Check out RainbowKit Guide.