Bitcoin Forum

Economy => Micro Earnings => Topic started by: mexicantarget on November 24, 2016, 06:20:55 PM



Title: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 24, 2016, 06:20:55 PM
https://twitter.com/FaucetHubIO/status/802286183510372352


www.FaucetHub.io
No SSL for a bit. Give it a try pentesters.
Hey guys!

I'm gonna launch BETA phase in the next 2-3 hours.
Launched.
a) It wont be live with blockchain. I need to test every single thing before I activate it.
b) Report me any bugs you find.
c) If you're a faucet owner, feel free to play with APIs.
d) MOST IMPORTANT: Some features are missing. If something is missing, please don't report it. I have a TODO list and I'll be adding those features every day. I had to take a break from coding since I got sick and lost 2 days.

Please keep an eye on post below this one, I'll be editing/adding important information.


IMPORTANT: THIS IS A BETA ANNOUNCEMENT. THIS TOPIC WILL BE LOCKED AFTER THE SITE BECOMES OPEN FOR PUBLIC.

@Kazuldur, added name change function. I hate you. :D
There's going to be a public log for username changes, so scammers can be tracked if needed.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 24, 2016, 06:21:08 PM
Placeholder for updates & FAQ. Before asking a question, please read FAQ and see if your question can be answered, so we all don't waste time. Thanks :)

FAQ:

Q: Do I keep the coins after BETA ends?
A: No, those coins are -fake-, so all accounts will be zeroed. (Balances)

Q: If I register now, will I have to register again when site goes live?
A: No, you won't need to register again. I'm not going to delete any accounts, just fake coins from accounts.

Reported bugs/fixed:

Create faucet isn'T working yet??
I get a message saying " a faucet already exist with this name'
EDIT: i get this error if i leave url field blank only - FIXED
EDIT 2: I can set timer and payout amount to negative numbers (Same thing with rate limits) FIXED
Need a confirmation window  when i delete faucet .. because now i can delete with 1 click
Multi addresses per account finished. I need users confirm it works.
http://faucethub.io/dashboard

Because of this addon, everyone will need to re-add their addresses. (The ones you linked in your accounts)

2 addresses added, confirmed, its working just fine  :)
Sweet! Thanks man!
edit:Should be fixed. Done a small update. Same thing as toecutter solution
@toecutter

I've fixed the balance check page, it should now show the correct balance (total of unpaid payouts).

@ everyone:
https://twitter.com/FaucetHubIO/status/802286183510372352

TODO:


Quote
tomos81 L1 Owner
and mex pls by default hide the API key , unreveal only after typing your account password - it's insecure when you oing to shit and your friend will look at your display :)


EDIT: I'll stop adding stuff here. Takes too much time. Please check the topic for more info.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: tomos81 on November 24, 2016, 06:23:47 PM
One question:

you mentioned "fake satoshis" in earlier posts...
After BETA - they will be lost (set to 0), or can be converted to real satoshis if no problems in BETA?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 24, 2016, 06:24:41 PM
One question:

you mentioned "fake satoshis" in earlier posts...
After BETA - they will be lost (set to 0), or can be converted to real satoshis if no problems in BETA?

All accounts are going to be zeroed. It's test coins.

Added this as FAQ


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: tomos81 on November 24, 2016, 06:54:12 PM
One question:

you mentioned "fake satoshis" in earlier posts...
After BETA - they will be lost (set to 0), or can be converted to real satoshis if no problems in BETA?

All accounts are going to be zeroed. It's test coins.

Added this as FAQ

thanks. and what about registered accounts? they will be zeroed too?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: felicita on November 24, 2016, 06:56:31 PM
my faucet and all meber of it are ready to test your service :P
will implement and test your service as soon as you released BETA Phase !



kind regards


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 24, 2016, 06:58:20 PM
One question:

you mentioned "fake satoshis" in earlier posts...
After BETA - they will be lost (set to 0), or can be converted to real satoshis if no problems in BETA?

All accounts are going to be zeroed. It's test coins.

Added this as FAQ

thanks. and what about registered accounts? they will be zeroed too?
Added it to FAQ. Accounts will be kept. Only fake balances will be removed

my faucet and all meber of it are ready to test your service :P
will implement and test your service as soon as you released BETA Phase !



kind regards
Nice. Expect the site be online in the next 1-3 hours, since I need to make sure it's 100% ready for BETA phase.
If everything goes well, site will launch pretty soon :)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: FusionSe7en on November 24, 2016, 07:06:10 PM
I'm anxious for this release... I really need one nice micropayment processor to add in my faucets.
FaucetHub.io looks the best at the moment... Waiting for the BETA :v


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: Kazuldur on November 24, 2016, 07:27:45 PM
Are you okay with small pentesting during beta? Just random checks for XSS, CSRF etc. (I'm a sysadmin, not a pentester, so don't rely on me finding nothing :P)

EDIT:

How long will beta last?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 24, 2016, 07:30:30 PM
Are you okay with small pentesting during beta? Just random checks for XSS, CSRF etc. (I'm a sysadmin, not a pentester, so don't rely on me finding nothing :P)
Of course. I need as much feedback possible so I can patch all sec holes :)

EDIT: Not more than 1-2 days, hopefully?

EDIT2: Actually, I'm thinking to launch last day of this month. That's the last deadline I gave myself, since I spoke too early about completing this monster system in just 1-2 weeks. It's been 18 days since I announced the project. 10% left to be completed. I just need everyone test/get familiar with the site before everything is ready.

Just want to make sure everything will go as planned, that's all.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: Scaccomatt0 on November 24, 2016, 08:15:27 PM
first congrats sir for the hard non-stop work!
Second congrats when all is live in production environment :)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 24, 2016, 08:25:03 PM
first congrats sir for the hard non-stop work!
Second congrats when all is live in production environment :)
Thanks man! Same to you!


@everyone else:

PHP lib is untested. If you find any bugs, please let me know.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: smho_16 on November 24, 2016, 09:00:41 PM
Well since the name is similar to Pxxnhub, I hope the quality of your site will be equal to them in term of faucet licking  ;D.

On a more serious note, I would really love to see this faucet rotator of yours do well and be free of pop-up windows, or russians faucets. If you manage to avoid such things, I am sure it will be one of the best faucet rotators if not the absolute best of all.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 24, 2016, 09:17:38 PM
Well since the name is similar to Pxxnhub, I hope the quality of your site will be equal to them in term of faucet licking  ;D.

On a more serious note, I would really love to see this faucet rotator of yours do well and be free of pop-up windows, or russians faucets. If you manage to avoid such things, I am sure it will be one of the best faucet rotators if not the absolute best of all.
p*rnhub will be jealous of faucethub. They will send all their p*rn stars to steal our secret sauce of success.

On a more serious note, ;p

I can't discriminate any countries/communities, but what I can do is add a separate tab for "foreign" faucets.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: shahab on November 24, 2016, 09:44:00 PM
On a more serious note, I would really love to see this faucet rotator of yours do well and be free of pop-up windows.

lol
a faucet without popup, country tier, ...
also today google send warning message on my site and i must remove the harmful file (because of adsterra banner!) .
on this way i'm crazy to run a faucet site :]
i have just mellowads and a-ads banners on my sites with poor income, and 2 more native ad network(2 popup per day).
so consideration for users isn't so hard if they want faucets be alive.

edit: beside these, i have one user that everyday click on site banner, just known as ip.
if you see this post, I say with this tribune; thanks dude, you are a big man :)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 24, 2016, 10:28:35 PM
Are you guys ready? I'm ready. Give me the go and BETA starts


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: shahab on November 24, 2016, 10:31:24 PM
Are you guys ready? I'm ready. Give me the go and BETA starts

go0O


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 24, 2016, 10:34:48 PM
AND, LIVE BETA!

http://faucethub.io/


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: 5ub_zer0 on November 24, 2016, 10:39:07 PM
no SSL ?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 24, 2016, 10:39:40 PM
no SSL ?
Mentioned in first post. Please check it out

Quote
No SSL for a bit. Give it a try pentesters.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: 5ub_zer0 on November 24, 2016, 10:46:06 PM
no SSL ?
Mentioned in first post. Please check it out

Quote
No SSL for a bit. Give it a try pentesters.

Sorry - I read the whole post on left side but didnt see the topic in the middle ^^


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: grosminer on November 24, 2016, 10:47:07 PM
OMG it looks nice already.. love the chat system (credits vs rain + quests)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 24, 2016, 10:49:30 PM
OMG it looks nice already.. love the chat system (credits vs rain + quests)

Man, forget the quests. I didn't edit "?" tab, lol, sorry.

I took it from pokebits.com and forgot about it completely.

Editing!


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: grosminer on November 24, 2016, 10:55:28 PM
Create faucet isn'T working yet??
I get a message saying " a faucet already exist with this name'

EDIT: i get this error if i leave url field blank only
EDIT 2: I can set timer and payout amount to negative numbers (Same thing with rate limits)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: grosminer on November 24, 2016, 11:04:50 PM
Need a confirmation window  when i delete faucet .. because now i can delete with 1 click


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 24, 2016, 11:05:47 PM
Create faucet isn'T working yet??
I get a message saying " a faucet already exist with this name'

EDIT: i get this error if i leave url field blank only - FIXED
EDIT 2: I can set timer and payout amount to negative numbers (Same thing with rate limits) FIXED

TODO:

Need a confirmation window  when i delete faucet .. because now i can delete with 1 click

EDIT:

Fixed all.

Keep em coming folks


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: Turn0ff on November 25, 2016, 12:01:43 AM
Create faucet isn'T working yet??
I get a message saying " a faucet already exist with this name'

EDIT: i get this error if i leave url field blank only - FIXED
EDIT 2: I can set timer and payout amount to negative numbers (Same thing with rate limits) FIXED

TODO:

Need a confirmation window  when i delete faucet .. because now i can delete with 1 click

EDIT:

Fixed all.

Keep em coming folks

Great work, mex :)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 12:22:56 AM
Create faucet isn'T working yet??
I get a message saying " a faucet already exist with this name'

EDIT: i get this error if i leave url field blank only - FIXED
EDIT 2: I can set timer and payout amount to negative numbers (Same thing with rate limits) FIXED

TODO:

Need a confirmation window  when i delete faucet .. because now i can delete with 1 click

EDIT:

Fixed all.

Keep em coming folks

Great work, mex :)

Thanks :)

All reported bugs have been fixed, even those which were reported in chatbox.



Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: LTU_btc on November 25, 2016, 12:45:15 AM
I can't confirm my account. I didn't received confirmation email message (I checked spam folder).


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 12:54:00 AM
I can't confirm my account. I didn't received confirmation email message (I checked spam folder).
Can you PM me your e-mail?
Thanks

EDIT: From what I see in the system, you've clicked on the link and your account is active now?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: LTU_btc on November 25, 2016, 01:00:27 AM
I can't confirm my account. I didn't received confirmation email message (I checked spam folder).
Can you PM me your e-mail?
Thanks

EDIT: From what I see in the system, you've clicked on the link and your account is active now?
Yes, everything is fine now. I received email a bit later than I expected.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 01:33:10 AM
I can't confirm my account. I didn't received confirmation email message (I checked spam folder).
Can you PM me your e-mail?
Thanks

EDIT: From what I see in the system, you've clicked on the link and your account is active now?
Yes, everything is fine now. I received email a bit later than I expected.
Glad it worked :)

Guess that's it for today. I'm going to chill for now.

If you have any issues/questions, please post in this thread and I'll answer to everything tomorrow when I wake up.

Thanks


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mrcash02 on November 25, 2016, 02:40:30 AM
Nice, I'm just waiting the FaucetBox script mofidicated to try starting a faucet in FaucetHub, I already have everything needed, but it's on FaucetBox yet.

I don't understand very well how to do it... So, better to wait the easily way be ready.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: Butord on November 25, 2016, 06:30:34 AM
It's not a big problem but if I choose russian room chat and than go to statistic menu (or any else) chat room returns to English


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 06:46:04 AM
It's not a big problem but if I choose russian room chat and than go to statistic menu (or any else) chat room returns to English
Well, the majority of the site users speaks English, it's normal, heh

Nice, I'm just waiting the FaucetBox script mofidicated to try starting a faucet in FaucetHub, I already have everything needed, but it's on FaucetBox yet.

I don't understand very well how to do it... So, better to wait the easily way be ready.
I'm sure there's people willing to help you figure it out. It's very simple.
You can use any script you want, you just need to make sure APIs are used correctly :)


The site looks awesome Mex going to have a look around also Good job on creating ya own Micropayment site :)
Thanks Josh!


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: Gifted on November 25, 2016, 07:01:47 AM
Very impressive, what are your fees? The website looks promising . Are you going to add faucet scripts to download or just going to migrate from Faucetbox scripts? I will be watching this thread for when you are through with Beta to test out your system. Good luck with your site.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 07:08:54 AM
Very impressive, what are your fees? The website looks promising . Are you going to add faucet scripts to download or just going to migrate from Faucetbox scripts? I will be watching this thread for when you are through with Beta to test out your system. Good luck with your site.
Standard fee is 1.5%. Wont be higher or lower in the future.
Yes, there's going to be a custom made script made by me from scratch, just, I don't know when. Might take 1 month, or two. Not quite sure, since I wasn't planning to work on this microwallet project, until I heard the news about faucetbox.
I was planning to launch my adnet until end of the year.

Thanks man, appreciate it :)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: xyzabc on November 25, 2016, 09:10:45 AM
Invalid Bitcoin Address
The address entered is not a valid Bitcoin address

For xapo addresses . Will this be fixed?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 09:47:17 AM
Invalid Bitcoin Address
The address entered is not a valid Bitcoin address

For xapo addresses . Will this be fixed?
I'll see what I can do.

I'm not really a fan of XAPO. I consider it more like a bank, than a wallet.
Bitcoin's philosophy is against such things. Bitcoin requires anonymity ;p


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: toecutter on November 25, 2016, 09:52:06 AM
Hey, so implementing FaucetHUB over here,

first of all, could you please merge this patch?
Code:
--- faucethub-orig.php	2016-11-25 09:21:04.000000000 +0400
+++ faucethub.php 2016-11-25 13:40:06.742170900 +0400
@@ -18,15 +18,26 @@
 {
     protected $api_key;
     protected $currency;
+    protected $timeout;
     public $last_status = null;
     protected $api_base = "https://faucethub.io/api/v1/";
 
-    public function __construct($api_key, $currency = "BTC", $disable_curl = false, $verify_peer = true) {
+    public function __construct($api_key, $currency = "BTC", $disable_curl = false, $verify_peer = true, $timeout = null) {
         $this->api_key = $api_key;
         $this->currency = $currency;
         $this->disable_curl = $disable_curl;
         $this->verify_peer = $verify_peer;
         $this->curl_warning = false;
+        $this->setTimeout($timeout);
+    }
+
+    public function setTimeout($timeout) {
+        if($timeout === null) {
+            $socket_timeout = ini_get('default_socket_timeout');
+            $script_timeout = ini_get('max_execution_time');
+            $timeout = min($script_timeout / 2, $socket_timeout);
+        }
+        $this->timeout = $timeout;
     }
 
     public function __execPHP($method, $params = array()) {
@@ -35,7 +46,8 @@
             "http" => array(
                 "method" => "POST",
                 "header" => "Content-type: application/x-www-form-urlencoded\r\n",
-                "content" => http_build_query($params)
+                "content" => http_build_query($params),
+                "timeout" => $this->timeout,
             ),
             "ssl" => array(
                 "verify_peer" => $this->verify_peer
@@ -43,6 +55,12 @@
         );
         $ctx = stream_context_create($opts);
         $fp = fopen($this->api_base . $method, 'rb', null, $ctx);
+        if (!$fp) {
+            return array(
+                'status' => 503,
+                'message' => 'Connection error',
+            );
+        }
         $response = stream_get_contents($fp);
         if($response && !$this->disable_curl) {
             $this->curl_warning = true;
@@ -58,11 +76,18 @@
         } else {
             $response = $this->__execCURL($method, $params);
         }
-        $response = json_decode($response, true);
+        if(is_array($response)) { //connection error
+            return $response;
+        }
+        $response = @json_decode($response, true);
         if($response) {
             $this->last_status = $response['status'];
         } else {
             $this->last_status = null;
+            $response = array(
+                'status' => 502,
+                'message' => 'Invalid response',
+            );
         }
         return $response;
     }
@@ -75,10 +100,14 @@
         curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
         curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, $this->verify_peer);
         curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
+        curl_setopt($ch, CURLOPT_TIMEOUT, (int)$this->timeout);
 
         $response = curl_exec($ch);
         if(!$response) {
-            $response = $this->__execPHP($method, $params);
+            return array(
+                'status' => 504,
+                'message' => 'Connection error',
+            );
         }
         curl_close($ch);
 
@@ -86,6 +115,8 @@
     }
 
     public function send($to, $amount, $referral = "false", $ip_address = "") {
+        if ($referral === false) $referral = 'false';
+        if ($referral === true) $referral = 'true';
         $r = $this->__exec("send", array("to" => $to, "amount" => $amount, "referral" => $referral, "ip_address" => $ip_address));
         if (array_key_exists("status", $r) && $r["status"] == 200) {
             return array(

here's the super-long explanation of what it does https://bitcointalk.org/index.php?topic=1094930.msg13080814#msg13080814

TL;DR version is that it
adds timeout checks -- good
adds proper handling of connection errors and wrong responses -- good
does that by adding fake error codes -- bad, please review
does this thing
Code:
         $response = curl_exec($ch);
         if(!$response) {
-            $response = $this->__execPHP($method, $params);
-- because if it failed, it failed, magical silent retry with another method is evil -- controversial
etc

Feel free to ignore the code, but please do tend to the problems it solves. And of course, ask me anything if it needs any clarifications.



Next up, I've signed up with AddressA. Now I'm trying to withdraw to AddressB, and FH suggests I link it to my account on address check page.

(Honestly, this whole "signup before use" is not something I like at all, but I'll post at another thread to keep this one clean)

But, anyways, as I try to link the address, by clicking the buton, I just get redirected to my dashboard... And it looks like there is no option to link currently? I see my original AddressA there, with no ability to change it. Game over?



And the most important question of all: where do I get 'em sweet fake coins?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 04:24:17 PM
Hey, so implementing FaucetHUB over here,

first of all, could you please merge this patch?
Code:
-snip-
-- because if it failed, it failed, magical silent retry with another method is evil -- controversial
etc

Feel free to ignore the code, but please do tend to the problems it solves. And of course, ask me anything if it needs any clarifications.



Next up, I've signed up with AddressA. Now I'm trying to withdraw to AddressB, and FH suggests I link it to my account on address check page.

(Honestly, this whole "signup before use" is not something I like at all, but I'll post at another thread to keep this one clean)

But, anyways, as I try to link the address, by clicking the buton, I just get redirected to my dashboard... And it looks like there is no option to link currently? I see my original AddressA there, with no ability to change it. Game over?



And the most important question of all: where do I get 'em sweet fake coins?

Done, please check it out :)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: Gifted on November 25, 2016, 05:27:29 PM
Invalid Bitcoin Address
The address entered is not a valid Bitcoin address

For xapo addresses . Will this be fixed?
I'll see what I can do.

I'm not really a fan of XAPO. I consider it more like a bank, than a wallet.
Bitcoin's philosophy is against such things. Bitcoin requires anonymity ;p

The problem is fixable , you just need to let the faucet accept multi sig addresses that start with 3


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: Kazuldur on November 25, 2016, 05:31:13 PM
Invalid Bitcoin Address
The address entered is not a valid Bitcoin address

For xapo addresses . Will this be fixed?
I'll see what I can do.

I'm not really a fan of XAPO. I consider it more like a bank, than a wallet.
Bitcoin's philosophy is against such things. Bitcoin requires anonymity ;p

The problem is fixable , you just need to let the faucet accept multi sig addresses that start with 3

Not only Xapo uses P2SH (https://en.bitcoin.it/wiki/Pay_to_script_hash) addresses. Many wallets do and it's a great way to increase security of coins.
There are also P2SH addresses for other currencies. However note that P2SH addresses for Bitcoin and Litecoin are indistinguishable, which means that a valid Bitcoin P2SH address is also valid Litecoin P2SH address. If you expect that address itself can be used as a unique qualifier, that may be problematic.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: toecutter on November 25, 2016, 06:11:45 PM
Done, please check it out :)

Awesome!!! I'm merging it back. One sore note, though, and I feel really really stupid, as the patch missed that change:

Code:
-        $fp = fopen($this->api_base . $method, 'rb', null, $ctx);
+        $fp = @fopen($this->api_base . $method, 'rb', null, $ctx);
...
-        $response = json_decode($response, true);
+        $response = @json_decode($response, true);

those two adjustments really are needed.

I know you probably have an aversion to error-silencing "feature" of PHP, but as both those functions emit Warnings in addition to returning null when something goes wrong, it's the way to go. Plus we check the return values as soon as possible, it's fine really.

Sorry again for wasting your time with incomplete patch :(

BTW, http://faucethub.io/phplib lists "PDO module for PHP" and "PDO compatible database and PHP driver" under Requirements. As you know, those aren't really used in the bare lib. You could also downgrade "cURL PHP module" to "Optional/Recommended" while you're at it.



Still waiting for an ability to link multiple addresses into single account and to get my hands on those precious -FAKE- DOGE coins. Burning with excitement, even! :)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: Scaccomatt0 on November 25, 2016, 07:16:24 PM
LOL

http://faucethub.io/admin

 ;D


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 08:49:46 PM
LOL

http://faucethub.io/admin

 ;D
You had to, didn't you?! :D
Now i'm stuck listening it.

Done, please check it out :)

Awesome!!! I'm merging it back. One sore note, though, and I feel really really stupid, as the patch missed that change:

Code:
-        $fp = fopen($this->api_base . $method, 'rb', null, $ctx);
+        $fp = @fopen($this->api_base . $method, 'rb', null, $ctx);
...
-        $response = json_decode($response, true);
+        $response = @json_decode($response, true);

those two adjustments really are needed.

I know you probably have an aversion to error-silencing "feature" of PHP, but as both those functions emit Warnings in addition to returning null when something goes wrong, it's the way to go. Plus we check the return values as soon as possible, it's fine really.

Sorry again for wasting your time with incomplete patch :(

BTW, http://faucethub.io/phplib lists "PDO module for PHP" and "PDO compatible database and PHP driver" under Requirements. As you know, those aren't really used in the bare lib. You could also downgrade "cURL PHP module" to "Optional/Recommended" while you're at it.



Still waiting for an ability to link multiple addresses into single account and to get my hands on those precious -FAKE- DOGE coins. Burning with excitement, even! :)
Working on multi addy feature. I'm really against this, but if it's gonna help you guys, then it's fine. (Sad_face.png)

Suppressing of errors is a bad thing to have, and that error handling is something thats very much down to the server environment and php configuration :(

Can you please test with BTC for now, instead of DOGE? (Or you have only the ability to test DOGE?)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: tomos81 on November 25, 2016, 08:55:37 PM
@mexicantarget - do you know about the bug - the addresses starting with 3 are not accepted? One of my BTC game player complained about that

PS: I am going to make fake withdraw button now :)
So i can change temporarily https to http ?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 09:02:07 PM
@mexicantarget - do you know about the bug - the addresses starting with 3 are not accepted? One of my BTC game player complained about that

PS: I am going to make fake withdraw button now :)
So i can change temporarily https to http ?
That user should try again. I might have fixed it. Please let me know if it works if anyone can test/confirm this.

Yeah, you can use http for now. Live version will have SSL/HTTPS.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: toecutter on November 25, 2016, 09:17:39 PM
Suppressing of errors is a bad thing to have, and that error handling is something thats very much down to the server environment and php configuration :(

Alright :/

Working on multi addy feature. I'm really against this, but if it's gonna help you guys, then it's fine. (Sad_face.png)

Wait, if you think that this request is unreasonable, you should just explain the expected workflow and we would just follow it. I simply assumed testing this whole system expects at least 2 different BTC addresses to be involved? Or should we just get multiple accounts, or..? Otherwise, good to hear, can't wait to see it in action!

Can you please test with BTC for now, instead of DOGE? (Or you have only the ability to test DOGE?)

No, BTC would do just fine, I was just kidding, don't worry about it.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 09:37:55 PM
Suppressing of errors is a bad thing to have, and that error handling is something thats very much down to the server environment and php configuration :(

Alright :/

Working on multi addy feature. I'm really against this, but if it's gonna help you guys, then it's fine. (Sad_face.png)

Wait, if you think that this request is unreasonable, you should just explain the expected workflow and we would just follow it. I simply assumed testing this whole system expects at least 2 different BTC addresses to be involved? Or should we just get multiple accounts, or..? Otherwise, good to hear, can't wait to see it in action!

Can you please test with BTC for now, instead of DOGE? (Or you have only the ability to test DOGE?)

No, BTC would do just fine, I was just kidding, don't worry about it.
90% done with multi-addresses :)

PS: Remind me to give you 0.001 BTC when you start using FH.

("reward", test purposes)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 10:07:17 PM
Multi addresses per account finished. I need users confirm it works.
http://faucethub.io/dashboard

Because of this addon, everyone will need to re-add their addresses. (The ones you linked in your accounts)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: felicita on November 25, 2016, 10:09:09 PM
iam a bit confused ???
on your page stands this is a BTA test and all balances are fake ???
also you say balnces will be zerored ?

so i cant deposit somethink that m users can withdraw ?
dont really understand the status of page ;D


kind regards


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 10:12:21 PM
iam a bit confused ???
on your page stands this is a BTA test and all balances are fake ???
also you say balnces will be zerored ?

so i cant deposit somethink that m users can withdraw ?
dont really understand the status of page ;D


kind regards
It means that you can play with APIs and other stuff.
All balances are fake so you can test the site before you add it in your site :D (When it launches)

I need to know 100% all APIs are working for everyone and everyone understands how to use the stuff needed


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: tomos81 on November 25, 2016, 10:39:29 PM
Feature sugestion:

If i am a faucet owner, and faucet user (2 in 1) , it would be pretty feature to send satoshis from your user's wallet to faucet wallet :)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: toecutter on November 25, 2016, 10:41:34 PM
Multi addresses per account finished. I need users confirm it works.
http://faucethub.io/dashboard

Because of this addon, everyone will need to re-add their addresses. (The ones you linked in your accounts)

Woah, that was fast!

So I finally sent 1 satoshi using the API, and it looks like everything works as expected! Congrats, everything went smoothly!

However, the whole notion of multi-addr is hard to grasp given you have combined balance for everything... Is that a bug or a feature? If it's actually a feature, it's actually kinda cool, but which address will the system use for payouts then? What exactly is the progress bar showing?

And on a related note, similar question arose even before the multi-addr. So we have one account as faucet owners and users. Kinda cool and convenient. But then... going to /balance/Address shows you you're about to reach the threshold, and that the satoshi are about to be sent to you? The same satoshi you actually deposited just now to spend on your faucet? Does it mean we're locked in a perpetual loop?

(The obvious answer is that I'm just missing something, and/or maybe some page is not showing what it's supposed to be, but in the slight case there really is a conceptual problem here, please take a look).


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: redukt on November 25, 2016, 10:42:44 PM
Feature suggestion: allow for multiple earning amounts, keyed to the percentage likelihood that you will earn that amount; this is an awkward way of asking that you essentially duplicate the FaucetBox withdrawal scheme, where any amount of currency may be entered as a reward along with the likelihood out of 100% total that this amount will be earned any given use of the faucet.

Many thanks for your hard work and stepping up so quickly in light of the news re: FaucetBox closing!


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 10:46:56 PM
Feature sugestion:

If i am a faucet owner, and faucet user (2 in 1) , it would be pretty feature to send satoshis from your user's wallet to faucet wallet :)
That's already done :) You just need to have patience until launch.
There's a lot of hidden features I didn't launch now in beta.


HTTPS added.


PS: Writing reply for other comments


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 10:56:16 PM
Multi addresses per account finished. I need users confirm it works.
http://faucethub.io/dashboard

Because of this addon, everyone will need to re-add their addresses. (The ones you linked in your accounts)

Woah, that was fast!

So I finally sent 1 satoshi using the API, and it looks like everything works as expected! Congrats, everything went smoothly!

However, the whole notion of multi-addr is hard to grasp given you have combined balance for everything... Is that a bug or a feature? If it's actually a feature, it's actually kinda cool, but which address will the system use for payouts then? What exactly is the progress bar showing?

And on a related note, similar question arose even before the multi-addr. So we have one account as faucet owners and users. Kinda cool and convenient. But then... going to /balance/Address shows you you're about to reach the threshold, and that the satoshi are about to be sent to you? The same satoshi you actually deposited just now to spend on your faucet? Does it mean we're locked in a perpetual loop?

(The obvious answer is that I'm just missing something, and/or maybe some page is not showing what it's supposed to be, but in the slight case there really is a conceptual problem here, please take a look).

You may be right about the balance check page showing an incorrect amount, since it was not designed with multi addresses in mind. I will update it to reflect the differences. Each address linked to your account will have the payouts it received sent to it upon the threshold, however the threshold you set is the same for each address.

Feature suggestion: allow for multiple earning amounts, keyed to the percentage likelihood that you will earn that amount; this is an awkward way of asking that you essentially duplicate the FaucetBox withdrawal scheme, where any amount of currency may be entered as a reward along with the likelihood out of 100% total that this amount will be earned any given use of the faucet.

Many thanks for your hard work and stepping up so quickly in light of the news re: FaucetBox closing!
I'll see what I can do :)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: Racey on November 25, 2016, 11:16:41 PM
Address Linked
Your address has been added to your account!
You may now recieve payouts instantly from any faucet/website using the address 3QdS5DNSy8AndnXCA8j2yJFNTufwCMu1mk

Thanks for this update ;)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: toecutter on November 25, 2016, 11:25:19 PM
You may be right about the balance check page showing an incorrect amount, since it was not designed with multi addresses in mind. I will update it to reflect the differences. Each address linked to your account will have the payouts it received sent to it upon the threshold, however the threshold you set is the same for each address.

The part about different addresses for single user is now 100% clear, thank you. In that case, yeah, check the balance check page.

The part about owner/user is not that clear. For example, right now I've got 284 satoshi from your rainmaster. Those satoshi are showing up both on the user side and on the owner side. I'm not sure if those 2 sides should or should not be separated at all, conceptually..? But I was able to use those 284 satoshi to send myself 1, to end up with 284.

Are those questions making any sense? Should I just wait for the next update?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 11:27:12 PM
You may be right about the balance check page showing an incorrect amount, since it was not designed with multi addresses in mind. I will update it to reflect the differences. Each address linked to your account will have the payouts it received sent to it upon the threshold, however the threshold you set is the same for each address.

The part about different addresses for single user is now 100% clear, thank you. In that case, yeah, check the balance check page.

The part about owner/user is not that clear. For example, right now I've got 284 satoshi from your rainmaster. Those satoshi are showing up both on the user side and on the owner side. I'm not sure if those 2 sides should or should not be separated at all, conceptually..? But I was able to use those 284 satoshi to send myself 1, to end up with 284.

Are those questions making any sense? Should I just wait for the next update?
Sorry, didn't reply to that part.

Owner/user has 1 balance :) This way it'll be easier for owners do whatever they want with their BTC


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: marlboroza on November 25, 2016, 11:31:07 PM
Multi addresses per account finished. I need users confirm it works.
http://faucethub.io/dashboard

Because of this addon, everyone will need to re-add their addresses. (The ones you linked in your accounts)

2 addresses added, confirmed, its working just fine  :)
EDIT* sorry, both address are showing the same balance(which was something around 50K fake sat) and in both address withdrawal threshold was reached. In which one address ill get coins?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 25, 2016, 11:38:39 PM
Multi addresses per account finished. I need users confirm it works.
http://faucethub.io/dashboard

Because of this addon, everyone will need to re-add their addresses. (The ones you linked in your accounts)

2 addresses added, confirmed, its working just fine  :)
Sweet! Thanks man!
edit:Should be fixed. Done a small update. Same thing as toecutter solution
@toecutter

I've fixed the balance check page, it should now show the correct balance (total of unpaid payouts).

@ everyone:
https://twitter.com/FaucetHubIO/status/802286183510372352


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: redukt on November 26, 2016, 12:11:27 AM
Oh and by the way, I seem to have found the Achilles heel of the entire operation: users to user interactions aka web chat!  ;D Seriously though, wouldn't it be easier to set up an IRCd and set up a server-side boy to link chat and http?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: Racey on November 26, 2016, 12:12:10 AM
Address Linked
Your address has been added to your account!
You may now recieve payouts instantly from any faucet/website using the address 3QdS5DNSy8AndnXCA8j2yJFNTufwCMu1mk

Thanks for this update ;)

This address was a mistake apparently you do not accept this as a litecoin address, and there is no way of removing it.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 26, 2016, 12:21:38 AM
Address Linked
Your address has been added to your account!
You may now recieve payouts instantly from any faucet/website using the address 3QdS5DNSy8AndnXCA8j2yJFNTufwCMu1mk

Thanks for this update ;)

This address was a mistake apparently you do not accept this as a litecoin address, and there is no way of removing it.
You added that address as a BTC address (while it's a LTC address?) ?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: Racey on November 26, 2016, 12:27:55 AM
Address Linked
Your address has been added to your account!
You may now recieve payouts instantly from any faucet/website using the address 3QdS5DNSy8AndnXCA8j2yJFNTufwCMu1mk

Thanks for this update ;)

This address was a mistake apparently you do not accept this as a litecoin address, and there is no way of removing it.
You added that address as a BTC address (while it's a LTC address?) ?

Yes, my mistake I thought i used the right one in the drop down box, still does not apply for lite on your website.
Not a valid litecoin address is shown when I tried it yesterday and today, I seen a post about  multi addresses and got the wrong message, my fault entirely, only moon coin is accepting my lite address at the moment, all others I used have either gone or went scam.   
I changed the order to my btc address being first, so no matter if it cannot be used me thinks.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 26, 2016, 12:36:32 AM
Address Linked
Your address has been added to your account!
You may now recieve payouts instantly from any faucet/website using the address 3QdS5DNSy8AndnXCA8j2yJFNTufwCMu1mk

Thanks for this update ;)

This address was a mistake apparently you do not accept this as a litecoin address, and there is no way of removing it.
You added that address as a BTC address (while it's a LTC address?) ?

Yes, my mistake I thought i used the right one in the drop down box, still does not apply for lite on your website.
Not a valid litecoin address is shown when I tried it yesterday and today, I seen a post about  multi addresses and got the wrong message, my fault entirely, only moon coin is accepting my lite address at the moment, all others I used have either gone or went scam.  
I changed the order to my btc address being first, so no matter if it cannot be used me thinks.
Ok, thanks.

Now you can unlink your address :)

EDIT:
I'll continue working on FH tomorrow. Have to rest


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: shahab on November 26, 2016, 10:31:33 AM
hello guys
whats the plan of multi address ?
in my case that i have faucetbox script, 1 human user with 10 address isn't dangerous ? :D
some friends told some reasonable things but i'm in doubt, so explain easily have thanks.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 26, 2016, 04:30:10 PM
https://faucethub.io/lottery



hello guys
whats the plan of multi address ?
in my case that i have faucetbox script, 1 human user with 10 address isn't dangerous ? :D
some friends told some reasonable things but i'm in doubt, so explain easily have thanks.
Well, there's bad and good things I can think of. There's pros and cons always.
Wont mention any, let your friend comment with what he said and I'll quote him.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: Racey on November 26, 2016, 05:00:30 PM
I unlinked my invalid address thanks to the new implementation.

I like the cool look of the lottery, I certainly will use it when up and running.
Website is looking better by the day.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 26, 2016, 06:05:09 PM
Would it be possible to add a per user claim limit? The same as the faucet api limits, but instead of limiting the max payout per timeframe for the whole faucet just limiting it per user.
Yes, it is possible.
I'll be adding it in the future. I've gotta add stuff which have bigger priority before this


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: toecutter on November 26, 2016, 07:29:03 PM
OK, I understand the whole account situation much better now. The rest I will surmise from the actual use.

Fixes are looking good, keep it up!


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: arcanaaerobics on November 27, 2016, 12:19:53 AM
I'm waiting to see how the faucet list will be...

The site is looking nice and I liked the hourly lottery, for sure will be a lot of people betting there.

Good luck! Waiting to see the final version.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 27, 2016, 02:24:14 AM
I'm waiting to see how the faucet list will be...

The site is looking nice and I liked the hourly lottery, for sure will be a lot of people betting there.

Good luck! Waiting to see the final version.
I'm glad you like it. Can't wait until final version launches :)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 27, 2016, 03:07:19 AM
Who needs help swapping old API to FH API?

Quote this message and I'll post a solution in the next 24 hours.

I'm working on something right now and can't waste much time. Got a few PMs asking for help


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mrcash02 on November 27, 2016, 03:09:16 AM
Who needs help swapping old API to FH API?

Quote this message and I'll post a solution in the next 24 hours.

I'm working on something right now and can't waste much time. Got a few PMs asking for help

I need help, I'm very layman on it.

I'm on my cpanel, trying to find what to change. I use the default script of FaucetBox.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 27, 2016, 03:12:47 AM
Who needs help swapping old API to FH API?

Quote this message and I'll post a solution in the next 24 hours.

I'm working on something right now and can't waste much time. Got a few PMs asking for help

I need help, I'm very layman on it.

I'm on my cpanel, trying to find what to change. I use the default script of FaucetBox.
Can you come to the chatbox?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: tomos81 on November 27, 2016, 03:15:18 AM
Who needs help swapping old API to FH API?

Quote this message and I'll post a solution in the next 24 hours.

I'm working on something right now and can't waste much time. Got a few PMs asking for help

I need help, I'm very layman on it.

I'm on my cpanel, trying to find what to change. I use the default script of FaucetBox.

You new code must look somehow like this:

Code:
<?php
....
...  
blahblah php code

$api_key 
"yourultrasecretapicode";
$currency "BTC"
$faucethub = new FaucetHub($api_key$currency);  //if you used FaucetBox , find FaucetBox word in your code


$result $faucethub->send($wallet_address_of_user$ammount_of_satoshis);  //for referral sending, add third parameter 
$result $faucethub->send($wallet_address_of_user$ammount_of_satoshis,true)

if(
$result["success"] === true) {
//your code here
} else {
//your error code here - Look API docs for error codes
}

?>


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mrcash02 on November 27, 2016, 05:22:47 AM
I think there is a bug here, I clicked on TEMPLATES tab, so Template "base" and the things became a bit strange. And now the templates tab with those options of faucet colours top, bottom, left, right... don't appear. I'm clicking the tab icons, but they are a bit mad (almost of them).

https://i.imgur.com/t3V009h.png


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 27, 2016, 05:41:36 AM
I think there is a bug here, I clicked on TEMPLATES tab, so Template "base" and the things became a bit strange. And now the templates tab with those options of faucet colours top, bottom, left, right... don't appear. I'm clicking the tab icons, but they are a bit mad (almost of them).

You should ask the person who uploaded the template for you fix it


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mrcash02 on November 27, 2016, 05:54:03 AM
I think there is a bug here, I clicked on TEMPLATES tab, so Template "base" and the things became a bit strange. And now the templates tab with those options of faucet colours top, bottom, left, right... don't appear. I'm clicking the tab icons, but they are a bit mad (almost of them).

You should ask the person who uploaded the template for you fix it

Sorry, it doesn't have relation with FaucetHub, it's a bug on the admin panel.

My faucet is already working with FaucetHub system, if anyone would like to test would be nice, you can earn some fake coins: http://cashoutfaucet.top/


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: AvalonRychmon on November 27, 2016, 07:17:13 AM
Mex, One thing I did enjoy about epay url is the ability to add a wallet address into the url and it was applied to the site.

example http://yourfaucet.com/?w=bitcoinaddress&r=referalbitcoinaddress

the "w" variable is added to the bitcoin address of the site so no need to add copy and paste.
Great for faucet list like mine. Would save user time one claiming from faucet and proceeding to the faucet list.

~AvalonRychmon


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: felicita on November 27, 2016, 11:12:36 AM
Mex, One thing I did enjoy about epay url is the ability to add a wallet address into the url and it was applied to the site.

example http://yourfaucet.com/?w=bitcoinaddress&r=referalbitcoinaddress

the "w" variable is added to the bitcoin address of the site so no need to add copy and paste.
Great for faucet list like mine. Would save user time one claiming from faucet and proceeding to the faucet list.

~AvalonRychmon


hmmm but for this feature all faucets must have the same Script or even the the refferal url XD
if this would be optional its ok ,)

BTW: when will deposits on faucethub be  possible ?


kind regards


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 27, 2016, 05:03:00 PM
Mex, One thing I did enjoy about epay url is the ability to add a wallet address into the url and it was applied to the site.

example http://yourfaucet.com/?w=bitcoinaddress&r=referalbitcoinaddress

the "w" variable is added to the bitcoin address of the site so no need to add copy and paste.
Great for faucet list like mine. Would save user time one claiming from faucet and proceeding to the faucet list.

~AvalonRychmon


hmmm but for this feature all faucets must have the same Script or even the the refferal url XD
if this would be optional its ok ,)

BTW: when will deposits on faucethub be  possible ?


kind regards
Soon :)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: Racey on November 27, 2016, 05:10:34 PM
Remember this, Paytoshi was two weeks behind the faucetbox announcement.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: FaucetBoxTemplates on November 27, 2016, 05:12:06 PM

Soon :)

When you gonna release your own script for faucets ?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 27, 2016, 05:25:55 PM

Soon :)

When you gonna release your own script for faucets ?
1-3 months. Not in a hurry for this


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: alamin99 on November 29, 2016, 10:08:46 AM
http://i63.tinypic.com/k8eue.jpg
Why there is no faucethub.io option? I saw the faucethub.php file in libs/services. I am using r68 version. I want to try the beta version of faucethub.io.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: AvalonRychmon on November 29, 2016, 03:08:33 PM
Why there is no faucethub.io option? I saw the faucethub.php file in libs/services. I am using r68 version. I want to try the beta version of faucethub.io.

There actually is.

If you look at "libs->services.php" you can add it yourself quite easily.

The code looks like this with FaucetHUB marked out.
Code:
<?php

require("libs/services/faucetbox.php");
require(
"libs/services/epay.php");
require(
"libs/services/paytoshi.php");
require(
"libs/services/faucetsystem.php");

class 
Service {
    public static 
$services = [
        
"faucetbox" => [
            
"name" => "FaucetBOX.com",
            
"currencies" => [
                
"BTC""LTC""DOGE""PPC""XPM""DASH"
            
]
        ],
        
"epay" => [
            
"name" => "ePay.info",
            
"currencies" => [
                
"BTC""LTC""DOGE""DASH""XMR""PPC""XPM""ETH"
            
]
        ],
        
"paytoshi" => [
            
"name" => "Paytoshi",
            
"currencies" => [ "BTC" ]
        ],
        
"faucetsystem" => [
            
"name" => "FaucetSystem.com",
            
"currencies" => [ "BTC" ]
        ],
//        "faucethub" => [
//            "name" => "FaucetHub.io",
//            "currencies" => [
//                "BTC", "LTC", "DOGE"
//            ]
//        ],
    
]

By simply adding "require("libs/services/faucethub.php");" below all the other required file & removing the "//"
The FaucetHub will show up in your list in Admin Panel.

Also you need to change the payout link on line 140 so your users go to the right page.
Code:
$check_url = "https://faucethub.io/balance/".rawurlencode($to)

Hope this helps
~AvalonRychmon.

P.S. You have 2 links in your sig.
#1. http://bitcoinbar.xyz - Popups and Ads Take over your site. As a someone that claims from Faucets,
Your site sucks! Let's be honest are you getting rich with all that garbage?
#2. http://btc4ref.online - Its Broken.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 29, 2016, 03:21:28 PM
I'll say this once and most likely only once, so that people are clear on my views about this "account" vs "no account/anon" thing. Hopefully by the end you'll understand exactly where I'm coming from and why I chose this route.

Let's look at anon accounts for a moment
First of all I would like to thank FaucetBox for their project and what they brought to the community over these past years. Thanks to them my faucets are better off. I really respect what theys stood for up until now, but I have to talk about the concept and it's flaws for a little bit.

FaucetBox uses anon accounts. That is, any user with a crypto currency address can go to any faucet or website which uses faucetbox and request a claim. That user does not need an account, and they will get the coins without needing any kind of second step or hassle in between the faucet and them receiving the payment. This is how everyone (users and owners) is used to the way the current "faucet industry" works. On the surface there's nothing wrong with this and it's pretty convinient, but convinience comes at a price.

There's a lot of good things about anon accounts:

  • Is it easy for users? yes
  • Is it easy for new users? yes
  • Is it easy for faucet owners users? yes

You might think the above points are all you need to swing towards keeping the "anon" accounts side of this, but these points are exactly why it's so dangerous for th faucet industry.

But mex, my users need it easy
Do they really? Let's take a look at this: if it's easy for users it's easy for bots too.

Many people are trying to setup a new faucet today using faucetbox's "faucet in a box" script, and many of them will fail and have their faucet emptied quick. Others may have a bigger budget and can afford to stick at it a bit longer. All of these sites suffer from bot attacks. And of course what happens is they go and moan to faucetbox about their script and bots, and how they need better anti bot etc. They seem to expect that faucetbox will release a magic update which contains the best anti-bot they ever saw, that their balance can be protected and reserves for the rightful users and claimers.

Everyone by now knows the problem which bots cause. They look like regular users, they drain the faucet owners balance faster, they don't contribute to advertisement revenue, they dirty the faucet with bad IP, they give the site a bad traffic rating, they impact globally on analytics and google adsense's view of the site, and many more problems.

  • Captchas? - can be bypassed
  • IP addresses block? - bypass by VPNs and proxies 1000 times over
  • User agent? - can be faked
  • HTTP request headers? - can be faked/forged
  • Bitcoin address blacklist? - it takes 1 second or less for bots to generate another 1000 addresses

I've been running my faucets for almost a year now. I have a a lot of anti-bot mechinisms, honey pots and traps all set up to try and catch bots. In addition to automated methods I can spot bots on my sites through social engineering, looking through and chatting with users to know if they are botting or not from their behaviour and how they talk. Not every faucet owner can do this or has the time for it. There is one thing I learned the hard way: there is no real antibot.

The fight against bots is an on-going struggle which will go on forever. Especially in this day and age where it's possible to hide your IP and completely automate your entire web browser session to manipulate a site, bypass a captcha and appear exactly like a regular user.

For the above reasons the typical "faucet in a box" faucets will fail very quickly without advanced knowledge of bot detection or a custom script.

Having said all of the above, that's no reason to give up. It's better to act in a preventative way than not to act at all on the problem.

It's all about incentive
This brings me back to the original point that if its easy for users its easy for bots. If there is an incentive, however big or small, and its a quick and easy method, they will exploit it on a mass scale. "Faucet in a box" script and other similar scripts are widely used, making them an easy target. Someone can make a bot for 1 site, and it would work on all sites using the same script. They don't even need an account, it's just rinse and repeat.

So... how do accounts solve the problem?
I'll come straight out and say that they don't solve the problem, they greatly reduce the problem. Here's why: making an account on faucethub is pretty easy, but it requires a valid email address. Before they make any withdraw they have to click the link in the email and activate. This is one extra step in the process that all bots need to take before they can exploit a FaucetHub faucet. This is not a particularly hard task for a bot to do, however it does take away some incentive from a lot of botters to try doing it on a mass scale.

Having user accounts allows for a lot of other protection to be built into the platform to have the inner workings tie together multiple users, weed out shared IP addresses, find malicious user-agents, mass ban the use of one-time email addresses and bad providers, and mass ban the use of multi-wallets and all sorts of other mechanisms that are not possible without an account.

Ok, I understand why you offer accounts, but why are they forced upon every user?
If they were not forced (like other providers who have accounts as an optional thing), then we might as well not have them at all. Simply becuase botters wont make an account if they don't have to.

Is it slightly annoying for users? Yes. Is it slightly annoying for new users? Yes. Is it slightly annoying for faucet owners? Not really.

You might think that a faucet needs to be easily accessible to all users and they should be able to get their claim in 1 click with nothing else needed. Name any other site which lets you do anything useful without an account? Bank account, paypal, ebay, even this forum. They all require accounts and valid verification to use the service.

Users don't understand "magic"
A lot of faucet owners think its easy for users to use a faucet "without knowing they are using faucetbox". They are worried about user adoption and adding more steps into the processes. I think this statement is false. With all the users I've come across with my faucets there's seen so many who contact me with these questions, and I'm sure I'm not the only faucet owner who deals with this.

"How do I make an account on faucetbox?"
"Can you send direct to my wallet, I don't have an account on faucetbox"
"I did a withdraw and my coins are not in my wallet its been 12 hours!!!"
"I made an account but my balance is 0 at faucetbox where are my coins!"
"I did a withdraw to faucetbox, but I dont have an account there??????"

The service that faucetbox provided is truly "magic" in the eyes of some users. They don't understand what the need or purpose for faucetbox is. They don't understand that an account does not exist on faucetbox for users, despite the site being covered with info stating they don't need it. They don't know where their coins have gone despite reading that they went to faucetbox.com.

What they do understand, whether they are new or not to bitcoin is something like this: "You got $5 on PayPal". Why do they understand this? Because they know they have an account at PayPal, and therefore they are instantly aware of where their money is and how to manage it. They won't need to ask those questions above to faucet owners OR to faucethub.

---

That's a pretty long take on the situation, and I hope that people are clear on why I chose the "must have an account" route for FaucetHub. If anyone has any suggestions for the system I'm still open to hear it and discuss it, but don't expect the same kind of response in future when I've already made the above post.

This reply is aimed at everyone who PMd me trying to convince me that faucethub should be a carbon copy of faucetBOX.
Get over it. Faucet industry is going to change when FH launches.

Sorry for the long post, I don't have any potatos.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: alamin99 on November 29, 2016, 03:30:28 PM
Why there is no faucethub.io option? I saw the faucethub.php file in libs/services. I am using r68 version. I want to try the beta version of faucethub.io.

There actually is.

If you look at "libs->services.php" you can add it yourself quite easily.

The code looks like this with FaucetHUB marked out.
Code:
<?php

require("libs/services/faucetbox.php");
require(
"libs/services/epay.php");
require(
"libs/services/paytoshi.php");
require(
"libs/services/faucetsystem.php");

class 
Service {
    public static 
$services = [
        
"faucetbox" => [
            
"name" => "FaucetBOX.com",
            
"currencies" => [
                
"BTC""LTC""DOGE""PPC""XPM""DASH"
            
]
        ],
        
"epay" => [
            
"name" => "ePay.info",
            
"currencies" => [
                
"BTC""LTC""DOGE""DASH""XMR""PPC""XPM""ETH"
            
]
        ],
        
"paytoshi" => [
            
"name" => "Paytoshi",
            
"currencies" => [ "BTC" ]
        ],
        
"faucetsystem" => [
            
"name" => "FaucetSystem.com",
            
"currencies" => [ "BTC" ]
        ],
//        "faucethub" => [
//            "name" => "FaucetHub.io",
//            "currencies" => [
//                "BTC", "LTC", "DOGE"
//            ]
//        ],
    
]

By simply adding "require("libs/services/faucethub.php");" below all the other required file & removing the "//"
The FaucetHub will show up in your list in Admin Panel.

Also you need to change the payout link on line 140 so your users go to the right page.
Code:
$check_url = "https://faucethub.io/balance/".rawurlencode($to)

Hope this helps
~AvalonRychmon.

P.S. You have 2 links in your sig.
#1. http://bitcoinbar.xyz - Popups and Ads Take over your site. As a someone that claims from Faucets,
Your site sucks! Let's be honest are you getting rich with all that garbage?
#2. http://btc4ref.online - Its Broken.

Thanks a lot for your help. Because of a lot of bot attacks, I have lost millions of satoshi and thats why I have added the pop ups to cover the money. Ask the old users, these were clean faucets. But now, I am not working on my site. I am waiting for faucethub's arrival. I have purchased 3 more domains cryptonic.co, bitcoingame.biz and freebit.today and professional and personal web-hosting plan in namecheap.com. So, it's gonna be a serious.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: Gifted on November 29, 2016, 05:48:18 PM
I'll say this once and most likely only once, so that people are clear on my views about this "account" vs "no account/anon" thing. Hopefully by the end you'll understand exactly where I'm coming from and why I chose this route.

Let's look at anon accounts for a moment
First of all I would like to thank FaucetBox for their project and what they brought to the community over these past years. Thanks to them my faucets are better off. I really respect what theys stood for up until now, but I have to talk about the concept and it's flaws for a little bit.

FaucetBox uses anon accounts. That is, any user with a crypto currency address can go to any faucet or website which uses faucetbox and request a claim. That user does not need an account, and they will get the coins without needing any kind of second step or hassle in between the faucet and them receiving the payment. This is how everyone (users and owners) is used to the way the current "faucet industry" works. On the surface there's nothing wrong with this and it's pretty convinient, but convinience comes at a price.

There's a lot of good things about anon accounts:

  • Is it easy for users? yes
  • Is it easy for new users? yes
  • Is it easy for faucet owners users? yes

You might think the above points are all you need to swing towards keeping the "anon" accounts side of this, but these points are exactly why it's so dangerous for th faucet industry.

But mex, my users need it easy
Do they really? Let's take a look at this: if it's easy for users it's easy for bots too.

Many people are trying to setup a new faucet today using faucetbox's "faucet in a box" script, and many of them will fail and have their faucet emptied quick. Others may have a bigger budget and can afford to stick at it a bit longer. All of these sites suffer from bot attacks. And of course what happens is they go and moan to faucetbox about their script and bots, and how they need better anti bot etc. They seem to expect that faucetbox will release a magic update which contains the best anti-bot they ever saw, that their balance can be protected and reserves for the rightful users and claimers.

Everyone by now knows the problem which bots cause. They look like regular users, they drain the faucet owners balance faster, they don't contribute to advertisement revenue, they dirty the faucet with bad IP, they give the site a bad traffic rating, they impact globally on analytics and google adsense's view of the site, and many more problems.

  • Captchas? - can be bypassed
  • IP addresses block? - bypass by VPNs and proxies 1000 times over
  • User agent? - can be faked
  • HTTP request headers? - can be faked/forged
  • Bitcoin address blacklist? - it takes 1 second or less for bots to generate another 1000 addresses

I've been running my faucets for almost a year now. I have a a lot of anti-bot mechinisms, honey pots and traps all set up to try and catch bots. In addition to automated methods I can spot bots on my sites through social engineering, looking through and chatting with users to know if they are botting or not from their behaviour and how they talk. Not every faucet owner can do this or has the time for it. There is one thing I learned the hard way: there is no real antibot.

The fight against bots is an on-going struggle which will go on forever. Especially in this day and age where it's possible to hide your IP and completely automate your entire web browser session to manipulate a site, bypass a captcha and appear exactly like a regular user.

For the above reasons the typical "faucet in a box" faucets will fail very quickly without advanced knowledge of bot detection or a custom script.

Having said all of the above, that's no reason to give up. It's better to act in a preventative way than not to act at all on the problem.

It's all about incentive
This brings me back to the original point that if its easy for users its easy for bots. If there is an incentive, however big or small, and its a quick and easy method, they will exploit it on a mass scale. "Faucet in a box" script and other similar scripts are widely used, making them an easy target. Someone can make a bot for 1 site, and it would work on all sites using the same script. They don't even need an account, it's just rinse and repeat.

So... how do accounts solve the problem?
I'll come straight out and say that they don't solve the problem, they greatly reduce the problem. Here's why: making an account on faucethub is pretty easy, but it requires a valid email address. Before they make any withdraw they have to click the link in the email and activate. This is one extra step in the process that all bots need to take before they can exploit a FaucetHub faucet. This is not a particularly hard task for a bot to do, however it does take away some incentive from a lot of botters to try doing it on a mass scale.

Having user accounts allows for a lot of other protection to be built into the platform to have the inner workings tie together multiple users, weed out shared IP addresses, find malicious user-agents, mass ban the use of one-time email addresses and bad providers, and mass ban the use of multi-wallets and all sorts of other mechanisms that are not possible without an account.

Ok, I understand why you offer accounts, but why are they forced upon every user?
If they were not forced (like other providers who have accounts as an optional thing), then we might as well not have them at all. Simply becuase botters wont make an account if they don't have to.

Is it slightly annoying for users? Yes. Is it slightly annoying for new users? Yes. Is it slightly annoying for faucet owners? Not really.

You might think that a faucet needs to be easily accessible to all users and they should be able to get their claim in 1 click with nothing else needed. Name any other site which lets you do anything useful without an account? Bank account, paypal, ebay, even this forum. They all require accounts and valid verification to use the service.

Users don't understand "magic"
A lot of faucet owners think its easy for users to use a faucet "without knowing they are using faucetbox". They are worried about user adoption and adding more steps into the processes. I think this statement is false. With all the users I've come across with my faucets there's seen so many who contact me with these questions, and I'm sure I'm not the only faucet owner who deals with this.

"How do I make an account on faucetbox?"
"Can you send direct to my wallet, I don't have an account on faucetbox"
"I did a withdraw and my coins are not in my wallet its been 12 hours!!!"
"I made an account but my balance is 0 at faucetbox where are my coins!"
"I did a withdraw to faucetbox, but I dont have an account there??????"

The service that faucetbox provided is truly "magic" in the eyes of some users. They don't understand what the need or purpose for faucetbox is. They don't understand that an account does not exist on faucetbox for users, despite the site being covered with info stating they don't need it. They don't know where their coins have gone despite reading that they went to faucetbox.com.

What they do understand, whether they are new or not to bitcoin is something like this: "You got $5 on PayPal". Why do they understand this? Because they know they have an account at PayPal, and therefore they are instantly aware of where their money is and how to manage it. They won't need to ask those questions above to faucet owners OR to faucethub.

---

That's a pretty long take on the situation, and I hope that people are clear on why I chose the "must have an account" route for FaucetHub. If anyone has any suggestions for the system I'm still open to hear it and discuss it, but don't expect the same kind of response in future when I've already made the above post.

This reply is aimed at everyone who PMd me trying to convince me that faucethub should be a carbon copy of faucetBOX.
Get over it. Faucet industry is going to change when FH launches.

Sorry for the long post, I don't have any potatos.
This is why i chose Xapo in the beginning but even now they still get through. The problem with Xapo scripts was they were no management and updates to security . I have tried myself to patch security But in the end The only way to stop bots was to manual blacklist emails, ip's and BTC address. very big pain in the ass because they have to steal from you to ban them. I have shut down my Xapo Faucet until i see another option to fighting bots.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: lex-m on November 30, 2016, 12:15:24 PM
It would be very cool to have a WordPress plugin. Not for now I know, you got a lot of more important things to work on right now, but that would let users have a wide variety of templates and even blogs with a faucet page with little to no effort aside from adding the plugin to a specific page.

Updating a plugin there is so much easier than updating a faucetscript when you have a lot of custom stuffs.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 30, 2016, 12:42:22 PM
It would be very cool to have a WordPress plugin. Not for now I know, you got a lot of more important things to work on right now, but that would let users have a wide variety of templates and even blogs with a faucet page with little to no effort aside from adding the plugin to a specific page.

Updating a plugin there is so much easier than updating a faucetscript when you have a lot of custom stuffs.
Wordpress plugins can be hacked, then websites can be hacked.
A big percentage of WP websites you hear got hacked is because:
a) Poor admin password strength, or
b) plugins



Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 30, 2016, 01:04:33 PM
@redukt, thanks a lot. It'll make people's lives easier :)

@everyone else,

please keep in mind, this is a 3rd party script and I'm not responsible for anything you do with it.

@
Gifted

Anti-bot protection is very hard. People who take things in their own hands have less bots, than users who're not familiar with code/systems


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: redukt on November 30, 2016, 01:24:01 PM
@redukt, thanks a lot. It'll make people's lives easier :)

@everyone else,

please keep in mind, this is a 3rd party script and I'm not responsible for anything you do with
I too am responsible for nothing that happens while using this script. Although the files are simply a derivative of the official faucetinabox-r68 files and upon configuration and installation it works fine for me, because I did not write the original code you should just assume that even attempting to download these faucet script files will set your computer aflame; also, I did NOT implement antibotlinks or any other bot protection in this code.

Seriously though, part of why I put the modified script on GitHub is to encourage feed back and fixes should bugs be found. Help me help us all by opening issues and issuing pull requests as becomes necessary!

Hope you all find this code of use!


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 30, 2016, 02:13:56 PM
Here's the news everyone is waiting for:

Site will launch in the next 2 days.
I'm currently testing live chain transactions, need to make sure everything will go as planned on launch.

If you need anything, join www.faucethub.io chat.


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: redukt on November 30, 2016, 02:15:57 PM
Here's the news everyone is waiting for:

Site will launch in the next 2 days.
I'm currently testing live chain transactions, need to make sure everything will go as planned on launch.

If you need anything, join www.faucethub.io chat.

!!!!!

Very excited to test the live version!


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: catcatcatcaty on November 30, 2016, 06:18:13 PM
Here's the news everyone is waiting for:

Site will launch in the next 2 days.
I'm currently testing live chain transactions, need to make sure everything will go as planned on launch.

If you need anything, join www.faucethub.io chat.

DOGE and LTC as well?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: BitcoinBarrel on November 30, 2016, 08:00:50 PM
Just found FaucetHub.io today,  and looking forward to trying it out since FaucetBox is closing. Will keep everyone posted with our experience. Best of luck to the new site!  :)


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on November 30, 2016, 11:58:54 PM
Update:
(@FO)

I need you guys test deposits. They should all (BTC, DOGE, LTC) be working.





Here's the news everyone is waiting for:

Site will launch in the next 2 days.
I'm currently testing live chain transactions, need to make sure everything will go as planned on launch.

If you need anything, join www.faucethub.io chat.

!!!!!

Very excited to test the live version!
Patience :)))

Here's the news everyone is waiting for:

Site will launch in the next 2 days.
I'm currently testing live chain transactions, need to make sure everything will go as planned on launch.

If you need anything, join www.faucethub.io chat.

DOGE and LTC as well?
I promised I'd launch with those 2 ;p

Not sure if I'll be adding any other altcoins though.

Just found FaucetHub.io today,  and looking forward to trying it out since FaucetBox is closing. Will keep everyone posted with our experience. Best of luck to the new site!  :)
Feel free to use the chat on site if you have any issues. There's already so many awesome folks who've been helping people out.



Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: redukt on December 01, 2016, 12:28:56 AM
It still appears to me that the site is running on faux-toshi? How can I test deposits this way?


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on December 01, 2016, 12:33:24 AM
It still appears to me that the site is running on faux-toshi? How can I test deposits this way?
No need to worry. Deposits will be logged and you wont lose any coins, but they will be "mixed".

Anyway, in order to avoid confusion, I'm going to wipe all fake stats and do a proper beta :)

Give me 10-20 minutes

EDIT:
Quote
This is a public BETA phase! Deposit system is LIVE and fake balances are reset!


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: redukt on December 01, 2016, 01:54:59 AM
It still appears to me that the site is running on faux-toshi? How can I test deposits this way?
No need to worry. Deposits will be logged and you wont lose any coins, but they will be "mixed".

Anyway, in order to avoid confusion, I'm going to wipe all fake stats and do a proper beta :)

Give me 10-20 minutes

EDIT:
Quote
This is a public BETA phase! Deposit system is LIVE and fake balances are reset!
And we have liftoff! Successful deposit and users are claiming from my faucet now as well!


Title: Re: FaucetHub.io - BETA! Prepare your bodies.
Post by: mexicantarget on December 01, 2016, 02:41:27 AM
Beta thread is locked.
Original thread: https://bitcointalk.org/index.php?topic=1672870.0

Thanks to everyone who helped with everything.