Launch DeBitpay 👉 https://alexk111.github.io/DeBitpay/
DeBitpay is hosted on GitHub via gh-pages branch consisting of compiled /dist files.
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.
curl -X GET https://bitpay.com/i/$BITPAYINVOICEID -H 'accept: application/payment-request'
from requests import get
url = 'https://bitpay.com/i/BITPAYINVOICEID'
resp = get(url, headers={'Accept' : 'application/payment-request'}).json()
print(resp)
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.
- Download DeBitpay from GitHub.
- Unpack the downloaded zip and install dependencies:
npm install
npm run build
The command will build the app in /dist folder.
Go to /dist folder and open index.html with your browser.
MIT © Alex Kaul