Skip to content

[ZIP 220] draft: User-Defined Assets and Wrapped Assets#269

Closed
str4d wants to merge 1 commit into
zcash:mainfrom
str4d:zip-udas
Closed

[ZIP 220] draft: User-Defined Assets and Wrapped Assets#269
str4d wants to merge 1 commit into
zcash:mainfrom
str4d:zip-udas

Conversation

@str4d

@str4d str4d commented Sep 1, 2019

Copy link
Copy Markdown
Collaborator

To-do:

  • Specify a circuit-friendly GroupHash.
  • Finish defining the transaction format.
  • Define whitelisted issuance mechanisms.

Part of zcash/zcash#830.

which leads to:

- ZEC balance: ``v1 - v3 = valueBalance``
- BTC balance: ``v2 - (v4 + v5) = assetBalance``

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

s/BTC/Asset/


.. code::

TODO: Specify GroupHash using Rescue

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I have an elegantly awful way to specify this so that it ends up with the same \mathcal{V} generator as Sapling does when the asset is ZEC (or TAZ on testnet).

@tromer

tromer commented Jan 8, 2020

Copy link
Copy Markdown
Contributor

Define whitelisted issuance mechanisms

What issuance mechanisms do you have in mind, and why do they need to be whitelisted?

cv_s1 = [v1] G_zec + [r1] H
cv_s2 = [v2] G_zec + [r2] H
cv_o1 = [v3] G_zec + [r3] H
cv_o1 = [v4] G_zec + [r4] H

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
cv_o1 = [v4] G_zec + [r4] H
cv_o2 = [v4] G_zec + [r4] H

@daira

daira commented Feb 9, 2021

Copy link
Copy Markdown
Collaborator

This needs to be updated with my idea for how to do UDAs efficiently without a hash-to-group in the circuit.

@daira daira changed the title ZIP draft: User-Defined Assets and Wrapped Assets [ZIP 220] draft: User-Defined Assets and Wrapped Assets May 19, 2022
@str4d

str4d commented May 19, 2022

Copy link
Copy Markdown
Collaborator Author

Withdrawing this draft ZIP, replaced by #618.

@str4d str4d closed this May 19, 2022
@aphelionz aphelionz mentioned this pull request May 15, 2026
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.

4 participants