2019-09-01 17:01:38 +00:00
|
|
|
const WalletController = require("../../controllers/lnd/wallet");
|
2018-09-15 01:31:01 +00:00
|
|
|
const express = require("express");
|
|
|
|
const router = express.Router();
|
2019-09-01 17:01:38 +00:00
|
|
|
const authCheck = require("../authCheck");
|
2018-09-15 01:31:01 +00:00
|
|
|
|
2019-05-27 18:55:09 +00:00
|
|
|
router.get("/genseed/:passphrase?", authCheck, WalletController.genSeed);
|
2019-11-06 21:37:04 +00:00
|
|
|
router.get("/updateSelNodeOptions", authCheck, WalletController.updateSelNodeOptions);
|
2019-01-01 16:26:51 +00:00
|
|
|
router.post("/:operation", authCheck, WalletController.operateWallet);
|
2018-09-15 01:31:01 +00:00
|
|
|
|
|
|
|
module.exports = router;
|