Re the one by IIIIIHIIIII, how is the recharge actually done? Could you elaborate on the backend? (Very interesting idea btw)
It uses bitrefill.com api to do recharge.
When you command the bot to do a recharge.
- Bot places the order on bitrefill.com and gets the deposit address and the amount of btc required.
- Then bot calls shapeshift.io api with btc deposit address and btc amount we retrieved from bitrefill.com.
- shapeshift.io then give us a doge address and amount of doge required to get the btc amount we passed it.
- Then the bot checks if the user tipbot account have doge > required doge.
- if he/she does have required doge, then the bot withdraws that amount of doge from his/her tipbot account to the shapeshift.io address which then sends btc to the bitrefill.com deposit address.
- bitrefill.com gets the btc and sends the recharge.