From 139000e710e7cd5f76bc272fb8940305dc6475f1 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 17 Jun 2020 11:04:18 -0700 Subject: lnurl channel flow --- routes/payments.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'routes/payments.js') diff --git a/routes/payments.js b/routes/payments.js index 8f731f78..1840c381 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -34,6 +34,9 @@ const { join } = require("path"); lnb = lnd(config.lnb); } + app.get("/lightning/decode", require("./lightning/decode")); + app.post("/lightning/channel", auth, require("./lightning/channel")); + app.post("/lightning/channelRequest", auth, require("./lightning/channelRequest")); app.post("/lightning/invoice", auth, require("./lightning/invoice")); app.post("/lightning/query", auth, require("./lightning/query")); app.post("/lightning/send", auth, require("./lightning/send")); -- cgit v1.2.3