Pages:
Author

Topic: [ANN] Microwallet.org - API + free faucet script, start your own faucet! - page 54. (Read 114846 times)

member
Activity: 95
Merit: 10
Another issue, I introduced the site to a coworker, and he successfully registered an account, but then when he tried to login, the site just told him "no such user". He said he also experienced the same thing when he tried again at home, using a different ip, browser and bitcoin address. I also just tried creating another account myself using a different address and experienced the same problem.
I guess you are trying to login with your Bitcoin address. You must use your username if you are registered.

Bitcoin address login is for the unregistered users.
member
Activity: 95
Merit: 10
Can you please show the expected payout time on the site. I reached the withdrawal limit many hours ago, but the site simply says I will receive it soon. It would be nice to have a closer approximation.
It's within 24 hours currently. Some changes coming regarding this in the future.
sr. member
Activity: 382
Merit: 250
Another issue, I introduced the site to a coworker, and he successfully registered an account, but then when he tried to login, the site just told him "no such user". He said he also experienced the same thing when he tried again at home, using a different ip, browser and bitcoin address. I also just tried creating another account myself using a different address and experienced the same problem.
sr. member
Activity: 382
Merit: 250
Can you please show the expected payout time on the site. I reached the withdrawal limit many hours ago, but the site simply says I will receive it soon. It would be nice to have a closer approximation.
member
Activity: 95
Merit: 10
Would it be possible to add a time/date stamp to the deposit section of the Microwallet.org website?

If you click the transaction hash link you can see the date of the transaction on Blockchain.info.

I will replace the "credited" label with "credited @ DATE_HERE".
sr. member
Activity: 280
Merit: 261
New In Town...
Land of Bitcoin,

Would it be possible to add a time/date stamp to the deposit section of the Microwallet.org website?

Thanks!
full member
Activity: 783
Merit: 108
With the faucet script, how am I able to display the current faucet balance?

Open "index.php" and change
Code:
// Display the faucet balance or hide it? true or false
$displayFaucetBalance = false;

To:
Code:
// Display the faucet balance or hide it? true or false
$displayFaucetBalance = true;


Oops I should have looked harder before asking - thanks for prompting me though...
member
Activity: 95
Merit: 10
Make it so that if I have a registered email or username with BTC address, I can EITHER enter the BTC address OR the email/username (or maybe any one of the 3), and it all goes to the same account.

Well, this is not possible to do.

Bitcoin address is unique across the unregistered users. But it's not unique across the registered users. Verifying the ownership of a Bitcoin address is not possible without user interaction so it can't be unique for the registered users easily. Making it unique without verifiying could lead to problems, for example:
- Someone else registering with your Bitcoin address
- You are registering with your own address, forget the password and then you can't register again using the same Bitcoin address

But this will be solved in the future by displaying your unregistered balance too (if any) in your registered account and it will send the sum of both balances at once.
hero member
Activity: 896
Merit: 527
₿₿₿₿₿₿₿
With the faucet script, how am I able to display the current faucet balance?

Open "index.php" and change
Code:
// Display the faucet balance or hide it? true or false
$displayFaucetBalance = false;

To:
Code:
// Display the faucet balance or hide it? true or false
$displayFaucetBalance = true;
full member
Activity: 783
Merit: 108
With the faucet script, how am I able to display the current faucet balance?
newbie
Activity: 19
Merit: 0
If I could make a suggestion from a faucet USER's viewpoint:

Make it so that if I have a registered email or username with BTC address, I can EITHER enter the BTC address OR the email/username (or maybe any one of the 3), and it all goes to the same account.

Because of the fact that there are so many badly coded faucets out there that do NOT disclose in great enough detail how their payout is handled until after address is entered, I find that even though I have my BTC addy reg'd with my email, I still end up with 2 separate balances that I need to get up over the minimum payout, and it becomes difficult to track...

I do, eventually, plan on having my own faucet running, and am considering your backend for it.  Until this is fixed however, I'm up in the air...
full member
Activity: 783
Merit: 108
Thanks for the suggestions etc, I've managed to verify my email and have sent an API request Smiley. In terms of usability, I think there should be a navigation to all the important pages (not just 'settings', 'logout', etc), as I got a little lost...
member
Activity: 95
Merit: 10
When I'm logged into MicroWallet (to try and get an API key), I get the following message:

Request API key
You must be a registered user. Logout and register.


When I'm not logged in, I see the following message:

Request API key
Register and login first.


From seeing those messages, I take it you're not giving our API keys for people now? I'm really interested in using the script for a new faucet, but can't unless I get the API key.

You must be a registered user to request API key. If you login on the main page with your Bitcoin address without password you are not a registered user. If you login with your username or email and a password you are a registered user. You can register here:
https://www.microwallet.org/index/register
hero member
Activity: 896
Merit: 527
₿₿₿₿₿₿₿
Hi there,

I came across the script via Google and have downloaded it.

When I'm logged into MicroWallet (to try and get an API key), I get the following message:

Request API key
You must be a registered user. Logout and register.


When I'm not logged in, I see the following message:

Request API key
Register and login first.


From seeing those messages, I take it you're not giving our API keys for people now? I'm really interested in using the script for a new faucet, but can't unless I get the API key.

Cheers Smiley.

When you're logged in, are you using a username or just your bitcoin address?
full member
Activity: 783
Merit: 108
Hi there,

I came across the script via Google and have downloaded it.

When I'm logged into MicroWallet (to try and get an API key), I get the following message:

Request API key
You must be a registered user. Logout and register.


When I'm not logged in, I see the following message:

Request API key
Register and login first.


From seeing those messages, I take it you're not giving our API keys for people now? I'm really interested in using the script for a new faucet, but can't unless I get the API key.

Cheers Smiley.
sr. member
Activity: 280
Merit: 261
New In Town...
I don't know if anyone is interested, but I modified the base script to allow for weighted rewards.

For the creation of the rewards array, I replaced:

Code:
// List of rewards in satoshi, 1 satoshi = 0.00000001 BTC.
     $rewards = array(
          300,
 200,
 100,
 75,
 50,
 25,
 10
     };

With:

Code:
// Each reward entry is in the follwing format: array_fill(0,WEIGHT,REWARD) where WEIGHT is how frequently you want the REWARD to occur.
     $rewards = array_merge(array_fill(0,1,500), array_fill(0,10,200), array_fill(0,100,150), array_fill(0,100,100), array_fill(0,50,75), array_fill(0,50,50), array_fill(0,25,25), array_fill(0,20,10));

For outputting the rewards array, I replaced:
   
Code:
    foreach ($rewards as $reward): ?>
          
echo htmlspecialchars($reward); ?> satoshi

     endforeach; ?>

With:
          
Code:
   

           $weightCount 1;
$weightArray = array();
$percentage 0.0;

foreach ($rewards as $reward) {
if($rewardAmount != $reward) {
if($rewardAmount) {
$percentage = ($weightCount/count($rewards)) * 100;
echo number_format($percentage2'.'','), "%\n";
}
$rewardAmount $reward;

echo "$reward satoshi: ";

$weightArray[$reward] = $weightCount;
$weightCount 1;
} else {
$weightCount++;
$weightArray[$reward] = $weightCount;
}

}
$percentage = ($weightCount/count($rewards)) * 100;
echo number_format($percentage2'.'','), "%\n";
          
?>

    
           
Which outputs the following, using the above example for the rewards array:

     500 satoshi: 0.28%
     200 satoshi: 2.81%
     150 satoshi: 28.09%
     100 satoshi: 28.09%
     75 satoshi: 14.04%
     50 satoshi: 14.04%
     25 satoshi: 7.02%
     10 satoshi: 5.62%

I hope this helps anyone interested in doing the same thing.  There might be a more elegant way to do this, if you think of one, please let me know.

Thanks!
member
Activity: 95
Merit: 10
Quote
For those that have the faucet installed, you might want to consider downloading the newest version of the script to protect yourself from the same attack.

It was resolved for everyone because the API keys were removed which means faucets can't transfer and the owner of the faucet must login and read the message about the new version of the script and then can generate a new API key.
sr. member
Activity: 280
Merit: 261
New In Town...
WARNING!

There is currently an exploit in the script that is allowing users to get rewards without waiting the set duration (60 minutes in my case).



It appears that this issue has been resolved!  Thanks Land Of Bitcoin!

For those that have the faucet installed, you might want to consider downloading the newest version of the script to protect yourself from the same attack.
member
Activity: 95
Merit: 10
How do faucet owners fund their account, then?
I would also like to know this. I am interested in making a website using this, but I have no idea how to fund my account on it.
Faucet owners need to register an account and request API key/API access.

After the API access granted to you, you will have a deposit Bitcoin address which allow you to deposit limited amount to refill your balance. The amount credited automatically after 2 confirmations.
legendary
Activity: 2352
Merit: 1268
In Memory of Zepher
How do faucet owners fund their account, then?
I would also like to know this. I am interested in making a website using this, but I have no idea how to fund my account on it.
Pages:
Jump to: