credentials library

Library to create and unlock Topl Wallets and operate with private keys.

Classes

AddressChain
Addresses
BIP-0044 Multi-Account Hierarchy for Deterministic Wallets is a Bitcoin standard defining a structure and algorithm to build a hierarchy tree of keys from a single root private key. Note that this is the derivation scheme used by Icarus / Yoroi.
AddressesImpl
AddressGenerator
Class that will be used by the Credential Manager to generate addresses
Bip32KeyPair
Credentials
Anything that can sign payloads with a private key.
CredentialsWithKnownAddress
Credentials where the address is known synchronously.
CustomTransactionSender
Interface for Credentials that don't sign transactions locally, for instance because the private key is not known to this library.
HdWallet
BIP-0044 Multi-Account Hierarchy for Deterministic Wallets is a Bitcoin standard defining a structure and algorithm to build a hierarchy tree of keys from a single root private key. Note that this is the derivation scheme used by Icarus / Yoroi which are Cardano wallets.
Seed
Seed used to generate the root private key of the HD.
ToplAddress
The abstract class of a Topl Address that contains all of the components to generate a Topl Address see
ToplAddressConverter
ToplAddressNullableConverter
ToplSigningKey
Credentials that can sign payloads with a Topl private key.

Enums

AddressType
Address format

Extensions

Uint8ListOps on Uint8List

Constants

checksumLength → const int
The implicit Address encoder dictates how addresses are cast to and from strings. Since this is the primary method by which users will interact with the protocol, the Address encoder adds a 4 byte checksum to the Address as a quick check that may be used with external systems.
extendedSecretKeySize → const int
xprvSize → const int
default purpose. Reference: CIP-1852 Extended Private key size in bytes

Functions

addressFromBytes({NetworkId networkPrefix = valhallaPrefix, required Uint8List bytes}) ToplAddress
addressTypeString(AddressType type) String
harden(int index) int
isHardened(int index) bool
networkIdString(NetworkId id) String

Typedefs

NetworkId = int