Just want to let you know that without an app of your own, you wont be able to call api functions.
Answer: This would work. Can this be automated? and how much cost is in it for the time to do it? .
Yes, it is possible to automate this as long as you have an app.
This may be what is stopping the problem ( however, can a custom script be written to read the transfer history on my account to complete this? )
Yes and No. You could create a simple javascript and run this on your browser or via some plugins like greasemonkey, downside is that your browser must be open at all times and not doing anything else. Other than that there's really no way to request it from a 3rd party location/referrer.
Answer: But i need them to have the chips on my site to gamble with, no on a moneypot app
What you are trying to do is simple. You could create a moneypot app, and have this app as your '
btc cashier/exchange' by using /tip function and have another on your software as the '
chip cashier/exchange'.
Scenario:
Now User A deposits 1 btc to your btc cashier(mp app), once the btc is received by your
btc cashier, it will call your chip cashier and say that 1btc has been deposited by this username/authid, your
chip cashier now gives the equivalent chip to the user on you software, and vice versa on cashing out.
This is just a simple scenario and of course you have to take into consideration the security.
Cheers!
-uni
Thanks for all the info. Took me a bit to get the grasp but I think the way you said may work best with making an App with just the Tip Function and ahving it all coded from that. Do you know a price range on a build like this and anyone looking for work/?
Im not up for the job, but ill just give some points.
So let me see if i understand it correctly:
1. You want users to transfer their balance to an account that you hold and in return they will be credited on your app poker software by way of chips..
**With the current setup of moneypot, this is not possible for the reasons stated below:
A. The user must first enable your app(i would have no app), login to your app, get your account name, go back to moneypot.com, then do the transfer. Because without this, you would never know which auth_id/access_token to put the chips on. BUT this is doable by using the /tip function. A user go to your app, add funds to their account from moneypot, then have a function to tip your account. This way, u can also record the user who tipped you and you will be able to credit the chips to the correct user.
The user must first just know the Deposit Account user name on Moneypot (my account) THey log into moneypot and go to the user to user transfer option and enter my deposit user name and send the bitcoin
B. If you still don't want to go with the tip function, another problem you will have if you insist on your original idea, is scanning the your account for transfers. You cannot query/scan your account programmatically as the request headers will need the referrer to be the moneypot.com, meaning the request must be initiated by moneypot.com and not by your program/software. Again this can be solved by using tip function.
This may be what is stopping the problem ( however, can a custom script be written to read the transfer history on my account to complete this? )
2. You want the users to transfer their chips to you and then in return, btc balance will be transferred to their moneypot account..
**Same issue as 1.B.. You cannot 'login' to moneypot programmatically as the request header referrer must be coming from moneypot.com, and you cannot also programmatically withdraw your funds to moneypot.com either /dialog/deposit or /dialog/withdraw must be called and opened for you to be able to transfer funds in and out of your app.
The cashout process would be started by grabbing the transfer of chips to my Cashout poker player account on my site. The log needs to be searched and then automaticly just log into my moneypot account and transfer to the moneypit user name thats in their poker profile. it wouldnt pull any data from money pot.
However, some of your idea can possibly be done on a different approach. I will state two possible solutions for this.
1. Like i stated above, your can do this with /tip function. User A deposited 1btc to your app, he then tips this to one of your account on the app, then you can credit the user with chips. And for cashout, the user sends you the chip, and in return you will tip him the btc. Its a simple coin<-->chip exchange.
Answer: This would work. Can this be automated? and how much cost is in it for the time to do it? .
2. Best solution. Why would you need to use chips and have the user transfer the btc to you? You could just let the user deposit the btc to your app, then convert this btc amount internally and show it as chips for the user. Like, lets say theres a ratio of 1chip:0.1btc, so if a user deposited 1 btc, it will show 10chips on his account and same process with withdrawal. (But how do the chips go from the app to into my poker software? THats the main goal)
Answer: But i need them to have the chips on my site to gamble with, no on a moneypot app
So just for everyone's information, there is no api endpoint for automatic withdrawal/deposit. And any actions that happens on the moneypot site must be called within the site as well, as outside calls will not be accepted for security reasons.
If what i understood is wrong then forgive me. This is just a limitation that we cannot lift up for security reasons.
-uni
Moneypot Lead-Dev