Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

Fireblocks<>Solana Rust integration providing enterprise-grade security with developer-friendly tooling.

Features

  • Remote Signing: Use Fireblocks as a drop-in replacement for local Solana keypairs
  • Advanced Validation: Deep program inspection via co-signer callbacks with strongly-typed Rust decoders

Remote Signing

Warning

Standard Solana tooling stores private keys in cleartext on disk.

This integration replaces that with Fireblocks’ secure key management.

Here’s a transaction signed via Fireblocks sending SOL on devnet:

Configuration

Standard Solana config (~/.config/solana/cli/config.yml):

json_rpc_url: "https://api.devnet.solana.com"
keypair_path: "/home/user/.config/solana/id.json"  # Cleartext private key

With Fireblocks integration:

json_rpc_url: "https://api.devnet.solana.com"
keypair_path: "fireblocks://sandbox"  # Secure remote signing

This single line change enables:

  • Security: Keys never leave Fireblocks’ secure enclaves
  • Convenience: Approve via mobile app (biometrics + PIN) or auto-sign with co-signer
  • Compliance: Policy enforcement and comprehensive audit logs
  • Compatibility: Works with existing Solana CLI and SDK code

See Signer for implementation details.


Co-Signer Validation

Go beyond basic policy rules with deep transaction inspection. Use Carbon’s strongly-typed Rust decoders to understand exactly what a transaction does before signing.

Example: Automatically approve USDC transfers under $1,000 but require manual approval for larger amounts.

See detailed examples and implementation guide here.