import { ChainId } from '@dcl/schemas/dist/dapps/chain-id'; import { Network } from '@dcl/schemas/dist/dapps/network'; import { ProviderType } from '@dcl/schemas/dist/dapps/provider-type'; import { Provider } from 'decentraland-connect'; export { Provider, ProviderType }; export type NetworkData = { mana: number; chainId: ChainId; }; export type Networks = { [Network.ETHEREUM]: NetworkData; [Network.MATIC]: NetworkData; }; export interface Wallet { address: string; networks: Networks; network: Network; chainId: ChainId; providerType: ProviderType; } export interface CreateWalletOptions { MANA_ADDRESS?: string; CHAIN_ID: string | number; TRANSACTIONS_API_URL?: string; POLL_INTERVAL?: number; } export type AddEthereumChainParameters = { chainId: string; chainName: string; nativeCurrency: { name: string; symbol: string; decimals: 18; }; rpcUrls: string[]; blockExplorerUrls?: string[]; iconUrls?: string[]; };