Flexible, framework-agnostic Solana transaction signing
solana-keychain provides a unified interface for signing Solana transactions with multiple backend implementations. Whether you need local keypairs for development, enterprise vault integration, or managed wallet services, this library offers a consistent API across all signing methods.
This repository contains four implementations:
Framework-agnostic Rust library with async support and multiple signing backends.
- Backends: Memory, Vault, Privy, Turnkey, AWS KMS, Fireblocks, GCP KMS, Dfns, Para, CDP, Crossmint, Openfort, Utila, Fordefi
- Features: Async/await, feature flags for zero-cost abstractions, SDK v2, v3 & v4 support
- View Rust Documentation →
Solana Kit compatible signer implementation for Node.js and browser environments.
- Backends: Memory, Vault, Privy, Turnkey, AWS KMS, Fireblocks, GCP KMS, Dfns, Para, CDP, Crossmint, Openfort, Utila, Fordefi
- Features: Solana Kit compatible, tree-shakeable modules, full type safety
- View TypeScript Documentation →
Async signer library built on solders for canonical transaction serialization.
- Backends: Memory, Vault, Privy, Turnkey, AWS KMS, Fireblocks, GCP KMS, Dfns, Para, CDP, Crossmint, Openfort, Utila, Fordefi
- Features: Async/await, optional extras so heavy provider SDKs stay out of the base install, strict typing
- View Python Documentation →
Async-free signer library built on solana-go, with one Go module per backend so your module graph contains only the backends you import.
- Backends: Memory, Vault, Privy, Turnkey, AWS KMS, Fireblocks, GCP KMS, Dfns, Para, CDP, Crossmint, Openfort, Utila, Fordefi
- Features: Per-backend modules, golden wire-format vectors, redacted errors matched by stable code
- View Go Documentation →
solana-keychain is a signing adapter: it validates the signing hop, not what your transaction does. Backends come in two shapes, and only one of them signs the bytes you built. docs/SECURITY_MODEL.md is the short version, worth reading before putting a signer on a path that moves value.
To report a vulnerability, follow SECURITY.md rather than opening an issue.
solana-keychain has been audited by Accretion. View the audit report.
Audit status, audited-through commit, and the current unaudited delta are tracked in audits/AUDIT_STATUS.md.
Contributions are welcome! Please open an issue or submit a pull request.