-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin commands for node operator #196
Comments
This could be had with a add on route handler installed without any big changes (some adds and one change fee hardcoded now at 0.01) to existing repo, it would be a combination of redis db calls and js LND calls together with a admin account login set at config. The UI part could be to this new route handler API ... where in config besides the admin login also specifies the path to UI. |
It could be installed as a folder Extension add on as i did with the LNDhub LNURL-withdraw / LNURL-Pay Extension that only adds one line to LNDhub index.js |
// for UI reference /** */ let fees = res.send(fees); |
Forwarding fee reserve 1% and internal fee 0.3% is set in config at startup and can be changed at runtime. |
Soon able to drop a PR for changes in LndHub for config fees at startup. Installed as a separate folder with no changes to LndHub Repo other then add one-line in index.js the example Extension LndHub Admin UI will come with a dynamic fee settings at runtime, as first component |
It would be nice to add some basic commands for an admin user (maybe these already exist)
viewfee - view current fee %
setfee - sets sending fees for LNDhub in terms of basis points (% of a %)
backup - command which downloads a file containing account backups
BankBalance - checks node balance against sum of all account balances
It would be super great to have some commands like this that umbrel and myNode could turn into a UI panel
The text was updated successfully, but these errors were encountered: