Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.34 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.34 KB

RSBP

Build Status

Real Simple Bitcoin Payments is a single webpage that facilitates bitcoin payments, converting a fiat currency amount into a real-time bitcoin amount, creating the QR code, and acknowledging payment on the blockchain. It doesn't contain any server-side code and is very easy to install for your own use.

Parameters can be hard-coded or passed in the URL (optional).

Parameters include:

  • currency - The three-character currency code, i.e. BTC, USD, IDR, ZAR
  • amount - The amount in fiat currency to be converted to BTC
  • address - The Bitcoin address to be paid
  • discount - The discount percentage to be applied to the conversation rate

You can see a running example implementation here: https://consensusreality.io/demo/RSBP/pay.html

2 minute demo: https://www.youtube.com/watch?v=YMXKmTM_PKE

Installation

Development

npm install

This will install the linters used by RSBP and run bower install. You can then check the code against the style rules by running npm run-script lint.

Deployment

bower install

This will install the required client-side libraries in app/bower_components. You can then deploy the app folder according to your web server configuration.