1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/BytomBlockchain-bmips

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
bmip-0072.mediawiki 1.4 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
langyu Отправлено 14.12.2018 09:10 cbf6c3c

  BMIP: 72
  Layer: Applications
  Title: bytom: uri extensions for Payment Protocol
  Author: James Zhu <james@bytom.io> Lang Yu <langyu@bytom.io>
  Comments-Summary: No comments yet.
  Comments-URI: https://github.com/bytom/bmips/wiki/Comments:BMIP-072
  Status: Draft
  Type: Meta
  Created: 2018-11-06

Abstract

This BMIP describes a payment protocol that addresses the need for short URLs when scanning from QR codes.

Motivation

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.

Specification

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.

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/BytomBlockchain-bmips.git
git@api.gitlife.ru:oschina-mirror/BytomBlockchain-bmips.git
oschina-mirror
BytomBlockchain-bmips
BytomBlockchain-bmips
master