Crate near_seed_phrase

Crate near_seed_phrase 

Source

Macros§

derive_key
Derive NearSecretKey with given seed phrase, password and derivation path. Invalid seed phrase or derivation path will cause panic.

Structs§

NearDerivationPath
NEAR BIP32 derivation path.
NearPublicKey
NEAR ed25519 public key
NearSecretKey
NEAR ed25519 secret key
NearSeedPhrase
NEAR BIP39 seed phrase.
Signature
Ed25519 signature.

Enums§

Error

Traits§

FromEncodedKey
Signer
Sign the provided message bytestring using Self (e.g. a cryptographic key or connection to an HSM), returning a digital signature.
ToEncodedKey
Verifier
Verify the provided message bytestring using Self (e.g. a public key)

Functions§

derive_key
Derive NearSecretKey with given seed phrase, password and derivation path.

Type Aliases§

SignatureError
Errors which may occur while processing signatures and keypairs.