Page MenuHomePhabricator

[bip21] Introduce a spec for supporting simple token send txs
ClosedPublic

Authored by bytesofman on Sun, Nov 24, 15:07.

Details

Summary

This would make it easy for users to share token payment requests via QR code or cashtab url

While this is already possible to do using existing bip21 op_return_raw, it is not straightforward for non-developers to create such a request.

Test Plan

Proofread. To be implemented in Cashtab.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

is the exclusion of non-send token txs on the basis that they're not a use case for QR payments?

is the exclusion of non-send token txs on the basis that they're not a use case for QR payments?

I think they could be included, but it would be more complicated. They need more params, potentially special handling depending on token type, etc.

So, for now, it's just that "send" is the first obvious use case that is being asked for. If we get a demand for other actions, we can add it in a way that doesn't interfere with this.

It makes sense for "send" to be the default token action...it's the default XEC action.

This revision is now accepted and ready to land.Mon, Nov 25, 03:57