connect_errno){ echo "SQL error: " . $mysqli->connect_error; exit; } // Site Config $siteName = "MiniFaucet"; // Coin type // Valid types are: // - BTC: bitcoin // - LTC: litecoin // - NMC: namecoin // - BTCTEST: bitcoin testnet // - NVC: novacoin // - PPC: peercoin // - DOGE: dogecoin // - WDC: worldcoin // - MOON: mooncoin $coinType = "BTC"; // Array of 8 rewards in satoshis. 100,000,000 satoshis = 1 BTC // 1 mBTC = 100,000 Satoshis // 1 μBTC (microbitcoin) = 100 Satoshis $rewards = array(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); // Having time issues? Your MySQL time zone is different from your PHP time zone. // Contact your web hosting provider in that case. $cashout = 20000; //min cashout. must be at least 10,000 satoshi $cashoutMessage = "Cashout from $siteName - thanks for using!"; // note sent with cash out // Security code for admin page $adminSeccode = ""; // transaction fee in satoshis $fee = 20000; // Allowed address types $allowEmail = false; // allow coinbase email addresses (we can't verify that it is exists $allowCoin = true; // allow bitcoin addresses // MiniFaucet automatic detect which online wallet do you use: // If Coinbase api key is set then the site will use that // If you set the Blockchain's guid, then that will be used // Coinbase Account // You need to make a NEW Coinbase account and generate an API key in the security tab $apiKey = ""; // Blockchain Account // Enable double-encryption on your wallet. guid is your MyWallet identifier. // // If you will be accessing the API from a server with a static ip address is recommended you // enable the IP Lock found in the Security Section of your My Wallet account $guid = ""; $firstpassword = ""; $secondpassword = ""; // bitcoind Account // If you run a bitcoind, enable the JSON-RPC commands $rpchost = ""; $rpcssl = false; $rpcport = 8332; $rpcuser = ""; $rpcpassword = ""; // Make sure you have added balance to it! $referPercent = 15; //referral percentage $forcewait = 5; //seconds a user is forced to wait before cashing out. // 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 = array(''); $textAds = array('

CoinChat - get free Bitcoins chatting!

', '

Get your own faucet! MiniFaucet PHP script - free!

'); $bannerAds = array('');