LightningATM Docs
Search…
Configuring the ATM

πŸ’» Access the ATMs configuration file

There is a configuration file that lets us make changes to the core configurations of the ATM such as the currency displayed and more.
The configuration file will be created, the first time the ATM is turned on an run with ./app.py. Make sure you've run ./app.py at least once, otherwise this configuration file won't exist.
The configuration file can be found here: ~/.lightningATM/config.ini
Let's inspect πŸ”Ž what is inside this file with the editor nano. Type in the following to open the file with the nano editor:
1
nano ~/.lightningATM/config.ini
Copied!
The beginning of this configuration file will look something like this and we'll quickly check the most important values in there:
1
[atm]
2
# Set your fiat currency with the three letter
3
# currency code (https://www.xe.com/symbols.php)
4
cur = eur
5
​
6
# Define what a cent is called in the currency
7
# of your choice for price display (singular).
8
centname = cent
9
​
10
# Set the Fee in %
11
fee = 2
Copied!
    cur = eur
    The variable cur defines what fiat currency will be used at your ATM.
    centname = cent
    The variable centname defines the name of one cent of your base currency (0.01)
    fee = 2
    The variable fee defines how much fee you charge those who use your ATM
You can now move with your cursor to the desired variable and simply change it to your liking. I'd recommend to only change those three values and leave the rest as it is (unless you know exactly what you are doing πŸ‘† ).
In order to save the file and exit you will have to press Ctrl + x and it will ask you Save modified buffer?. You can confirm by entering y (for yes) and hitting Enter to confirm.
Join the Telegram group here: https://t.me/lightningatm_building​
Last modified 1yr ago
Copy link