Bitcoin Forum

Bitcoin => Project Development => Topic started by: konradp on October 23, 2014, 09:47:20 AM



Title: A pool with (something line) exchange functionality
Post by: konradp on October 23, 2014, 09:47:20 AM
Hi. This gonna be rather a general question, but I hope to get some help.

I have created a pool, now client wants me to implement something similar to what cryptocoins exchanges do. That is, a miner should be able to mine any coin and then withdraw equivalent in any other cryptocoin.

I'm supposed to use one of the exchanges with API. For now my choice is coins-e.com (I analyzed other exchanges as well, they have very similar API's so it doesn't really matter which one I'll choose). I asked them about it, and they said it is possible and they answered:

"
Use the wallet commands here to get wallet addresses and deposit - https://www.coins-e.com/demo/support/api/#wallet

Then create orders - https://www.coins-e.com/demo/support/api/#orders

I would check the order book first - https://www.coins-e.com/demo/support/api/#publicdata-market-depth

"

Their API is here: https://www.coins-e.com/demo/support/api/

What do you think about this? Is this even possible? They say it is, but what do you think? It looks like I'll have to :

1. Keep all the mined coins on our wallets, not send them immediately to miners.

2. Manage users' accounts, that is, I will have to keep track of their accounts (how many BTC they have, how many LTC etc.). Then, when one of them mines LTC, and wants to get BTC, I will have to try to sell some of the LTC to get BTC, and then upgrade his/her account information accordingly.

Does it have sense?