1#ifndef SECP256K1_COINS_COIN_ADDRESS_HPP
2#define SECP256K1_COINS_COIN_ADDRESS_HPP
42 bool testnet =
false);
49 bool testnet =
false);
55 bool testnet =
false);
61 bool testnet =
false);
67 bool testnet =
false);
72 bool testnet =
false);
78 bool testnet =
false);
85 bool compressed =
true,
86 bool testnet =
false);
102 bool testnet =
false,
std::string coin_wif_encode(const fast::Scalar &private_key, const CoinParams &coin, bool compressed=true, bool testnet=false)
std::string coin_address(const fast::Point &pubkey, const CoinParams &coin, bool testnet=false)
std::string coin_address_p2pkh(const fast::Point &pubkey, const CoinParams &coin, bool testnet=false)
std::string coin_address_p2sh_p2wpkh(const fast::Point &pubkey, const CoinParams &coin, bool testnet=false)
std::string coin_address_p2tr(const fast::Point &internal_key, const CoinParams &coin, bool testnet=false)
std::string coin_address_p2wpkh(const fast::Point &pubkey, const CoinParams &coin, bool testnet=false)
std::string coin_address_p2sh(const std::array< std::uint8_t, 20 > &script_hash, const CoinParams &coin, bool testnet=false)
std::string coin_address_cashaddr(const fast::Point &pubkey, const CoinParams &coin, bool testnet=false)
CoinKeyPair coin_derive(const fast::Scalar &private_key, const CoinParams &coin, bool testnet=false, const CurveContext *ctx=nullptr)