n-y-z-o / nyzoVerifier

Verifier for the Nyzo cryptocurrency
The Unlicense
73 stars 42 forks source link

NTTP Suggestion: prefilled nyzostring including amount #33

Open EggPool opened 3 years ago

EggPool commented 3 years ago

Current prefilled Nyzostrings pre_ do encode "recipient" and "sender data" but no amount.

For most uses, it makes sense to give someone a string that would also embed the amount. Pay for a product, service, micropay with minimum amount...

Eager for a feedback before proposing a PR, unless you prefer to do it yourself. To be useful, the nyzo.co wallet would have to recognize that new string just as it recognizes a "pre_" string in place of recipient.

Idenary commented 3 years ago

Hi, Thanks for the addition!

We relied on this for our app, but it seems wallet at nyzo.co still uses the old format only.

When using a "pre" string as a recipient, recipient is filled, amount is not, and data is corrupted.

Could you upgrade nyzo.co wallet to support newest pre-filled strings?