Skip to content

kizzbonez/steemcasino

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is SteemCasino?

SteemCasino is the first Open-Source, based on the Steem Blockchain Casino, where users can compete against other users in: Coinflip, Poker, Blackjack, Jackpot, RPS, Roulette and many more!

Join now at SteemCasino.org

Installation

git clone https://github.com/andreistalker/steemcasino.git
cd steemcasino/Transaction Bot
$ npm install mysql
$ npm install request
$ npm install steem

Import the .sql file into your database

Copy the htdocs folder in your Apache/Xampp/etc

Modify the first lines of Transaction Bot/main.js with your information

var con = mysql.createConnection({
  host: "localhost",
  user: "root",
  pass: "",
  database: "steemcasino"
});
var botName = "";
var activekey = "";

Modify htdocs/src/db.php with your database info.

$host = "localhost";
$user = "root";
$pass = "";
$database = "steemcasino";

Modify htdocs/src/config.php with your website address and bot name.

$botaccount = "";
$websiteadress = "http://localhost";

Modify htdocs/js/config.js with your website address

var sc2CallbackURL = 'http://localhost/loggedin.php';

Modify htdocs/js/sc2.js with your SteemConnect App Info

sc2.init(
{
	app: 'your-app-name-here',
	callbackURL: sc2CallbackURL,
	scope: ['login'],
});

Run the transaction bot.

$ node main.js

Start the Apache server.

You're all set up!

License

GNU Public License v3.0. Copyright SteemCasino

About

SteemCasino - Based on the steemit blockchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 74.9%
  • JavaScript 21.9%
  • CSS 3.2%