Expand description
Concrete implementation of a Solana 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 Solana account.
- Signature
- Signature
Error - Signature errors.
Constants§
Traits§
- Encodable
Key - The
EncodableKeytrait defines the interface by which cryptographic keys/keypairs are read, written, and derived from sources. - Encodable
Keypair - The
EncodableKeypairtrait extendsEncodableKeyfor asymmetric keypairs, i.e. have associated public keys. - Signer
- The
Signertrait declares operations that all digital signature providers must support. It is the primary interface by which signers are specified inTransactionsigning interfaces
Functions§
- keypair_
from_ seed - Constructs a
Keypairfrom caller-provided seed entropy - keypair_
from_ seed_ phrase_ and_ passphrase - read_
keypair - Reads a JSON-encoded
Keypairfrom aReaderimplementor - read_
keypair_ file - Reads a
Keypairfrom a file - write_
keypair - Writes a
Keypairto aWriteimplementor with JSON-encoding - write_
keypair_ file - Writes a
Keypairto a file with JSON-encoding