Skip to content

Decribe how to choose input notes for the Action containing the Desired Asset - #136

Open
vivek-arte wants to merge 2 commits into
fold_swaps_into_zsafrom
add_ref_notes_for_input
Open

Decribe how to choose input notes for the Action containing the Desired Asset#136
vivek-arte wants to merge 2 commits into
fold_swaps_into_zsafrom
add_ref_notes_for_input

Conversation

@vivek-arte

Copy link
Copy Markdown

The party creating the Swap Order can use any note they have of the Desired Asset. Alternatively, they can use the reference note that is available on the blockchain.

This PR includes this information in the specification.

@netlify

netlify Bot commented Aug 24, 2026

Copy link
Copy Markdown

Deploy Preview for zcash-zips-qedit ready!

Name Link
🔨 Latest commit 1704fb4
🔍 Latest deploy log https://app.netlify.com/projects/zcash-zips-qedit/deploys/6a8c5a865937f6000861bbec
😎 Deploy Preview https://deploy-preview-136--zcash-zips-qedit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread zips/zip-0228.rst Outdated
-----------------------------------------------

In the Action for the Desired Asset, the party creating the Swap Order can use any Note they possess of that AssetBase, with the `split\_flag` set, as the spend for that Action.
If the party does not have a Note of that Asset, they should use the Reference Note for that Asset, with the `split\_flag` set.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ref notes guaranteed to have value = 0.

So the semantic should be "they should use any familiar note with the same asset base or a publicly known ref note - both with split_flag set (for uniformity).

(unify the two sentences into one OR statement)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants