"Donate 50 BAN"
button will generate QR
Code for a valid Banano
payment URI, which include address, amount and a label for easier
payment origin identification. The exact code, implementing the donation
button is:
<div
id="banano-button"
data-title="Donate 50 BAN"
data-address="ban_1mcjisg83r4tuy811i8j33pwdo86c1xrma1on4zc9jb8az6q1qow1xz33qar"
data-amount="50"
data-info="yes"
data-label="fund"
data-qr-size="128"
data-qr-level="M"
data-qr-fg="#606c71"
data-qr-bg="#FFFFFF"
></div>
<script src="https://cdn.jsdelivr.net/gh/zh/banano-pay-button/dist/banano_button.min.js"></script>
Everybody can add similar button to their own page by just including the single JavaScript file from the provided CDN URL and configuring <div> container for their needs. The only required parameters are id - should be "banano-button" and data-address - should be valid Banano address for receiving the tokens.
The purpose of the button is to only generate QR code, the payment itself should be done after scanning the image with real mobile Banano wallet (I'm using Kalium for my everyday Banano transactions).
This page is just a demo, but the Banano address is real, so contributing a small amount of Banano will be hugely appreciated, will support my work and keep me going.