Skip to content

❇️ DeBitpay is a simple app which decodes Bitpay payment links into Bitcoin transaction requirements, so that you could make the payments with Bitcoin wallets not supporting Bitpay.

License

Notifications You must be signed in to change notification settings

Hypocritus/DeBitpay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeBitpay is hosted on GitHub via gh-pages branch consisting of compiled /dist files.

DeBitpay

Does your Bitcoin wallet not support Bitpay payments? DeBitpay is a simple app which decodes Bitpay payment links into Bitcoin transaction requirements, so that you could make the payments with Bitcoin wallets not supporting Bitpay.

It is basically a nice wrapper around the following code. You could use the below, running on your own system, to verify that the output of the app is showing you the right QR code and that your wallet is reading it properly.

Equivalent cURL

curl -X GET https://bitpay.com/i/$BITPAYINVOICEID -H 'accept: application/payment-request'

Equivalent Python

from requests import get
url = 'https://bitpay.com/i/BITPAYINVOICEID'
resp = get(url, headers={'Accept' : 'application/payment-request'}).json()
print(resp)

Security Note

Due to a missing header in responses from Bitpay servers I had to skip a hash verification of Bitpay data. More details on DeBitpay (NodeJS edition) repo.

Installing on your system

  1. Download DeBitpay from GitHub.
  2. Unpack the downloaded zip and install dependencies:
npm install

Build

npm run build

The command will build the app in /dist folder.

Open

Go to /dist folder and open index.html with your browser.

License

MIT © Alex Kaul

About

❇️ DeBitpay is a simple app which decodes Bitpay payment links into Bitcoin transaction requirements, so that you could make the payments with Bitcoin wallets not supporting Bitpay.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 81.1%
  • HTML 18.9%