UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
Loading...
Searching...
No Matches
coin_hd.hpp File Reference
#include <string>
#include <cstdint>
#include <utility>
#include "secp256k1/bip32.hpp"
#include "secp256k1/coins/coin_params.hpp"

Go to the source code of this file.

Namespaces

namespace  secp256k1
 
namespace  secp256k1::coins
 

Enumerations

enum class  secp256k1::coins::DerivationPurpose : std::uint32_t { secp256k1::coins::BIP44 = 44 , secp256k1::coins::BIP49 = 49 , secp256k1::coins::BIP84 = 84 , secp256k1::coins::BIP86 = 86 }
 

Functions

std::string secp256k1::coins::coin_derive_path (const CoinParams &coin, std::uint32_t account=0, bool change=false, std::uint32_t address_index=0, DerivationPurpose purpose=DerivationPurpose::BIP44)
 
DerivationPurpose secp256k1::coins::best_purpose (const CoinParams &coin)
 
std::pair< ExtendedKey, bool > secp256k1::coins::coin_derive_key (const ExtendedKey &master, const CoinParams &coin, std::uint32_t account=0, bool change=false, std::uint32_t address_index=0)
 
std::pair< ExtendedKey, bool > secp256k1::coins::coin_derive_key_with_purpose (const ExtendedKey &master, const CoinParams &coin, DerivationPurpose purpose, std::uint32_t account=0, bool change=false, std::uint32_t address_index=0)
 
std::pair< std::string, bool > secp256k1::coins::coin_address_from_seed (const std::uint8_t *seed, std::size_t seed_len, const CoinParams &coin, std::uint32_t account=0, std::uint32_t address_index=0)