ledger-core
|
Public Member Functions | |
TezosLikeExtendedPublicKey (const api::Currency ¶ms, const DeterministicPublicKey &key, api::TezosCurve curve, const DerivationPath &path=DerivationPath("m/")) | |
std::shared_ptr< api::TezosLikeAddress > | derive (const std::string &path) override |
std::shared_ptr< TezosLikeExtendedPublicKey > | derive (const DerivationPath &path) |
std::vector< uint8_t > | derivePublicKey (const std::string &path) override |
std::vector< uint8_t > | deriveHash160 (const std::string &path) override |
std::string | toBase58 () override |
std::string | getRootPath () override |
![]() | |
std::string | toBase58 () |
std::vector< uint8_t > | derivePublicKey (const std::string &path) |
std::vector< uint8_t > | deriveHash160 (const std::string &path) |
Static Public Member Functions | |
static std::shared_ptr< TezosLikeExtendedPublicKey > | fromRaw (const api::Currency ¶ms, const optional< std::vector< uint8_t >> &parentPublicKey, const std::vector< uint8_t > &publicKey, const std::vector< uint8_t > &chainCode, const std::string &path, api::TezosCurve curve) |
static std::shared_ptr< TezosLikeExtendedPublicKey > | fromBase58 (const api::Currency ¤cy, const std::string &xpubBase58, const Option< std::string > &path) |
![]() | |
static DeterministicPublicKey | _derive (int index, const std::vector< uint32_t > &childNums, const DeterministicPublicKey &key) |
static DeterministicPublicKey | fromRaw (const api::Currency ¤cy, const NetworkParameters ¶ms, const optional< std::vector< uint8_t >> &parentPublicKey, const std::vector< uint8_t > &publicKey, const std::vector< uint8_t > &chainCode, const std::string &path) |
static DeterministicPublicKey | fromBase58 (const api::Currency ¤cy, const NetworkParameters ¶ms, const std::string &xpubBase58, const Option< std::string > &path, const std::string &networkBase58Dictionary="") |
Protected Member Functions | |
const api::TezosLikeNetworkParameters & | params () const override |
const DeterministicPublicKey & | getKey () const override |
const DerivationPath & | getPath () const override |
const api::Currency & | getCurrency () const override |
|
overridevirtual |
Derive an address from an xPUB and a path.
Implements ledger::core::api::TezosLikeExtendedPublicKey.
|
overridevirtual |
Derive a shorten version of a public key (SHA256 + RIPEMD160) from an xPUB and a path.
Implements ledger::core::api::TezosLikeExtendedPublicKey.
|
overridevirtual |
Derive a public key from an xPUB and a path.
Implements ledger::core::api::TezosLikeExtendedPublicKey.
|
overridevirtual |
Get the root path of the xPUB.
Implements ledger::core::api::TezosLikeExtendedPublicKey.
|
overridevirtual |
Get the xPUB in base 58.
Implements ledger::core::api::TezosLikeExtendedPublicKey.