2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-03 23:15:24 +00:00
RTL/routes/wallet.js
ShahanaFarooqui 1fa8e16559 Init wallet final
Init wallet final
2019-05-27 14:55:09 -04:00

10 lines
342 B
JavaScript

const WalletController = require("../controllers/wallet");
const express = require("express");
const router = express.Router();
const authCheck = require("./authCheck");
router.get("/genseed/:passphrase?", authCheck, WalletController.genSeed);
router.post("/:operation", authCheck, WalletController.operateWallet);
module.exports = router;