Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

NTTP Suggestion: prefilled nyzostring including amount #33

Open
EggPool opened this issue Jan 17, 2021 · 1 comment
Open

NTTP Suggestion: prefilled nyzostring including amount #33

EggPool opened this issue Jan 17, 2021 · 1 comment

Comments

@EggPool
Copy link

EggPool commented Jan 17, 2021

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...

  • Could it be possible to evolve current "pre_" nyzostring specs to also embed an amount?
  • If not, can we spec another prefix for such a nyzostring?

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

Idenary commented Aug 2, 2021

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants