2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-17 15:29:30 +00:00
RTL/routes/shared/boltz.js
ShahanaFarooqui f817ae39bc
Release 0.10.1 (#605)
Dahboard layout fix #576
Boltz integration (#590)
Merged verify token and password authentication
Channel mobile view update
ECL Adding inactive channels force close
Flag Dust UTXOs
Bug fix for forwarding history browser crash #596
Label and Lease UTXOs
UI Table Fixes
App settings (#604)
Settings updates
UTXO lease confirmation box
Login and Settings page  without add new node
2021-02-21 14:02:31 -05:00

16 lines
752 B
JavaScript

const BoltzController = require("../../controllers/shared/boltz");
const express = require("express");
const router = express.Router();
const authCheck = require("./authCheck");
router.get("/info", authCheck, BoltzController.getInfo);
router.get("/serviceInfo", authCheck, BoltzController.getServiceInfo);
router.get("/listSwaps", authCheck, BoltzController.listSwaps);
router.get("/swapInfo/:swapId", authCheck, BoltzController.getSwapInfo);
router.post("/createSwap", authCheck, BoltzController.createSwap);
router.post("/createReverseSwap", authCheck, BoltzController.createReverseSwap);
router.post("/createChannel", authCheck, BoltzController.createChannel);
router.post("/deposit", authCheck, BoltzController.deposit);
module.exports = router;