This small python 3 script is for converting xmr (Monero) coins to EUR and withdrawing them to a bank accout.
I build it in order to change Monero for the lowes possible fee back to EUR and transfer them back to my bankaccount.
Normally this script takes about ~90 minutes. 30 minutes for the Monero do confirm on poloniex and another 60 minutes for the Bitcoin to confirm on kraken (Yes kraken still needs 6 confirmations)
If you have Fidor bank acount linked your will have the Euros within 15 minutesin the account after the script is finish, thanks to Fidor even on weekends!
- In this state the script is for developers and guys that understand the source code
- It's meant as an help to get the most value back from your Monero
You need Python 3.3 or later.
Install the two library's used. KrakenAPI and PoloniexAPI
Download the script and add your api keys. Adjust the amountToGet witin the script to the amount of Euros you want to have and just run it with python 3.
- python-poloniex from s4w3d0ff that is inspired by 'oipminer'
- python3-krakenex from veox
- A Kraken account (Api key and secret)
- A bank account linked to your Kraken account as withdraw method
- A Poloniex account (Api key and secret)
Feel free to improve the scipt or add error handling. It would also be great if the polo XMR payment Id would change once a day, there is an api for that but its not implemented here.
I welcome every pull request :)
There is no Error handling. So if someting goes wrong your coins/euro will still be somewhere at polo or kraken, but you should log the script output somewhere!