bitcoinaddress.js

JavaScript library for simplified Bitcoin payment user interaction.

View on Github

Bitcoin address and payment examples

Basic features

  • All JavaScript: no server-side components needed
  • Mobile friendly - no pop-ups
  • Copy-paste hinting
  • Automatic QR code generation
  • Support wallet apps: Armory, Electrum, blockchain.info, Coinbase, Multibit, Bitcoin-QT and others

For usage instructions see Github page.

Example: Send donations to this project

A plain Bitcoin address without suggested payment amount and transaction notes.

19356KxTs9Bw5AAdxens5hoxDSp5bsUKse

Code

<strong class="bitcoin-address"
        data-bc-address="19356KxTs9Bw5AAdxens5hoxDSp5bsUKse">
        19356KxTs9Bw5AAdxens5hoxDSp5bsUKse
</strong>
                

Payment details

Example: Send 0.1 BTC donation to this project

The donation amount is nominated in bitcoins and the fiat amount reflects the market rates. Choose currency by clicking the price or from the top menu.

19356KxTs9Bw5AAdxens5hoxDSp5bsUKse

Floating fiat amounts

  • With bitcoinprices.js you can also specify the payment amount in the fiat currency (USD, EUR) and it will be converted to the Bitcoin amount using the current exchange rate.

Visit Github repository for more information