#[derive(Debug, Clone, Copy)]
pub enum Chain {
Near,
Ethereum,
Solana,
Bitcoin,
Hydration,
}
impl Chain {
pub fn caip2_chain_id(&self) -> &str {
match self {
Chain::Near => "near:mainnet",
Chain::Ethereum => "eip155:1",
Chain::Solana => "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
Chain::Bitcoin => "bip122:000000000019d6689c085ae165831e93",
Chain::Hydration => "polkadot:2034",
}
}
}