/// Returns the ascii prefix for CashAddr addresses
Returns the ascii prefix for CashAddr addresses
Returns the ascii prefix for CashAddr addresses
pub fn cashaddr_prefix(&self) -> String {
        match self {
            Network::Mainnet => "bitcoincash".to_string(),
            Network::Testnet => "bchtest".to_string(),
            Network::Regtest => "bchreg".to_string(),
            Network::Ethereum => "eth".to_string(),
            Network::BsvMainnet => "bsv".to_string(),
            Network::BsvRegtest => "bsvreg".to_string(),
        }
    }
pub fn cashaddr_prefix ( & self ) -> String { match self { Network :: Mainnet => " " . to_string ( ) , Network :: Testnet => " " . to_string ( ) , Network :: Regtest => " " . to_string ( ) , Network :: Ethereum => " " . to_string ( ) , Network :: BsvMainnet => " " . to_string ( ) , Network :: BsvRegtest => " " . to_string ( ) , } }
Returns the ascii prefix for CashAddr addresses
Returns the ascii prefix for CashAddr addresses
&self