Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

str4d
Copy link
Collaborator

@str4d str4d commented Sep 1, 2019

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
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
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
Copy link
Contributor

tromer commented Jan 8, 2020

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

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
Copy link
Collaborator

daira commented Feb 9, 2021

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
Copy link
Collaborator Author

str4d commented May 19, 2022

Withdrawing this draft ZIP, replaced by #618.

@str4d str4d closed this May 19, 2022
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