BlueWallet / LndHub

Wrapper for Lightning Network Daemon. It provides separate accounts for end-users
http://LndHub.io
MIT License
793 stars 198 forks source link

Balance of connected Bluewallets #60

Closed ArbenKarb closed 4 years ago

ArbenKarb commented 4 years ago

Is there a way to query

a) How many user wallets are connected to the LNDHub b) What the balance of those "accounts" are?

Overtorment commented 4 years ago

a) in redis console keys user_* b) ./node_modules/.bin/babel-node ./scripts/show_user.js <userid here>

or reading script ./scripts/show_user.js can give you ideas on how to navigate database and calculate some stats.