A simple payment gateway for HNS https://pay.hns.au
Go to file
Nathan Woodburn b5a31cbd3a
All checks were successful
Build Docker / Build Image (push) Successful in 20s
feat: Added readme
2024-02-14 23:30:22 +11:00
.gitea/workflows feat: Initial code drop 2024-02-14 22:39:37 +11:00
templates fix: stop trying to process payment more than once 2024-02-14 23:02:23 +11:00
.gitignore feat: Initial code drop 2024-02-14 22:39:37 +11:00
accounts.py feat: Initial code drop 2024-02-14 22:39: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 feat: Added readme 2024-02-14 23:30:22 +11:00
README.md feat: Added readme 2024-02-14 23:30:22 +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 Handshake domains. 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.