I'm trying run an Electrum wallet through an ec2 instance to receive Bitcoins.
So I've created a ec2 instance on AWS running the amazon linux AMI and installed Electrum.
I noticed that some other commands have the -W option to let me fill in the password like getprivatekeys:
electrum --testnet getprivatekeys -W $password
but, there are a few commands that do not have an option for me to input the password.
After creating an API to call exec() to help create new addresses, it worked for about a day (around 40-50 calls) and then now it requires me to input my password through the stdin every time I call the command:
electrum --testnet createnewaddress
Is there a way for me to call the commands in Electrum and input the password with one command? Does anyone know why the command suddenly requires a password?