21isenough / LightningATM

This ATM sends bitcoin over the Lightning Network - pretty fun.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add function to make use of "activewallet" variable in config.ini

21isenough opened this issue · comments

Actual Behavior:
The ATM currently does not "know" to which wallet it is connected. Depending on the wallet that it is connected to, certain features must be deactivated (e.g. LNURL for LND).

Expected Behavior:
Make use of the "activewallet" variable in config.ini to set the currently active wallet and allow/restrict certain functions based on it. It would be best to set the "activewallet" variable when the user scans their API credentials.