A simple payment gateway for HNS https://pay.hns.au
Go to file
Nathan Woodburn 75e2523007
All checks were successful
Build Docker / Build Image (push) Successful in 1m20s
fix: Update to use new listhistory rpc call
2024-12-10 13:25:37 +11:00
.gitea/workflows feat: Initial code drop 2024-02-14 22:39:37 +11:00
templates fix: Update to use my qr code generator 2024-10-03 12:50:14 +10:00
.gitignore fix: Update to use my qr code generator 2024-10-03 12:50:14 +10:00
accounts.py fix: Update to use new listhistory rpc call 2024-12-10 13:25:37 +11:00
Dockerfile feat: Initial code drop 2024-02-14 22:39:37 +11:00
example.env feat: Initial code drop 2024-02-14 22:39:37 +11:00
LICENSE.md Initial commit 2024-02-14 12:24:52 +11:00
main.py fix: stop trying to process payment more than once 2024-02-14 23:02:23 +11:00
payments.py fix: Update to use new listhistory rpc call 2024-12-10 13:25:37 +11:00
README.md fix: Typo 2024-02-14 23:31:00 +11:00
requirements.txt feat: Initial code drop 2024-02-14 22:39:37 +11:00
server.py feat: Initial code drop 2024-02-14 22:39:37 +11:00

HNS Pay

HNS Pay is a simple payment gateway for HNS. It allows you to accept payments in HNS for your products and services.

Deploying HNS Pay

The easiest way to deploy HNS Pay is to use docker.

docker volume create hns-pay
docker run -d -p 5000:5000 -v hns-pay:/app/data --name hns-pay \
 -e HSD_IP=localhost -e HSD_API_KEY=yourhsdapikey -e WALLET=primary -e GLOBAL_WEBHOOK=webhook_for_all_users \ 
 git.woodburn.au/nathanwoodburn/hns-pay:latest

If you have a encrypted wallet you can also pass the WALLET_PASS environment variable.