Have you even bothered to read the readme file?
MyFaucet Set Up Instructions
Version: 0.11. Copyright [email protected]
- Create a new Inputs.io account for your faucet.
- Upload the scripts to the server.
- Follow instructions in config.php
No warranty or support is provided with this software.
// Database Config
// You will need to import the SQL file first and create a MySQL database and user
$sqlHost = “localhost”; //Unless your MySQL server is on another server, leave it at 127.0.0.1
$sqlUser = “username”; //Your MySQL username with permissions to modify the new database you created
$sqlPassword = “password”; //Your MySQL password
$sqlDatabase = “databasename”; //The MySQL database you created and imported
$mysqli = new mysqli($sqlHost, $sqlUser, $sqlPassword, $sqlDatabase);
echo "SQL error: " . $mysqli->connect_error;
// Site Config
$siteName = “MyFaucet”;
// Array of 8 rewards in satoshis. 100,000,000 satoshis = 1 BTC
// 1 mBTC = 100,000 Satoshis
// 1 μBTC (microbitcoin) = 100 Satoshis
$rewards = [1000, 1500, 2000, 2500, 3000, 3500, 4000, 5000];
$minReward = min($rewards);
$maxReward = max($rewards);
$dispenseTime = 3600; // how long per dispense (in seconds)
$dispenseTimeText = relative_time(time() + $dispenseTime);
$cashout = 20000; //min cashout. must be at least 10,000 satoshi (0.1 mBTC for Inputs)
$cashoutMessage = “Cashout from MyFaucet - thanks for using!”; // note sent with cash out
// Inputs.io Account
// You need to make a NEW inputs.io account and generate an API key in the security tab
$apiKey = “yourApiKeyHere”;
$apiPin = “PIN”; // Your PIN
// Make sure you have added balance to it!
$referPercent = 25; //referral percentage
// Recaptcha API keys
// You need GET YOUR OWN. Here https://www.google.com/recaptcha/admin/create
$recaptchaPub = " PUBLIC KEY";
$recaptchaPrv = " PRIVATE KEY";
$links = “Adds links to your favorite Bitcoin faucets here
Adds links to your favorite Bitcoin faucets here
// Advertisement Codes
// All ads rotate. There are 3 types: square, text, and banner. Add HTML code to the array
$squareAds = [’’];
$textAds = [‘
CoinChat - get free Bitcoins chatting!’, ‘
Get your own faucet! MyFaucet PHP script - free!’];
$bannerAds = [’
Create a database in your hosting account whether it’s CPanel or whatever, create a user and assign it to the database, edit config.php with the database info e.g. whether the host is localhost or an IP, username, password etc, edit any of the other variables you need to in config.php and upload the files.