Skip to main content

Crate signer_svm

Crate signer_svm 

Source
Expand description

Solana transaction signer built on [ed25519-dalek].

Signer wraps an ed25519_dalek::SigningKey, adding Base58 address support, keypair import/export, and convenient constructors.

Zero hand-rolled cryptography.

§Signing

Signer implements Deref<Target = SigningKey>, so all ed25519_dalek::Signer methods are available directly (e.g. signer.sign(msg)).

MethodDescription
sign (via Deref)Ed25519 signature on arbitrary bytes
Signer::verifyVerify an Ed25519 signature
Signer::sign_transaction_messageSign serialized Solana tx message bytes

Re-exports§

pub use ed25519_dalek;

Structs§

Signature
Ed25519 signature.
Signer
Solana transaction signer.
VerifyingKey
An ed25519 public key.

Enums§

Error
Errors that can occur during Solana signing operations.