@pushchain/ui-kit
Version:
Push Chain is a true universal L1 that is 100% EVM compatible. It allows developers to deploy once and make their apps instantly compatible with users from all other L1s (Ethereum, Solana, etc) with zero on-chain code change.
14 lines (13 loc) • 515 B
TypeScript
import { ChainType, IWalletProvider } from '../../types/wallet.types';
declare class WalletProviderRegistry {
private providers;
private chainProviders;
constructor();
registerProvider(provider: IWalletProvider): void;
getProvider(name: string): IWalletProvider | undefined;
getProvidersByChain(chain: ChainType): IWalletProvider[];
getAllProviders(): IWalletProvider[];
getAllSupportedChains(): ChainType[];
}
export declare const walletRegistry: WalletProviderRegistry;
export {};