代码拉取完成,页面将自动刷新
BMIP: 72 Layer: Applications Title: bytom: uri extensions for Payment Protocol Author: James Zhu <[email protected]> Lang Yu <[email protected]> Comments-Summary: No comments yet. Comments-URI: https://github.com/bytom/bmips/wiki/Comments:BMIP-072 Status: Draft Type: Meta Created: 2018-11-06
This BMIP describes a payment protocol that addresses the need for short URLs when scanning from QR codes.
The payment protocol augments the bytom: uri scheme with an additional "payment" parameter that specifies a URL where a payment request can be downloaded. This creates long URIs that, when rendered as a QR code, have a high information density. Dense QR codes can be difficult to scan resulting in a more frustrating user experience. The goal is to create a standard that would allow QR scanning wallets to use less dense QR codes.
Url scheme:
bytom:<address>?amount=<amount>&asset=<asset>&memo=<memo>example:
bytom:bm1q3yt265592czgh96r0uz63ta8fq40uzu5a8c2h0?amount=888&asset=ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff&memo=six_god
address | Bytom address for receive payment. |
asset | Asset ID of the payment request asset. (it can be omitted if asset is native btm) |
amount | Number of the asset to be paid. |
memo | UTF-8 encoded, plain-text note with max length of 64 characters. |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。