Skip to content

bitstein/Flask-LND

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask-LND

Flask-LND initializes an LND gRPC interface using Will Clark's lnd-grpc package.

Installation

$ pip install flask-lnd

Usage

import flask
from flask_lnd import LNDNode

app = flask.Flask(__name__)

lnd = LNDNode()
lnd.init_app(app)


@app.route('/')
def index():
    return str(lnd.rpc.get_info())

About

LND gRPC interface for Flask

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages