Bitcoin Forum
January 19, 2019, 09:57:22 PM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to accept payments for BTC casino?  (Read 83 times)
GrahamMopar
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
January 17, 2018, 01:17:50 AM
 #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?
1547935042
Hero Member
*
Offline Offline

Posts: 1547935042

View Profile Personal Message (Offline)

Ignore
1547935042
Reply with quote  #2

1547935042
Report to moderator
1547935042
Hero Member
*
Offline Offline

Posts: 1547935042

View Profile Personal Message (Offline)

Ignore
1547935042
Reply with quote  #2

1547935042
Report to moderator
1547935042
Hero Member
*
Offline Offline

Posts: 1547935042

View Profile Personal Message (Offline)

Ignore
1547935042
Reply with quote  #2

1547935042
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1547935042
Hero Member
*
Offline Offline

Posts: 1547935042

View Profile Personal Message (Offline)

Ignore
1547935042
Reply with quote  #2

1547935042
Report to moderator
1547935042
Hero Member
*
Offline Offline

Posts: 1547935042

View Profile Personal Message (Offline)

Ignore
1547935042
Reply with quote  #2

1547935042
Report to moderator
1547935042
Hero Member
*
Offline Offline

Posts: 1547935042

View Profile Personal Message (Offline)

Ignore
1547935042
Reply with quote  #2

1547935042
Report to moderator
NLNico
Legendary
*
hacker
Offline Offline

Activity: 1820
Merit: 1193


DiceSites.com owner


View Profile WWW
January 17, 2018, 02:46:02 AM
 #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.

Pursuer
Legendary
*
Offline Offline

Activity: 1386
Merit: 1112


Where is my ring of blades...


View Profile
January 17, 2018, 08: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.

adaseb
Legendary
*
Offline Offline

Activity: 1848
Merit: 1109



View Profile
January 17, 2018, 09: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.

.FORTUNE.JACK.
      ▄▄███████▄▄
   ▄████▀▀ ▄ ██████▄
  ████ ▄▄███ ████████
 █████▌▐███▌ ▀▄ ▀█████
███████▄██▀▀▀▀▄████████
█████▀▄▄▄▄█████████████
████▄▄▄▄ █████████████
 ██████▌ ███▀████████
  ███████▄▀▄████████
   ▀█████▀▀███████▀
      ▀▀██████▀▀
         
         █
...FortuneJack.com                                             
...THE BIGGEST BITCOIN GAMBLING SITE
       ▄▄█████████▄▄
    ▄█████████████████▄
  ▄█████████████████████▄
 ▄██
█████████▀███████████▄
██████████▀   ▀██████████
█████████▀       ▀█████████
████████           ████████
████████▄   ▄ ▄   ▄████████
██████████▀   ▀██████████
 ▀██
█████████████████████▀
  ▀██
███████████████████▀
    ▀█████████████████▀
       ▀▀█████████▀▀
#JACKMATE
WIN 1 BTC
▄█████████████████████████▄
███████████████████████████
███████████████████████████
██████████▀█████▀██████████
███████▀░░▀░░░░░▀░░▀███████
██████▌░░░░░░░░░░░░░▐██████
██████░░░░██░░░██░░░░██████
█████▌░░░░▀▀░░░▀▀░░░░▐█████
██████▄░░▄▄▄░░░▄▄▄░░▄██████
████████▄▄███████▄▄████████

███████████████████████████
███████████████████████████
▀█████████████████████████▀
JackpotRacer
Legendary
*
Offline Offline

Activity: 1246
Merit: 1001


Racer and Lottery game are Closed


View Profile WWW
January 17, 2018, 10: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

Pursuer
Legendary
*
Offline Offline

Activity: 1386
Merit: 1112


Where is my ring of blades...


View Profile
January 18, 2018, 08: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.

Quote
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.
so far as I know, nobody is really using it yet (that is why I said more of a future solution) these use cases (selling shirt by blockstream?) and the VPN thing was for testing purposes and showing how it works. there also have been others such as buying a coffee, etc. they use small payments because it is meant to show how small payments are possible for no fee using LN. otherwise buying a Lamborghini using LN doesn't really say much Wink

Quote
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.
DAO was and still is a fundamental bug in ETH platform that can happen at any time again and it has already happened at least 3 times with 3 other smart contracts if I am not mistaken but the size were small and the ETH foundation didn't lose any money because of it so it stayed out of the news. and the fork didn't solve anything about it.
don't compare that with LN which is a new software and may have some bugs.

...
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.

kryptqnick
Legendary
*
Offline Offline

Activity: 1162
Merit: 1035


View Profile
January 18, 2018, 08: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.
wbet7.com
Newbie
*
Offline Offline

Activity: 74
Merit: 0


View Profile WWW
January 18, 2018, 02:12:12 PM
 #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

Patatas
Legendary
*
Offline Offline

Activity: 1428
Merit: 1066


Crypto-Games.net: Multiple coins, multiple games


View Profile
January 18, 2018, 06: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.


▄▄▄████████▄▄▄
▄██████████████████▄
▄██████████████████████▄
██████████████████████████
████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
████████████████████████████
██████████████████████████
▀██████████████████████▀
▀██████████████████▀
▀▀▀████████▀▀▀
   ███████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
███████
BTC  ◉PLAY  ◉XMR  ◉DOGE  ◉BCH  ◉STRAT  ◉ETH  ◉GAS  ◉LTC  ◉DASH  ◉PPC
     ▄▄██████████████▄▄
  ▄██████████████████████▄        █████
▄██████████████████████████▄      █████
████ ▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄ ████     ▄██▀
████ █████ ██████ █████ ████    ▄██▀
████ █████ ██████ █████ ████    ██▀
████ █████ ██████ █████ ████    ██
████ ▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀ ████ ▄██████▄
████████████████████████████ ████████
███████▀            ▀███████ ▀██████▀
█████▀                ▀█████
▀██████████████████████████▀
  ▀▀████████████████████▀▀ 
✔️DICE           
✔️BLACKJACK
✔️PLINKO
✔️VIDEO POKER
✔️ROULETTE     
✔️LOTTO
Pages: [1]
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!