Solana

Overview

Zafeguard Solana components for the full transaction lifecycle — address derivation, SPL tokens, program instructions, signing, and broadcasting.

Overview

Zafeguard ships 12 Solana components covering the full lifecycle of Solana transactions: address derivation → transaction building → MPC signing → broadcasting. Includes helpers for SPL token transfers, program instruction construction, multi-party signing, and durable nonce accounts.

All network I/O (recent blockhash, balance checks, broadcast) goes through the JSON-RPC endpoint you configure on the component.


Categories

GroupComponentsPage
TransactionsBUILD, SIGN, BROADCAST, BUILD_TRANSFER_INSTRUCTION, BUILD_NONCE_ACCOUNT_INSTRUCTIONTransactions →
Instructions & SignaturesBUILD_INSTRUCTION, BUILD_ACCOUNT_META_ITEM, BUILD_SIGNATURE_PAIR_ITEMInstructions & Signatures →
Wallets & AddressesCOMPUTE_ADDRESS, CONVERT_PUBLIC_KEY, GET_BALANCE, GET_DERIVATION_PATHWallets & Addresses →

Typical Solana workflow

GET_SOLANA_DERIVATION_PATH


COMPUTE_PUBLIC_KEY  ──▶  COMPUTE_SOLANA_ADDRESS


GET_SOLANA_ACCOUNT_BALANCE (guard check)


BUILD_SOLANA_TRANSACTION
        │ serializedHash       │ unsignedTransaction
        ▼                      │
SIGN_WITH_KEY_SHARE            │
        │ signature            │
        ▼                      │
BUILD_SOLANA_SIGNATURE_PAIR_ITEM │
        │ item                 │
        └──────────┬───────────┘

        SIGN_SOLANA_TRANSACTION
                   │ signedTransaction

        BROADCAST_SOLANA_TRANSACTION
                   │ transactionSignature

              [Confirmed]

Connecting to Solana

All Solana components that interact with on-chain state accept a jsonRpcUrl. Pass any standard Solana JSON-RPC endpoint.

STRING_CONSTANT ("https://api.mainnet-beta.solana.com")

        ▼ jsonRpcUrl
BUILD_SOLANA_TRANSACTION

Public RPC endpoints enforce rate limits per IP address and can fail under concurrent load.

Always use a private RPC endpoint from a provider such as Helius or Alchemy, or point to a self-hosted node.

NetworkExample RPC
Mainnet Betahttps://api.mainnet-beta.solana.com
Devnethttps://api.devnet.solana.com
Testnethttps://api.testnet.solana.com
Alchemyhttps://solana-mainnet.g.alchemy.com/v2/KEY
Heliushttps://mainnet.helius-rpc.com/?api-key=KEY

On this page