SatoshiPortal / cyphernode

Modular Bitcoin full-node microservices API server architecture and utilities toolkit to build scalable, secure and featureful apps and services without trusted third parties
MIT License
363 stars 68 forks source link

Features/ln listchannels #180

Closed gabidi closed 4 years ago

gabidi commented 4 years ago
  1. Adds the following LN endpoints:

    • GET /ln_listpeers
    • GET /ln_listfunds
    • GET /ln_listfunds
    • GET /ln_listpays
    • GET /ln_getroute///
    • POST /ln_withdraw with body: {"destination":"segwitAddress","satoshi":"100000","feerate":0}
  2. Fixes syntax bug with proxy_docker/app/script/watchrequest.sh

Functionality already added to SDK https://github.com/gabidi/cyphernode-js-sdk/blob/feature/ln-add-connectandfund/src/clients/lncClient.ts

@todo Open API docs for endpoints

Kexkey commented 4 years ago

Awesome! Thanks!! Can I start testing this branch?

gabidi commented 4 years ago

Yes, it's pretty stable.