import type { SolanaCaipChainId } from "./caip"; /** * Metadata for a Solana chain. RPC URL is intentionally not on the entry — * the caller passes one when constructing a wallet client. Custom chains * share this shape and merge with built-ins via `mergeChains`. * * Solana has no numeric chain id (the EIP-155 concept is EVM-specific); * CAIP-2 uses the 32-char base58 genesis-block reference instead. */ export type SolanaChainEntry = { /** Friendly slug for CLI flag input (e.g. `"mainnet-beta"`, `"devnet"`). */ key: string; /** Canonical CAIP-2 chain id (`solana:<32-char base58 ref>`). */ caip2: SolanaCaipChainId; name: string; nativeCurrency: { name: string; symbol: string; decimals: number; }; blockExplorer?: string; }; export type SolanaRpcConfig = SolanaChainEntry & { rpcTarget: string; };