Author

Topic: How to accept payments for BTC casino? (Read 216 times)

legendary
Activity: 1750
Merit: 1115
Providing AI/ChatGpt Services - PM!
January 18, 2018, 01:12:59 PM
#9
- Use third party service which hosted bitcoin block chain data and they have REST API to access (some service like: https://chain.so/api , https://blockchain.info/api, https://www.blockcypher.com/dev/)
In this method, your payment up time is depend on their up time and they may have some limitation. but you don't need to pay extra cost to run bitcoin core client
Would like to correct you here : Those third party API's are not really a secure way of handling payments if you are going to be carrying out 100 + transactions everyday.Also Blockchain.info will never allow a casino to access their api since they have strict conditions and the API key is given case by case basis.

Most are using Bitcoin Core and connect directly with bitcoind's RPC commands: https://bitcoin.org/en/developer-reference#bitcoin-core-apis and notify options. Google a bit more on that and you probably find some ways to do it.
This is most accurate way of doing it.That lightening network comment is practically impossible.
newbie
Activity: 74
Merit: 0
January 18, 2018, 09:12:12 AM
#8
There are 2 options you can try
- Use bitcoin core client, start it on your server and connect via RPC.
In this method, you control your payment service 100%, no down time.
But you need a server with more hard disk and bandwidth to run bitcoin client -> high cost
- Use third party service which hosted bitcoin block chain data and they have REST API to access (some service like: https://chain.so/api , https://blockchain.info/api, https://www.blockcypher.com/dev/)
In this method, your payment up time is depend on their up time and they may have some limitation. but you don't need to pay extra cost to run bitcoin core client

legendary
Activity: 3248
Merit: 1402
Join the world-leading crypto sportsbook NOW!
January 18, 2018, 03:48:56 AM
#7
I'm currently writing a BTC casino but I'm not entirely sure how to accept the payments? I know there's payment gateways but the other dice sites seem to be doing it directly.
As people already mentioned btc lightning, which is supposed to make transactions cheaper (or so I've heard), but it's not an option yet, please consider accepting payments not only in btc but also in other coins which are cheaper, faster and more stable than btc with its crazy price fluctuations of these days. You should choose at least dogecoin for it. A lot of casinos already use it, because it's the most suitable coin for gambling.
As for another way of organizing the payment system, I read that it's better to use a full node rather than API. I am not a specialist in this sphere, so it's better for you to read it yourself and decide what to do: https://en.bitcoin.it/wiki/Why_Your_Business_Should_Use_a_Full_Node_to_Accept_Bitcoin.
legendary
Activity: 1638
Merit: 1163
Where is my ring of blades...
January 18, 2018, 03:25:26 AM
#6
Right now at the moment its not a good idea to use the lightning network except for very small micropayments which you send out completely at your own risk.
size does not matter.

...
you are saying it is a future solution, any idea when this will be usable/start?

thx

as I said I am not an expert in this matter so you may want to consult someone else too.
but as far as I can tell it is ready. the protocol (just like bitcoin protocol) has been ready for a very long time and (just like bitcoin has bitcoin core, electrum, armory, multibit,...) there are multiple implementation of it in different projects. these projects are rather new and need more testing but you can still use them and start looking into each of them and see which one is more suitable to your need.
legendary
Activity: 1974
Merit: 1014
All Games incl Racer and Lottery game are Closed
January 17, 2018, 05:04:34 AM
#5
also make sure to take a look at Lightning Network.
https://lightning.network/

I am not an expert myself in the matter but basically you open up a channel and everyone else with an LN wallet can simply connect to you make an instant and practically free of charge payment. they play in your website then they can make an instant withdrawal again with no delays and practically free to their wallet.
https://medium.com/@jadmubaslat/bitcoin-lightning-network-node-easy-setup-tutorial-for-windows-desktop-users-a-how-to-guide-9937b5a8a669

ps. this is more of a future solution but if you implement it sooner, you will be the owner of the first online bitcoin casino with Lightning Network implementation and that can give you a big edge in this competing market.

you are saying it is a future solution, any idea when this will be usable/start?

thx
legendary
Activity: 3808
Merit: 1723
January 17, 2018, 04:34:25 AM
#4
also make sure to take a look at Lightning Network.
https://lightning.network/

I am not an expert myself in the matter but basically you open up a channel and everyone else with an LN wallet can simply connect to you make an instant and practically free of charge payment. they play in your website then they can make an instant withdrawal again with no delays and practically free to their wallet.
https://medium.com/@jadmubaslat/bitcoin-lightning-network-node-easy-setup-tutorial-for-windows-desktop-users-a-how-to-guide-9937b5a8a669

ps. this is more of a future solution but if you implement it sooner, you will be the owner of the first online bitcoin casino with Lightning Network implementation and that can give you a big edge in this competing market.

Right now at the moment its not a good idea to use the lightning network except for very small micropayments which you send out completely at your own risk.

Most of the sites that accept it at the moment such as Blockstream or the VPN web service, are only using it because its for payments around $10 or so. And each of them are aware of the current risks.

There are many bugs currently and there are also probably tons of bugs out that haven't been discovered yet. Basically think of it like the ETH DAO hack back in 2016.
legendary
Activity: 1638
Merit: 1163
Where is my ring of blades...
January 17, 2018, 03:33:58 AM
#3
also make sure to take a look at Lightning Network.
https://lightning.network/

I am not an expert myself in the matter but basically you open up a channel and everyone else with an LN wallet can simply connect to you make an instant and practically free of charge payment. they play in your website then they can make an instant withdrawal again with no delays and practically free to their wallet.
https://medium.com/@jadmubaslat/bitcoin-lightning-network-node-easy-setup-tutorial-for-windows-desktop-users-a-how-to-guide-9937b5a8a669

ps. this is more of a future solution but if you implement it sooner, you will be the owner of the first online bitcoin casino with Lightning Network implementation and that can give you a big edge in this competing market.
legendary
Activity: 1876
Merit: 1295
DiceSites.com owner
January 16, 2018, 09:46:02 PM
#2
Most are using Bitcoin Core and connect directly with bitcoind's RPC commands: https://bitcoin.org/en/developer-reference#bitcoin-core-apis and notify options. Google a bit more on that and you probably find some ways to do it.
newbie
Activity: 8
Merit: 0
January 16, 2018, 08:17:50 PM
#1
I'm currently writing a BTC casino but I'm not entirely sure how to accept the payments? I know there's payment gateways but the other dice sites seem to be doing it directly.

I suppose they are using some APIs, could someone tell me which ones are best?
Jump to: