Expand description
FFI-compatible types for the ExternalSigner trait
These types are designed to be simpler and FFI-safe, using basic types like
Vec
Structs§
- Ecdsa
Signature Bytes - FFI-safe representation of an ECDSA signature (64 bytes)
- External
Aggregate Frost Request - FFI-safe representation of
spark_wallet::AggregateFrostRequest - External
Encrypted Private Key - FFI-safe representation of
spark_wallet::EncryptedPrivateKey - External
Frost Commitments - FFI-safe representation of
spark_wallet::FrostSigningCommitmentsWithNonces - External
Frost Signature - FFI-safe representation of
frost_secp256k1_tr::Signature - External
Frost Signature Share - FFI-safe representation of
frost_secp256k1_tr::round2::SignatureShare - External
Identifier - FFI-safe representation of
frost_secp256k1_tr::Identifier - External
Scalar - FFI-safe representation of
k256::Scalar(32 bytes) - External
Secret Share - FFI-safe representation of
spark_wallet::SecretShare - External
Sign Frost Request - FFI-safe representation of
spark_wallet::SignFrostRequest - External
Signing Commitments - FFI-safe representation of
frost_secp256k1_tr::round1::SigningCommitments - External
Tree Node Id - FFI-safe representation of
spark_wallet::TreeNodeId - External
Verifiable Secret Share - FFI-safe representation of
spark_wallet::VerifiableSecretShare - Identifier
Commitment Pair - FFI-safe wrapper for (Identifier,
SigningCommitments) pair - Identifier
Public KeyPair - FFI-safe wrapper for (Identifier,
PublicKey) pair - Identifier
Signature Pair - FFI-safe wrapper for (Identifier,
SignatureShare) pair - Private
KeyBytes - FFI-safe representation of a private key (32 bytes)
- Public
KeyBytes - FFI-safe representation of a secp256k1 public key (33 bytes compressed)
- Recoverable
Ecdsa Signature Bytes - FFI-safe representation of a recoverable ECDSA signature (65 bytes: 1 recovery byte + 64 signature bytes)
- Schnorr
Signature Bytes - FFI-safe representation of a Schnorr signature (64 bytes)
Enums§
- External
Private KeySource - FFI-safe representation of
spark_wallet::PrivateKeySource - External
Secret ToSplit - FFI-safe representation of
spark_wallet::SecretToSplit
Functions§
- derivation_
path_ to_ string - Helper functions for
DerivationPathstring conversion - string_
to_ derivation_ path