UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
Loading...
Searching...
No Matches
coin_address.hpp File Reference
#include <string>
#include <cstdint>
#include "secp256k1/coins/coin_params.hpp"
#include "secp256k1/point.hpp"
#include "secp256k1/scalar.hpp"
#include "secp256k1/address.hpp"
#include "secp256k1/context.hpp"

Go to the source code of this file.

Classes

struct  secp256k1::coins::CoinKeyPair
 

Namespaces

namespace  secp256k1
 
namespace  secp256k1::coins
 

Functions

std::string secp256k1::coins::coin_address (const fast::Point &pubkey, const CoinParams &coin, bool testnet=false)
 
std::string secp256k1::coins::coin_address_p2pkh (const fast::Point &pubkey, const CoinParams &coin, bool testnet=false)
 
std::string secp256k1::coins::coin_address_p2wpkh (const fast::Point &pubkey, const CoinParams &coin, bool testnet=false)
 
std::string secp256k1::coins::coin_address_p2tr (const fast::Point &internal_key, const CoinParams &coin, bool testnet=false)
 
std::string secp256k1::coins::coin_address_p2sh_p2wpkh (const fast::Point &pubkey, const CoinParams &coin, bool testnet=false)
 
std::string secp256k1::coins::coin_address_p2sh (const std::array< std::uint8_t, 20 > &script_hash, const CoinParams &coin, bool testnet=false)
 
std::string secp256k1::coins::coin_address_cashaddr (const fast::Point &pubkey, const CoinParams &coin, bool testnet=false)
 
std::string secp256k1::coins::coin_wif_encode (const fast::Scalar &private_key, const CoinParams &coin, bool compressed=true, bool testnet=false)
 
CoinKeyPair secp256k1::coins::coin_derive (const fast::Scalar &private_key, const CoinParams &coin, bool testnet=false, const CurveContext *ctx=nullptr)