Repository navigation
Conversation
Replace the local path override with a pinned git revision of the zcash_client_memory NU7 port, so the workspace builds from a clean clone. Repoint it at red-dev-inc/zcash_client_memory once that port merges.
…transfer_payments
This was referenced Oct 28, 2026
ETIM-PAUL
force-pushed
the
pr/payments-memo-api
branch
from
October 28, 2026 23:46
ce6a1c7 to
abcca19
Compare
This branch has not been deployed
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.
What
A multi-payment API with memos. All of it is additive, and existing
propose_transferbehaves the same.propose_payments(account, payments): several recipients in one transaction. Each payment has an amount and an optional memo, either text or raw bytes (up to 512 bytes, per ZIP 302).propose_from_zip321(account, uri): the same, from a ZIP 321 payment URI.Wallet::transfer_payments(...)(Rust only): propose, sign and send in one call.pczt_create_payments/pczt_create_from_zip321: the PCZT path for both.Proposal.fee()andProposal.describe()return every output, its memo, the change and the ZIP 317 fee, so an app can show a review step before sending.code(malformed_payment,invalid_memo_type,memo_too_long,insufficient_funds,wrong_network, …).PaymentRequest,ProposalDescription.Why
WebZjs could only send to a single recipient, and its memo was text only. Apps like payroll, exchanges and invoicing need batched payments and binary memos, and they need to show users what will be sent.
Stack
This is PR 2 of 4 and builds on #21. Until that merges, GitHub shows the combined diff. This PR's own changes: ETIM-PAUL/WebZjs-red-dev@pr/nu7-bump...pr/payments-memo-api
Testing
payments.rshas unit tests covering validation, memo encoding, ZIP 321 parsing and the error codes.cargo test -p webzjs-wallet --lib: all pass. fmt and clippy are clean.23acbef465b98583f581977927ded0f9749e15987de43fe64254b05606a7e891), and each memo was read back after sync.🤖 Generated with Claude Code