aboutsummaryrefslogtreecommitdiffstats
path: root/routes/payments.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-06-17 11:04:18 -0700
committerAdam Soltys <[email protected]>2020-06-17 11:04:18 -0700
commit139000e710e7cd5f76bc272fb8940305dc6475f1 (patch)
treeb5dd5964eb5d5e4fc02d122da8d995d2ae9947e3 /routes/payments.js
parented0da89c7d98195294ced6d71812183a04e24c76 (diff)
downloadcoinos-server-139000e710e7cd5f76bc272fb8940305dc6475f1.tar.gz
coinos-server-139000e710e7cd5f76bc272fb8940305dc6475f1.zip
lnurl channel flow
Diffstat (limited to 'routes/payments.js')
-rw-r--r--routes/payments.js3
1 files changed, 3 insertions, 0 deletions
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"));