chain/signer/signer library

Classes

BaseED25519Signer<VK extends IVerifiyingKey<IVerifiyingParams>, SK extends ISigningKey<ISignature, ISigningParams, IVerifiyingKey<IVerifiyingParams>>>
Shared Ed25519 signing logic: one sign producing a plain ED25519Signature SignedContent.
BaseETHSigner<VK extends IVerifiyingKey<IVerifiyingParams>, SK extends ISigningKey<ISignature, ISigningParams, IVerifiyingKey<IVerifiyingParams>>>
Shared Ethereum signing logic (keccak digest, EIP-191 personal messages, ethereumLegacy encoding).
BaseSecp256k1Signer<VK extends IVerifiyingKey<IVerifiyingParams>, SK extends ISigningKey<ISignature, ISigningParams, IVerifiyingKey<IVerifiyingParams>>>
Shared secp256k1 signing logic (SHA-256 digest, raw ECDSA encoding).
BaseSecp256r1Signer<VK extends IVerifiyingKey<IVerifiyingParams>, SK extends ISigningKey<ISignature, ISigningParams, IVerifiyingKey<IVerifiyingParams>>>
Shared secp256r1 signing logic (SHA-256 digest, raw ECDSA encoding).
BitcoinKeySigner
Bitcoin signer: ECDSA (DER), BIP-340 Schnorr, and legacy Schnorr signing, plus Bitcoin's message-signing format.
BitcoinSignatureVerifier
Verifies Bitcoin ECDSA/Schnorr signatures and recovers public keys from them.
BitcoinSignerUtils
Shared Bitcoin signing helpers: curve parameters and message hashing.
CryptoSignatureUtils
Signature-format validation helpers.
CryptoSignerConst
Shared constants used across the signer implementations.
Dkls23ETHSigner
Ethereum signer backed by a DKLs23(secp256k1) quorum: same digest / personal-message / encoding flow as ETHSigner, threshold signing underneath (subset defaults to the first t held shares, sid / seeds to fresh randomness — pass them explicitly for deterministic tests or partial quorums).
Dkls23Secp256k1Signer
Signer backed by a DKLs23(secp256k1) quorum: same digest / encoding flow as Secp256k1Signer (subset defaults to the first t held shares, sid / seeds to fresh randomness — pass them explicitly for deterministic tests or partial quorums).
Dkls23Secp256r1Signer
Signer backed by a DKLs23(secp256r1) quorum: same digest / encoding flow as Secp256r1Signer (subset defaults to the first t held shares, sid / seeds to fresh randomness — pass them explicitly for deterministic tests or partial quorums).
ED25519Signer
Signs digests with an Ed25519 private key.
ED25519Verifier
Verifies signatures made with an Ed25519 public key.
ETHSigner
Ethereum signer: signs raw digests and EIP-191 personal messages.
ETHVerifier
Verifies Ethereum ECDSA signatures, including EIP-191 personal messages.
FrostEd25519Signer
Signer backed by a FROST(Ed25519) quorum: same plain-Ed25519 output as ED25519Signer (subset defaults to the first t held shares, randomness to fresh backend randomness — pass them explicitly for deterministic tests or partial quorums).
Secp256k1Signer
Signs messages with a secp256k1 private key.
Secp256k1Verifier
Verifies signatures made with a secp256k1 public key.
Secp256r1Signer
Signs messages with a secp256r1 private key.
Secp256r1Verifier
Verifies signatures made with a secp256r1 public key.
SignedContent<SIGNATURE extends ISignature>
A signature paired with the content that was signed and its encoded bytes.
SubstrateEcdsaSigner
Signs Substrate transactions with a secp256k1 (ECDSA) key.
SubstrateEcdsaVerifier
Verifies Substrate signatures made with a secp256k1 (ECDSA) key.
SubstrateED25519Signer
Signs Substrate transactions with an Ed25519 key.
SubstrateED25519Verifier
Verifies Substrate signatures made with an Ed25519 key.
SubstrateSigner
Substrate signer: dispatches to the ED25519/ECDSA/SR25519 signer for the key's algorithm.
SubstrateSr25519Signer
Signs Substrate transactions with an SR25519 key.
SubstrateSr25519Verifier
Verifies Substrate signatures made with an SR25519 key.
SubstrateVerifier
Substrate signature verifier: dispatches to the ED25519/ECDSA/SR25519 verifier for the key's algorithm.
TronSigner
Tron signer: signs raw digests and Tron/Ethereum-prefixed personal messages.
TronVerifier
Verifies Tron ECDSA signatures, including personal messages.
XrpSigner
XRP Ledger signer: supports both Ed25519 and secp256k1 keys.
XrpVerifier
XRP Ledger signature verifier: supports both Ed25519 and secp256k1 keys.