Wallet setup
MetaMask — manual add
MetaMask — programmatic (add & switch)
// chainIdHex must be '0x' + chainId in hex (use ethers.utils.hexValue)
await window.ethereum.request({
method: 'wallet_addEthereumChain',
params: [{
chainId: '0x<MAINNET_CHAIN_ID_HEX>',
chainName: 'Buburuza Mainnet',
nativeCurrency: { name: 'Buburuza', symbol: 'BUBU', decimals: 18 },
rpcUrls: ['https://rpc.buburuza.com'],
blockExplorerUrls: ['https://explorer.buburuza.com']
}]
});WalletConnect (Web / Mobile)
Hardware wallets (Ledger / Trezor)
Last updated
