Expand description
Concrete implementation of a Atlas Signer
from raw bytes
Modules§
- seed_
derivable seed-derivable
- Implementation of the SeedDerivable trait for Keypair
- signable
Structs§
- Keypair
- A vanilla Ed25519 key pair
- Pubkey
- The address of a Atlas account.
- Signature
- Signature
Error - Signature errors.
Constants§
Traits§
- Encodable
Key - The
EncodableKey
trait defines the interface by which cryptographic keys/keypairs are read, written, and derived from sources. - Encodable
Keypair - The
EncodableKeypair
trait extendsEncodableKey
for asymmetric keypairs, i.e. have associated public keys. - Signer
- The
Signer
trait declares operations that all digital signature providers must support. It is the primary interface by which signers are specified inTransaction
signing interfaces
Functions§
- keypair_
from_ seed - Constructs a
Keypair
from caller-provided seed entropy - keypair_
from_ seed_ phrase_ and_ passphrase - read_
keypair - Reads a JSON-encoded
Keypair
from aReader
implementor - read_
keypair_ file - Reads a
Keypair
from a file - write_
keypair - Writes a
Keypair
to aWrite
implementor with JSON-encoding - write_
keypair_ file - Writes a
Keypair
to a file with JSON-encoding