Expand description
Multi-chain transaction signer (umbrella).
§Layers
L0 signer-primitives curves + SignDigest / SignOutput
L1 signer-{chain} protocol preimage + wire (this crate re-exports)
L2 signer-cli ops UX
── kobe HD only — use feature `kobe` + FromDerivedSchemes: secp256k1 ECDSA, BIP-340 Schnorr, Ed25519. Framing (EIP-191, BIP-137, …) stays in chain crates — this is not a “hash-only” strip.
§Usage
use signer::{SignMessage, evm};
let s = evm::Signer::from_hex("0x...").unwrap();
let sig = s.sign_message(b"hello").unwrap();Re-exports§
pub use signer_aptos as aptos;pub use signer_arweave as arweave;pub use signer_btc as btc;pub use signer_casper as casper;pub use signer_cosmos as cosmos;pub use signer_evm as evm;pub use signer_fil as fil;pub use signer_nostr as nostr;pub use signer_primitives as primitives;pub use signer_spark as spark;pub use signer_sui as sui;pub use signer_svm as svm;pub use signer_ton as ton;pub use signer_tron as tron;pub use signer_xrpl as xrpl;
Modules§
- prelude
- Prelude that imports every capability trait plus
SignOutputandSignErrorin one glob. - v_
encoding - Canonical recovery-id / message-header offsets for secp256k1 ECDSA.
Structs§
- Digest32
- 32-byte digest, event id, or fixed-length message blob.
- Secret
Key32 - Owned 32-byte secret key material (zeroized on drop).
Enums§
- Sign
Error - Errors from signing operations.
- Sign
Output - Signature output across every scheme the workspace supports.
- Signature
Scheme - Wire-level signature scheme discriminant.
Traits§
- Encode
Signed Transaction - Optional: assemble signed wire bytes from
(unsigned_tx, SignOutput). - Extract
Signable Bytes - Optional: extract the signable portion from a fully serialized transaction.
- From
Derived - Construct a signer from a kobe-derived account.
- From
Secret Key - Construct a signer from raw secret-key material.
- Sign
Digest - Mandatory 32-byte signing surface for every chain
Signer. - Sign
Message - Opt-in capability: sign an off-chain message with the chain’s convention.