Skip to content

Commit

Permalink
sui-crypto: introduce multisig verifier and aggregator (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill authored Oct 2, 2024
1 parent 73d2e96 commit 43b7930
Show file tree
Hide file tree
Showing 5 changed files with 523 additions and 7 deletions.
17 changes: 17 additions & 0 deletions crates/sui-crypto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,23 @@ pub mod zklogin;
)]
pub mod simple;

#[cfg(any(
feature = "ed25519",
feature = "secp256r1",
feature = "secp256k1",
feature = "zklogin"
))]
#[cfg_attr(
doc_cfg,
doc(cfg(any(
feature = "ed25519",
feature = "secp256r1",
feature = "secp256k1",
feature = "zklogin"
)))
)]
pub mod multisig;

pub trait SuiSigner {
fn sign_transaction(&self, transaction: &Transaction) -> Result<UserSignature, SignatureError>;
fn sign_personal_message(
Expand Down
Loading

0 comments on commit 43b7930

Please sign in to comment.