Module signer

Source
Expand description

Signer service module for handling cryptographic operations across different blockchain networks.

This module provides:

  • Common signer traits for different blockchain networks
  • Network-specific signer implementations (EVM, Solana, Stellar)
  • Factory methods for creating signers
  • Error handling for signing operations

§Architecture

Signer Trait (Common Interface)
  ├── EvmSigner
  │   |── LocalSigner
  |   |── TurnkeySigner
  |   └── AwsKmsSigner
  ├── SolanaSigner
  │   |── LocalSigner
  |   |── GoogleCloudKmsSigner
  │   └── VaultTransitSigner
  └── StellarSigner

Structs§

EvmSignerFactory
SignerFactory
SolanaSignerFactory
StellarSignerFactory
XdrSigningResponse
Response from signing an XDR transaction

Enums§

EvmSigner
NetworkSigner
SolanaSigner
StellarSigner

Traits§

DataSignerTrait
Signer
SolanaSignTrait
Trait defining Solana-specific signing operations
StellarSignTrait
Trait defining Stellar-specific signing operations

Functions§

construct_eip712_message_hash
Constructs an EIP-712 message hash from domain separator and struct hash
sign_sdk_transaction
Signs a raw Solana SDK transaction by finding the signer’s position and adding the signature