feat: encrypted account send via ZK proofs#559
Open
n13 wants to merge 1 commit into
Open
Conversation
Make encrypted (wormhole) accounts spendable: one HD sequence of wormhole addresses acts as a single UTXO pool with coin selection, per-send fresh change addresses, rotating receive addresses and gap-limit recovery. Generalizes WormholeClaimService into WormholeSendService (claim stays as a wrapper) and packages the flow as an EncryptedSendStrategy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Makes encrypted (wormhole) accounts spendable. An encrypted account is one HD sequence of wormhole addresses (
m/44'/189189189'/0'/0'/n') treated as a single UTXO pool:EncryptedSendStrategyso the shared recipient/amount/review screens are untouched.WormholeClaimServiceis generalized intoWormholeSendService(per-leaf output assignments); mining-rewards claim becomes a wrapper over it, shared with the miner app. RustProofInputnow exposesexit_account_2/output_amount_2.Feature-flag gated by
enableEncryptedAccount.Test plan
quantus_sdkunit tests incl. new coin-selection suite (fee/quantization/batch-minimum/multi-batch cases)dart analyzeclean on quantus_sdk, mobile-app, miner-app