UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
Loading...
Searching...
No Matches
wallet.hpp File Reference
#include <array>
#include <cstdint>
#include <cstddef>
#include <string>
#include "secp256k1/scalar.hpp"
#include "secp256k1/point.hpp"
#include "secp256k1/ecdsa.hpp"
#include "secp256k1/recovery.hpp"
#include "secp256k1/coins/coin_params.hpp"

Go to the source code of this file.

Classes

struct  secp256k1::coins::wallet::WalletKey
 
struct  secp256k1::coins::wallet::MessageSignature
 

Namespaces

namespace  secp256k1
 
namespace  secp256k1::coins
 
namespace  secp256k1::coins::wallet
 

Functions

std::pair< WalletKey, bool > secp256k1::coins::wallet::from_private_key (const std::uint8_t *priv32)
 
std::string secp256k1::coins::wallet::get_address (const CoinParams &coin, const WalletKey &key, bool testnet=false)
 
std::string secp256k1::coins::wallet::get_address_p2pkh (const CoinParams &coin, const WalletKey &key, bool testnet=false)
 
std::string secp256k1::coins::wallet::get_address_p2wpkh (const CoinParams &coin, const WalletKey &key, bool testnet=false)
 
std::string secp256k1::coins::wallet::get_address_p2sh_p2wpkh (const CoinParams &coin, const WalletKey &key, bool testnet=false)
 
std::string secp256k1::coins::wallet::get_address_p2tr (const CoinParams &coin, const WalletKey &key, bool testnet=false)
 
std::string secp256k1::coins::wallet::get_address_cashaddr (const CoinParams &coin, const WalletKey &key, bool testnet=false)
 
std::string secp256k1::coins::wallet::export_private_key (const CoinParams &coin, const WalletKey &key, bool testnet=false)
 
std::string secp256k1::coins::wallet::export_public_key_hex (const CoinParams &coin, const WalletKey &key)
 
MessageSignature secp256k1::coins::wallet::sign_message (const CoinParams &coin, const WalletKey &key, const std::uint8_t *msg, std::size_t msg_len)
 
MessageSignature secp256k1::coins::wallet::sign_hash (const CoinParams &coin, const WalletKey &key, const std::uint8_t *hash32)
 
bool secp256k1::coins::wallet::verify_message (const CoinParams &coin, const fast::Point &pubkey, const std::uint8_t *msg, std::size_t msg_len, const MessageSignature &sig)
 
std::pair< fast::Point, bool > secp256k1::coins::wallet::recover_signer (const CoinParams &coin, const std::uint8_t *msg, std::size_t msg_len, const MessageSignature &sig)
 
std::pair< std::string, bool > secp256k1::coins::wallet::recover_address (const CoinParams &coin, const std::uint8_t *msg, std::size_t msg_len, const MessageSignature &sig)