A shielded wallet needs to discover which transactions belong to it without turning every balance refresh into permission to spend. It also needs enough current chain state to construct a valid payment.
Rockpile’s native Zcash design separates these jobs. Scanning and viewing use the information needed to recognize wallet activity. Spending requires a specific proposal, fresh device presence, and native approval of the transaction’s terms.
Discover the wallet’s activity
Shielded transactions do not expose all wallet activity through an ordinary public address lookup. A wallet uses viewing material to identify and decrypt the information relevant to it while scanning chain data. The Zcash Foundation’s scanning explanation describes that distinction.
Viewing authority and spending authority have different consequences. Viewing material can reveal private financial information without granting permission to transfer funds. It therefore still belongs inside the wallet’s protected storage boundary.
In Rockpile, native scanning maintains wallet records needed for balances and subsequent spends. The interface receives balance and history summaries; the native worker retains the underlying wallet state and key material.
Store scanning state as financial data
A shielded wallet’s local state contains more than a displayed balance. It includes discovered notes—the records of shielded value the wallet can recognize—along with transaction history, memos, and information needed to construct proofs for spending.
Rockpile stores that state in encrypted SQLCipher databases managed by a native Zcash worker process controlled by the vault broker. The worker receives a purpose-specific key derived for its role. It does not receive the broader wallet-domain key used to wrap other wallet secrets.
That separation limits the key material entrusted to the worker. It also lets the Zcash SDK manage its own scanning and transaction state while the application maintains its existing native custody boundary.
Full account lock terminates the worker and removes its active key material. Scanning access is not a persistent spending unlock.
Treat freshness as more than a block height
A wallet can display a recent height while still having incomplete discovery work. A chain reorganization can also replace a block without increasing the height.
Rockpile checks block identity and does not mark synchronization fresh until it has completed the required account discovery and checked pending operations against the chain. Explicit rescans invalidate freshness before fetching new data. Transparent receiving and change addresses also need their own discovery work; a shielded scan alone does not establish all transparent receipts.
These checks matter when preparing a payment. An old balance is information about a previous view of the chain, not proof that the same inputs remain spendable now. Bounded scan steps and retained checkpoints let synchronization resume without treating an interrupted scan as completion.
Ordinary shielded payments and change use Ironwood. Legacy Sapling and Orchard balances remain separate from ordinary spendable funds; software vaults provide explicit consolidation or migration actions. In default shielded-only mode, transparent receiving, spending, and shielding are disabled until the user accepts Transparent compatibility and its additional query metadata disclosure. The pool and privacy guide explains those choices.
Approve the payment separately
A spend starts with a proposal tied to the selected account and network. Native review includes the recipient, amount, fee, memo, the kind of receiver being paid, and expiry.
A Unified Address can contain several receiver types, such as shielded and transparent destinations. For a supported shielded send, Rockpile preserves the address entered by the user and shows the selected shielded receiver in native review. It re-derives the paid destination from the retained terms before later stages, so recipient interpretation remains tied to the approval.
Scan and reconcile wallet state
↓
Prepare payment proposal
↓
Review terms in native prompt
↓
Authorize, prove, and sign
↓
Submit and reconcile the result
Proving establishes the protocol facts needed for the shielded transaction. Signing supplies the required spending authorization. Neither job can be replaced by a balance displayed in the interface.
Preserve the approved transaction through delivery
Before handing a signed transaction to delivery, the native path compares its complete authorization bytes with the transaction retained by the SDK. The supported Zcash transaction format can retain the same transaction identifier even when authorization data changes. Comparing identifiers alone would miss that substitution.
The delivered bytes must therefore match the approved and committed transaction, not merely carry a matching identifier. That check is especially important when work crosses process boundaries or travels through an offline forwarder.
The source includes tests for modified approval terms, changed authorization bytes, interrupted synchronization, wrong networks, and chain reorganizations. Local fixtures exercise those cases; live endpoint and signed-platform behavior require their own release evidence.
Recovery must preserve more than a balance
A complete Recovery Kit includes the encrypted native wallet databases; restoring it also requires the matching Rockpile Recovery Key. A displayed balance or public address cannot reconstruct that state. Restoring a seed may require chain discovery again, while restoring an older portfolio still requires reconciliation with current activity.
Use Zcash receiving guidance for the address choices in the app and backup verification for the recovery procedure. Shielded on-chain privacy and encrypted local recovery protect different parts of the same wallet.