Quickstart

Add Network (MetaMask)

await window.ethereum.request({
  method: 'wallet_addEthereumChain',
  params: [{
    chainId: '0xf765',
    chainName: 'tiger-chain-testnet',
    nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
    rpcUrls: ['https://testnet-rpc.tigerchain.app'], 
    blockExplorerUrls: ['https://testnet-explorer.tigerchain.app']
  }]
})

viem

import { createPublicClient, http } from 'viem'
export const client = createPublicClient({
  transport: http('https://testnet-rpc.tigerchain.app'), 
})

ethers v6

wagmi (custom chain)

Last updated