@web3-onboard/wagmi
Version:
Module to configure, connect and return web3-onboard wallets as wagmi wallets and wagmi-config to be used with wagmi-core methods
5 lines (4 loc) • 321 B
TypeScript
import { Chain } from '@web3-onboard/common';
import type { Chain as ViemChain, Transport } from 'viem';
export declare const createWalletId: (walletLabel: string) => string;
export declare function createWagmiChains(chains: Chain[], transports: Record<ViemChain['id'], Transport>): Promise<[ViemChain, ...ViemChain[]]>;