Bitcoin Forum
November 03, 2024, 06:11:59 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 55 »
  Print  
Author Topic: [ANN] Microwallet.org - API + free faucet script, start your own faucet!  (Read 114823 times)
Land of Bitcoin (OP)
Member
**
Offline Offline

Activity: 95
Merit: 10


View Profile WWW
November 26, 2013, 10:16:46 PM
Last edit: November 30, 2013, 02:19:18 PM by Land of Bitcoin
 #1

I would like to announce Microwallet.org. This is a Bitcoin micropayment cache designed for faucets.

Firstly, try out our example faucet which is using the Microwallet API:
http://microfaucet.microwallet.org/

So as a user:
- You don't have to do anything, you can use your Bitcoin address.
- When you receive bitcoins from a faucet, it stored temporarily in your Microwallet.org account (your account created automatically).
- Your stored bitcoins sent out *automatically* to your Bitcoin address as soon as you reach the withdrawal limit which is 0.00005800 BTC.
- You can't deposit or transfer, withdrawals are automatic and you can't stop them.

Information for faucet owners, we have a free API and a free faucet script:
https://www.microwallet.org/api

Basically, you can have your own faucet in minutes.
Land of Bitcoin (OP)
Member
**
Offline Offline

Activity: 95
Merit: 10


View Profile WWW
November 29, 2013, 10:23:43 PM
 #2

New version of the free faucet script uploaded with Solve Media captcha support:
http://www.microwallet.org/api
poordeveloper
Hero Member
*****
Offline Offline

Activity: 896
Merit: 527


₿₿₿₿₿₿₿


View Profile WWW
November 29, 2013, 10:56:26 PM
 #3

How do faucet owners fund their account, then?

🎰 Bitcoin Casinos ⭐⭐⭐⭐⭐
.
🔵 Buy Bitcoin (Visa / Mastercard / SEPA / Bank Transfer / Western Union / MoneyGram / RIA)
moderate
Member
**
Offline Offline

Activity: 98
Merit: 10

nearly dead


View Profile
November 29, 2013, 11:18:20 PM
 #4

New version of the free faucet script uploaded with Solve Media captcha support:
http://www.microwallet.org/api

Am I misreading it or are you really using http just like that ? The good is that nothing can go wrong because nobody will be using this, or so I hope.
Land of Bitcoin (OP)
Member
**
Offline Offline

Activity: 95
Merit: 10


View Profile WWW
November 30, 2013, 01:30:16 PM
 #5

TLS/SSL support added and forced for users.

And for the API calls it gives back an error instead of a lame redirect:
http://www.microwallet.org/api/v1/balance

(Also this will never store more than like 50 USD total balance of all users anyways, it's called cache and micro for a reason.)
minifrij
Legendary
*
Offline Offline

Activity: 2352
Merit: 1268


In Memory of Zepher


View Profile WWW
December 02, 2013, 05:53:43 PM
 #6

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.
Land of Bitcoin (OP)
Member
**
Offline Offline

Activity: 95
Merit: 10


View Profile WWW
December 02, 2013, 06:46:12 PM
 #7

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.
bmoconno
Sr. Member
****
Offline Offline

Activity: 280
Merit: 261


New In Town...


View Profile
December 07, 2013, 01:31:19 AM
Last edit: December 07, 2013, 03:43:48 PM by bmoconno
 #8

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.

If I've helped you out, or you just think I'm awesome… 13SZex4uANVrfTeeuFEXGu6W8EVYtWVB53
Land of Bitcoin (OP)
Member
**
Offline Offline

Activity: 95
Merit: 10


View Profile WWW
December 07, 2013, 04:13:14 PM
Last edit: December 07, 2013, 04:31:27 PM by Land of Bitcoin
 #9

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.
bmoconno
Sr. Member
****
Offline Offline

Activity: 280
Merit: 261


New In Town...


View Profile
December 08, 2013, 02:06:19 AM
Last edit: December 08, 2013, 01:23:56 PM by bmoconno
 #10

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:
     <?php foreach ($rewards as $reward): ?>
          <h5 class="text-center"><?php echo htmlspecialchars($reward); ?> satoshi</h5>
     <?php endforeach; ?>

With:
          
Code:
     <h5 class="text-center">
          <?php            
$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'.'','), "%<br />\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'.'','), "%<br />\n";
          
?>

     </h5>
           
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!

If I've helped you out, or you just think I'm awesome… 13SZex4uANVrfTeeuFEXGu6W8EVYtWVB53
robattfield
Full Member
***
Offline Offline

Activity: 783
Merit: 108


View Profile
December 10, 2013, 05:16:26 AM
 #11

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.
poordeveloper
Hero Member
*****
Offline Offline

Activity: 896
Merit: 527


₿₿₿₿₿₿₿


View Profile WWW
December 10, 2013, 10:13:01 AM
Last edit: December 10, 2013, 01:10:45 PM by poordeveloper
 #12

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?

🎰 Bitcoin Casinos ⭐⭐⭐⭐⭐
.
🔵 Buy Bitcoin (Visa / Mastercard / SEPA / Bank Transfer / Western Union / MoneyGram / RIA)
Land of Bitcoin (OP)
Member
**
Offline Offline

Activity: 95
Merit: 10


View Profile WWW
December 10, 2013, 01:00:03 PM
 #13

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
robattfield
Full Member
***
Offline Offline

Activity: 783
Merit: 108


View Profile
December 10, 2013, 10:27:51 PM
 #14

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...
patriotek
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
December 17, 2013, 06:42:59 PM
 #15

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...
robattfield
Full Member
***
Offline Offline

Activity: 783
Merit: 108


View Profile
December 18, 2013, 06:25:11 AM
 #16

With the faucet script, how am I able to display the current faucet balance?
poordeveloper
Hero Member
*****
Offline Offline

Activity: 896
Merit: 527


₿₿₿₿₿₿₿


View Profile WWW
December 18, 2013, 01:07:05 PM
 #17

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;

🎰 Bitcoin Casinos ⭐⭐⭐⭐⭐
.
🔵 Buy Bitcoin (Visa / Mastercard / SEPA / Bank Transfer / Western Union / MoneyGram / RIA)
Land of Bitcoin (OP)
Member
**
Offline Offline

Activity: 95
Merit: 10


View Profile WWW
December 18, 2013, 02:17:55 PM
 #18

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.
robattfield
Full Member
***
Offline Offline

Activity: 783
Merit: 108


View Profile
December 19, 2013, 04:47:03 AM
 #19

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...
bmoconno
Sr. Member
****
Offline Offline

Activity: 280
Merit: 261


New In Town...


View Profile
December 21, 2013, 07:26:38 PM
 #20

Land of Bitcoin,

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

Thanks!

If I've helped you out, or you just think I'm awesome… 13SZex4uANVrfTeeuFEXGu6W8EVYtWVB53
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 ... 55 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!