2 releases

new 0.1.5 May 13, 2025
0.1.4 Apr 30, 2025

#455 in Magic Beans

Download history 125/week @ 2025-04-29 46/week @ 2025-05-06

171 downloads per month
Used in rust-eigenda-v2-client

MIT/Apache

40KB
839 lines

rust-eigenda-signers

Centralized signer implementations.

It defines the Sign trait which defines a generic interface focused solely on the signing act:

async fn sign_digest(&self, message: &Message) -> Result<RecoverableSignature, Self::Error>

Takes a pre-hashed Message (digest) prepared by the EigenDA client and returns a recoverable signature. The async nature supports external signers like KMS.

fn public_key(&self) -> PublicKey

Returns the associated public key.

This crate provides a struct Signer which implements the Sign trait. This struct works with local private keys.

Use

[dependencies]
rust-eigenda-v2-signers = "0.1.5"

Dependencies

~4–22MB
~322K SLoC