xanimo / dogecoin-payment-server-archive

MIT License
1 stars 3 forks source link

Adding leveldb support and "admin" page #18

Closed rllola closed 2 years ago

rllola commented 2 years ago

It also setup the skeleton for a proper admin panel that could be managed by the merchant.

xanimo commented 2 years ago
  • Adding levelDB as a database because there is no database deployment required.
  • In order to demonstrate the opened payment channel , I have added a "admin" page that show the list of P2SH addresses and their balance.

It also setup the skeleton for a proper admin panel that could be managed by the merchant.

this sounds great! will take a look in the morning and as always thank you! ♥️

rllola commented 2 years ago

Something that I did too is to add a new line to my dogecoin.conf

walletnotify=curl -X POST --data '{"txid": "%s"}' -H "Content-Type:application/json" http://localhost:5000/api/v1/notification

So I will be notified of changes in the p2sh address : I will be notified when the transaction is being validated or when the payment channel is being closed.