ElementsProject / ElementsProject/elements
Adapt BIP21 payment requests for Liquid
- Vorherrschende Sprache
- C++
- Sterne
- 1.2k
- Forks
- 416
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 15
Beschreibung
[BIP0021](https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki) defines the rules for payment requests, we need something similar for Liquid (or other elements instances), thus we should define:
- the name of the network prefix, for Liquid specifically `liquid` is proposed as preferred name
- additional parameters
- assetid, to refer to the user desired asset
- amount, amounts should probably follow [BIP21 guidelines](https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki#transfer-amountsize) and be specified in the URI as decimal BTC, irrespectively of the issuer defined precision ([examples](https://assets.blockstream.info/)). Though the clients – both when generating and parsing the URI – should keep in consideration the `precision` specified by the asset issuers, as that is the amount that issuers ultimately inted to be displayed to users.
I wonder if this is compatible with elements-qt, especially the assetid part, as the amount would be treated the same as Bitcoin already does.
Anyone have different ideas/objections to this?
Beitragsleitfaden
Rechercherichtung
Beginne mit der Durchsicht der verlinkten BIP21-Spezifikation und der Art und Weise, wie elements-qt Zahlungsanforderungen verarbeitet. Kläre das vorgeschlagene Präfix für das Liquid-Netzwerk, den assetid-Parameter und das Verhalten bei der Genauigkeit des Betrags, einschließlich der Kompatibilität mit Elements-Clients. Als abgeschlossen gilt dies, wenn die Community eine abgestimmte Spezifikation und einen abgestimmten Implementierungsumfang festgelegt hat.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp
- Bereich
- blockchain, payments
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100