SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 58f5d6dc6b595fce7c6b7f8b55be6c33470d6dcb
parent bb3ed3510ac0b92eaee67f1aac3755e85610df3f
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Sun, 27 Dec 2020 10:45:23 +1100

add gunicorn

Diffstat:
MREADME.md | 13+++++++++----
Minvoice/success.py | 2++
Mrequirements.txt | 2++
Mserver.py | 2++
4 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -1,15 +1,18 @@ # BTCPyment -Widely used non-custodial Bitcoin payment processors are bloated and difficult for the average person to install. BtcPyment strives to exist as an easily deployable, highly customisable, lightweight Bitcoin payment processor that keeps your coins belonging to your keys. Almost purely written in Python and Javascript, BtcPyment makes donation buttons simple for your website; via a simple embedded iframe that talks to your own Bitcoin node via Flask websockets. +Existing non-custodial Bitcoin payment processors are bloated and difficult for the average person to install. BTCPyment strives to exist as an easily deployable, highly customisable, lightweight Bitcoin payment processor that keeps your coins with your keys. Almost purely written in Python and Javascript, BTCPyment makes donation buttons simple; via a simple embedded iframe that talks to your own Bitcoin node via Flask websockets. # Installation +## Deploy Server This should be easy to install. +## Insert HTML Donation Button + # Features -* Lightweight, python and javascript talk to your own bitcoin node via websockets and ssh. +* Lightweight, Python and Javascript talk to your own bitcoin node via websockets and ssh. * Direct peer-to-peer payments without any middleman. No KYC, and greater privacy than donation systems with reused Bitcoin addresses. * Natively supports all bitcoind node features through RPC. * QR codes, customisable payment confirmations and payment expiry duration. -* No shitcoin bloat. +* No shitcoin bloat. Bitcoin only. * Highly extendable, just take a look at the code! Optional code excecution upon payment. # Developers @@ -24,4 +27,6 @@ The main code can be found in `server.py`. invoice and bitcoind handling in `inv * Multiple choice of price feeds # Disclaimer -BtcPyment is in early development, as such we are not responsible for any loss of funds or vulnerabilities. +BTCPyment is in early development, as such we are not responsible for any loss of funds or vulnerabilities. + +# Sponsors diff --git a/invoice/success.py b/invoice/success.py @@ -0,0 +1,2 @@ +def success(): + return diff --git a/requirements.txt b/requirements.txt @@ -5,3 +5,5 @@ Flask==1.1.2 MarkupSafe==1.1.1 requests==2.25.0 bitcoinrpc==0.3.1 +gunicorn==20.0.4 + diff --git a/server.py b/server.py @@ -58,6 +58,8 @@ def make_payment(payload): payment.response = 'Payment finalised. Thankyou!' update_status(payment) + invoice.success.success() + ### DO SOMETHING # Depends on config # Get redirected?