0.1.13-cd • Published 4 years ago

@ibunker/bitcoin-react v0.1.13-cd

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Bitcoin Reactjs tool

Features

  • Create buttons to accept bitcoins via QR code scanner.
  • Customize QR codes with a fixed amount to show when scan the client.
  • Compatibility with any wallet that uses the Bitcoin URI protocol.

Live Demo

Go to this site for a quick demo with your wallet.

How to use the component

Install the package via NPM with the following command:

npm i @ibunker/bitcoin-react

Just import the following:

import { BitcoinQR } from '@ibunker/bitcoin-react';

And the base styles :

import '@ibunker/bitcoin-react/dist/index.css';

Later you can use the component like this:

Example: Send donations to this project

<BitcoinQR
    bitcoinAddress="bc1qr3ja0feke2d7zg8jr0sjhr4aw5ppezt7n954u7"
    message="Donate bitcoin to support this project"
    title="Donate bitcoin"
/>

Example: Send 0.1 BTC donation to this project

<BitcoinQR
    amount={0.1}
    bitcoinAddress="bc1qr3ja0feke2d7zg8jr0sjhr4aw5ppezt7n954u7"
    message="Donate bitcoin to support this project"
    title="Donate bitcoin"
/>
PropertyDescriptiontype
showHeartDonationShow a Heart animation under the QR code.Boolean
titleWill show a title at the top of the QR code.String
messageWill add a message to the QR.String
bitcoinAddressbitcoin address to send the payment. Can be any BTC format address.String

How to quick donate to this project

Did this help you in anything useful? or Do you feel that it is your lucky day and you are generous? consider donating to the author to support this project. Use your favorite wallet! ;)

Donate bitcoin to support this project :D bc1qr3ja0feke2d7zg8jr0sjhr4aw5ppezt7n954u7

This project was bootstrapped with Create React App. and create-react-library. I do recommend those libraries for some magic ;).

0.1.13-cd

4 years ago

0.1.12-cd

4 years ago

0.1.11-cd

4 years ago

0.1.10-cd

4 years ago

0.1.9-cd

4 years ago

0.1.8-cd

4 years ago

0.1.7-cd

4 years ago

0.1.6-cd

4 years ago

0.1.5-cd

4 years ago

0.1.4-cd

4 years ago

0.1.3-cd

4 years ago

0.1.2-cd

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago