package
0.16.0
Repository: https://github.com/bitmark-inc/bitmarkd.git
Documentation: pkg.go.dev

# Functions

AccountFromBase58 - this converts a Base58 encoded string and returns an account one of the specific account types are returned using the base "AccountInterface" interface type to allow individual methods to be called.
AccountFromBytes - this converts a byte encoded buffer and returns an account one of the specific account types are returned using the base "AccountInterface" interface type to allow individual methods to be called.
Base58EncodedSeedToPhrase - convert base58 seed to recovery phrase.
NewBase58EncodedSeedV1 - generate base58 seed v1.
NewBase58EncodedSeedV2 - generate base58 seed v2.
PrivateKeyFromBase58 - this converts a Base58 encoded string and returns an private key one of the specific private key types are returned using the base "PrivateKeyInterface" interface type to allow individual methods to be called.
PrivateKeyFromBase58Seed - this converts a Base58 encoded seed string and returns a private key one of the specific private key types are returned using the base "PrivateKeyInterface" interface type to allow individual methods to be called.
PrivateKeyFromBytes - this converts a byte encoded buffer and returns an private key one of the specific private key types are returned using the base "PrivateKeyInterface" interface type to allow individual methods to be called.

# Constants

enumeration of supported key algorithms.
zero keytype **Just for Testing**.

# Structs

Account - base type for accounts.
ED25519Account - for ed25519 signatures.
ED25519PrivateKey - structure for ed25519 keys.
NothingAccount - just for debugging.
NothingPrivateKey - just for debugging.
PrivateKey - base type for PrivateKey.

# Interfaces

AccountInterface - interface type for account methods.
PrivateKeyInterface - interface type for private key methods.

# Type aliases

Signature - the type for a signature.