Bitcoin Forum
April 25, 2024, 05:03:26 PM *
News: Latest Bitcoin Core release: 27.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 52 53 54 55 »
  Print  
Author Topic: [ANN] Microwallet.org - API + free faucet script, start your own faucet!  (Read 114757 times)
BitcoinBarrel
Legendary
*
Offline Offline

Activity: 1961
Merit: 1020


Fill Your Barrel with Bitcoins!


View Profile WWW
November 06, 2014, 06:24:30 PM
 #521

I got payments working for http://www.coinadder.com using the fix below. I have not tried doing the balance fix yet, but the payments fix was quick and easy. I also got my faucets http://www.coinprizes.com and http://www.bitcoinbarrel.com/faucet working using the same fix.

Thanks!  Smiley

please post some useful discussion about Microwallet having Issues regarding IP and API
 

This is the only temp fix I know, but it should work.

Balance Fix:
Replace:
Code:
 $balance = @file_get_contents('https://www.microwallet.org/api/v1/balance?api_key=' . rawurlencode($GLOBALS['settings']['microwallet_api_key']));

With...
Code:
   $balance = @file_get_contents('https://www.microwallet.org/api/v1/balance?api_key=' . rawurlencode($GLOBALS['settings']['microwallet_api_key']));
            $request = '';
            $request .= "GET /api/v1/balance?api_key=".rawurlencode($GLOBALS['settings']['microwallet_api_key'])." HTTP/1.0\r\n";
            $request .= "Host: www.microwallet.org\r\n";
            $request .= "Connection: close\r\n\r\n";
            $fp = @fsockopen('ssl://104.28.0.112', 443);
            if (!$fp) {
              // ??
            }
            @fputs($fp, $request);
            $response = '';
            while (!@feof($fp)) {
                $response .= @fgets($fp, 1024);
            }
            @fclose($fp);
            $balance = explode("\r\n\r\n", $response);
            $balance = $balance[1];

Failure to Send Fix:
Replace:
Code:
$fp = @fsockopen('ssl://www.microwallet.org', 443);
        if (!$fp) {
            return array(
                'success' => false,
                'message' => 'Failed to send.',
                'html' => '<div class="alert alert-danger">Failed to send.</div>',
                'response' => null,
            );

With...
Code:
$fp = @fsockopen('ssl://'.gethostbyname('www.microwallet.org'), 443);
        if (!$fp) {
            return array(
                'success' => false,
                'message' => 'Failed to send.',
                'html' => '<div class="alert alert-danger">Failed to send.</div>',
                'response' => null,
            );





        ▄▄▄▄▄▄▄▄▄▄
     ▄██████████████▄
   ▄█████████████████▌
  ▐███████████████████▌
 ▄█████████████████████▄
 ███████████████████████
▐███████████████████████
▐███████████████████████
▐███████████████████████
▐███████████████████████
 ██████████████████████▀
 ▀████████████████████▀
  ▀██████████████████
    ▀▀████████████▀▀
.
.....
.....
.....
.....
.....
.....





1714064606
Hero Member
*
Offline Offline

Posts: 1714064606

View Profile Personal Message (Offline)

Ignore
1714064606
Reply with quote  #2

1714064606
Report to moderator
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714064606
Hero Member
*
Offline Offline

Posts: 1714064606

View Profile Personal Message (Offline)

Ignore
1714064606
Reply with quote  #2

1714064606
Report to moderator
1714064606
Hero Member
*
Offline Offline

Posts: 1714064606

View Profile Personal Message (Offline)

Ignore
1714064606
Reply with quote  #2

1714064606
Report to moderator
sevenz
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
November 06, 2014, 07:32:13 PM
 #522

I got payments working for http://www.coinadder.com using the fix below. I have not tried doing the balance fix yet, but the payments fix was quick and easy. I also got my faucets http://www.coinprizes.com and http://www.bitcoinbarrel.com/faucet working using the same fix.

Thanks!  Smiley



No Prob. Mostly it was NeedIfFindIt who provided the good fixes - I just plug and played the different variations of it to make a combo that finally worked (seemingly) flawlessly for now.

NeedIfFindIt
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
November 06, 2014, 08:53:38 PM
 #523

please post some useful discussion about Microwallet having Issues regarding IP and API
 

This is the only temp fix I know, but it should work.

Balance Fix:
Replace:
Code:
 $balance = @file_get_contents('https://www.microwallet.org/api/v1/balance?api_key=' . rawurlencode($GLOBALS['settings']['microwallet_api_key']));

With...
Code:
   $balance = @file_get_contents('https://www.microwallet.org/api/v1/balance?api_key=' . rawurlencode($GLOBALS['settings']['microwallet_api_key']));
            $request = '';
            $request .= "GET /api/v1/balance?api_key=".rawurlencode($GLOBALS['settings']['microwallet_api_key'])." HTTP/1.0\r\n";
            $request .= "Host: www.microwallet.org\r\n";
            $request .= "Connection: close\r\n\r\n";
            $fp = @fsockopen('ssl://104.28.0.112', 443);
            if (!$fp) {
              // ??
            }
            @fputs($fp, $request);
            $response = '';
            while (!@feof($fp)) {
                $response .= @fgets($fp, 1024);
            }
            @fclose($fp);
            $balance = explode("\r\n\r\n", $response);
            $balance = $balance[1];

Failure to Send Fix:
Replace:
Code:
$fp = @fsockopen('ssl://www.microwallet.org', 443);
        if (!$fp) {
            return array(
                'success' => false,
                'message' => 'Failed to send.',
                'html' => '<div class="alert alert-danger">Failed to send.</div>',
                'response' => null,
            );

With...
Code:
$fp = @fsockopen('ssl://'.gethostbyname('www.microwallet.org'), 443);
        if (!$fp) {
            return array(
                'success' => false,
                'message' => 'Failed to send.',
                'html' => '<div class="alert alert-danger">Failed to send.</div>',
                'response' => null,
            );



While copying you forgot the // before $balance. This may slowdown the script every 10 minutes because it will try also the old way.

The correct balance code.

Replace:
Code:
$balance = @file_get_contents('https://www.microwallet.org/api/v1/balance?api_key=' . rawurlencode($GLOBALS['settings']['microwallet_api_key']));

With:
Code:
//  $balance = @file_get_contents('https://www.microwallet.org/api/v1/balance?api_key=' . rawurlencode($GLOBALS['settings']['microwallet_api_key']));
            $request = '';
            $request .= "GET /api/v1/balance?api_key=".rawurlencode($GLOBALS['settings']['microwallet_api_key'])." HTTP/1.0\r\n";
            $request .= "Host: www.microwallet.org\r\n";
            $request .= "Connection: close\r\n\r\n";
            $fp = @fsockopen('ssl://104.28.0.112', 443);
            if (!$fp) {
              // ??
            }
            @fputs($fp, $request);
            $response = '';
            while (!@feof($fp)) {
                $response .= @fgets($fp, 1024);
            }
            @fclose($fp);
            $balance = explode("\r\n\r\n", $response);
            $balance = $balance[1];
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
November 06, 2014, 11:33:55 PM
 #524

Here it is my Plumber MW Diagnostic Tool  Shocked

If there are ppl still not able to make their faucets flow.

plumber-diag-tool.php
Code:
<?php

  
echo '<pre>';
  echo 
'Plumber MW Diagnostic Tool 0.9b by NeedIfFindIt'."\n";
  echo 
"\n";
  echo 
'PHP Version: '.phpversion()."\n";
  echo 
'OPENSSL Version: '.OPENSSL_VERSION_TEXT."\n";
  echo 
'allow_url_fopen: '.((ini_get('allow_url_fopen')==1)?'Success':'<b style="color:red;">Fail</b>: Unable to connect. Solution:'."\n".'- Ask your host to enable allow_url_fopen')."\n";
  echo 
'DNS Response: '.((gethostbyname('www.microwallet.org')=='www.microwallet.org')?'<b style="color:red;">Fail</b>: Unable to resolve ':gethostbyname('www.microwallet.org'))."\n";

  
$http_dns_ok=true;

  echo 
"\n";
  echo 
'--- Trying FSOCKOPEN - HTTP ---'."\n";
  
$request '';
  
$request .= "GET /api/v1/balance HTTP/1.1\r\n";
  
$request .= "Host: www.microwallet.org\r\n";
  
$request .= "Connection: close\r\n\r\n";
  
$fp = @fsockopen('www.microwallet.org'80$errno$errstr5);
  if (!
$fp) {
    if (
$errno==0) {
      echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr.' DNS: Unable to resolve'."\n";
      
$http_dns_ok=false;
    } else {
      echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr."\n";
    }
  } else {
    @
fputs($fp$request);
    
$response '';
    while (!@
feof($fp)) {
      
$response .= @fgets($fp1024);
    }
    @
fclose($fp);
    if (
stripos($response'Use HTTPS instead of HTTP.')!==false) {
      echo 
'Success'."\n";
    } else {
      echo 
'<b style="color:red;">Fail</b>: Banned. Solution:'."\n".'- Contact info@microwallet.org'."\n";
    }
  }

  
$ip_ok=false;
  echo 
"\n";
  echo 
'--- Trying FSOCKOPEN - HTTPS - IP method ---'."\n";
  
$request '';
  
$request .= "GET /api/v1/balance HTTP/1.1\r\n";
  
$request .= "Host: www.microwallet.org\r\n";
  
$request .= "Connection: close\r\n\r\n";
  
$fp = @fsockopen('ssl://104.28.0.112'443$errno$errstr5);
  if (!
$fp) {
    if (
$errno==0) {
      echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr.' SSL negotiation failure'."\n";
    } else {
      echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr."\n";
    }
  } else {
    @
fputs($fp$request);
    
$response '';
    while (!@
feof($fp)) {
      
$response .= @fgets($fp1024);
    }
    @
fclose($fp);
    if (
stripos($response'API key missing')!==false) {
      
$ip_ok=true;
      echo 
'Success'."\n";
    } else {
      echo 
'<b style="color:red;">Fail</b>: Banned. Solution:'."\n".'- Contact info@microwallet.org'."\n";
    }
  }

  
$gethostbyname_ok=false;
  echo 
"\n";
  echo 
'--- Trying FSOCKOPEN - HTTPS - gethostbyname method ---'."\n";
  
$request '';
  
$request .= "GET /api/v1/balance HTTP/1.1\r\n";
  
$request .= "Host: www.microwallet.org\r\n";
  
$request .= "Connection: close\r\n\r\n";
  
$fp = @fsockopen('ssl://'.gethostbyname('www.microwallet.org'), 443$errno$errstr5);
  if (!
$fp) {
    if (
$errno==0) {
      echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr.' SSL negotiation failure'."\n";
    } else {
      echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr."\n";
    }
  } else {
    @
fputs($fp$request);
    
$response '';
    while (!@
feof($fp)) {
      
$response .= @fgets($fp1024);
    }
    @
fclose($fp);
    if (
stripos($response'API key missing')!==false) {
      
$gethostbyname_ok=true;
      echo 
'Success'."\n";
    } else {
      echo 
'<b style="color:red;">Fail</b>: Banned. Solution:'."\n".'- Contact info@microwallet.org'."\n";
    }
  }

  echo 
"\n";
  echo 
'--- Trying FSOCKOPEN - HTTPS ---'."\n";
  
$request '';
  
$request .= "GET /api/v1/balance HTTP/1.1\r\n";
  
$request .= "Host: www.microwallet.org\r\n";
  
$request .= "Connection: close\r\n\r\n";
  
$fp = @fsockopen('ssl://www.microwallet.org'443$errno$errstr5);
  if (!
$fp) {
    if (
$errno==0) {
      if (
$http_dns_ok) {
        echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr.' SSL negotiation failure - Solution(s):'."\n";
        if (
version_compare(PHP_VERSION'5.5.0')<0) {
          echo 
'- Upgrade to PHP 5.5+ with OPENSSL 1.0.1+'."\n";
        }
        if (
$gethostbyname_ok) {
           echo 
'- Use the gethostbyname method'."\n";
        }
        if ((
$ip_ok)&&(!$gethostbyname_ok)) {
           echo 
'- Use the IP method'."\n";
        }
      } else {
        echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr.' DNS: Unable to resolve'."\n";
      }
    } else {
      echo 
'<b style="color:red;">Fail</b>: ('.$errno.') '.$errstr."\n";
    }
  } else {
    @
fputs($fp$request);
    
$response '';
    while (!@
feof($fp)) {
      
$response .= @fgets($fp1024);
    }
    @
fclose($fp);
    if (
stripos($response'API key missing')!==false) {
      echo 
'Success'."\n";
    } else {
      echo 
'<b style="color:red;">Fail</b>: Banned. Solution:'."\n".'- Contact info@microwallet.org'."\n";
    }
  }

  echo 
"\n";
  echo 
'If you are unable to help yourself please kindly post all the content above at: <a href="https://bitcointalk.org/index.php?topic=348060.520">https://bitcointalk.org/index.php?topic=348060.520</a>'."\n";
  echo 
'<b>Don\'t forget to delete this file.</b>';
  echo 
'</pre>';

?>


Sample results:
Code:
Plumber MW Diagnostic Tool 0.9b by NeedIfFindIt

PHP Version: 5.3.27
OPENSSL Version: OpenSSL 0.9.8zb 6 Aug 2014
allow_url_fopen: Success
DNS Response: 104.28.0.112

--- Trying FSOCKOPEN - HTTP ---
Success

--- Trying FSOCKOPEN - HTTPS - IP method ---
Success

--- Trying FSOCKOPEN - HTTPS - gethostbyname method ---
Success

--- Trying FSOCKOPEN - HTTPS ---
Fail: (0)  SSL negotiation failure - Solution(s):
- Upgrade to PHP 5.5+ with OPENSSL 1.0.1+
- Use the gethostbyname method

Code:
Plumber MW Diagnostic Tool 0.9b by NeedIfFindIt

PHP Version: 5.5.1
OPENSSL Version: OpenSSL 1.0.1e 11 Feb 2013
allow_url_fopen: Success
DNS Response: 104.28.0.112

--- Trying FSOCKOPEN - HTTP ---
Success

--- Trying FSOCKOPEN - HTTPS - IP method ---
Success

--- Trying FSOCKOPEN - HTTPS - gethostbyname method ---
Success

--- Trying FSOCKOPEN - HTTPS ---
Success

If you are unable to help yourself please kindly post all the content above at: https://bitcointalk.org/index.php?topic=348060.520
Don't forget to delete this file.
HotSwap
Hero Member
*****
Offline Offline

Activity: 806
Merit: 1000


COINMIXER.NET


View Profile
November 07, 2014, 04:26:44 AM
 #525

Any idea how it calculates averages?

My rewards are 100*70, 250*29, 500

and its giving me a average of "Your current average: 8"

High Volume, Secure Bitcoin Mixer: https://CoinMixer.net
GoldenDrip
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 07, 2014, 05:46:13 AM
 #526

Obvious smear campaign. Dudes been open like two weeks and had no faucets till two days ago on his list? This message contradicts the memo from mw in our dashboards for mw. Wtf.  Maybe this is addin to such confusion about the closing down rumor.

http://bitcoinsurfer.bitcoinula.com/faucet.php

"!IMPORTANT MICROWALLET.org WARNING!
Microwallet announced some sad news that it will stop the microwallet.org services soon. Faucet owners are advised to change their API & migrate to other services. At this point no exact time frame given but other faucets already changing.
We'll continue to run our Microwallet based faucet - click here - till it's not available for use anymore, but faucet surfers are advised to also look at alternatives. We are in the process of migrating our Microwallet to the new service FaucetBOX.com - click to visit and open an account asap.
CONTINUE TO OUR MICROWALLET FAUCET HERE"
BitcoinFuture99
Member
**
Offline Offline

Activity: 120
Merit: 10


View Profile
November 07, 2014, 05:47:04 AM
 #527

For those who's API still not works

Cloudflare Just Replied Me Saying

Damon (CloudFlare)
Nov 06 02:24 PM

Hi,

You need to ask Microwallet.org to whitelist your IP(s).
Werko
Full Member
***
Offline Offline

Activity: 206
Merit: 100


View Profile WWW
November 07, 2014, 06:52:08 AM
 #528

It could be so easy.

MW could just leave a message here to stop all discussions.
But we got no response and the payments are still unpaid.

Not sure what to think of it.

NeedIfFindIt
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
November 07, 2014, 10:13:56 AM
 #529

Any idea how it calculates averages?

My rewards are 100*70, 250*29, 500

and its giving me a average of "Your current average: 8"

Find:
Code:
$totalAmount += $reward;

Replace with:
Code:
$totalAmount += $reward*$multiplier;

Yes, I like Beer  Wink
ryukamiho
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
November 07, 2014, 03:38:13 PM
 #530

Did you guys got less page views in the last 1 or 2 weeks?


i have lost like half page views. Just to check if the problem is only with me or everybody is suffering the same.

(people avoiding a little land of bitcoin afraid of not getting paid)

DISCIPLINA — The First Blockchain For HR & Education
From core developers of Cardano, PoS minting, unique Web Of Trust & Privacy algorithms. Be the first, join us!
  WEBSITE  TELEGRAM  ANN  BOUNTY  LINKEDIN  WHITEPAPER  Referral Program 5%
Painful Truth
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile
November 07, 2014, 03:45:59 PM
 #531

Did you guys got less page views in the last 1 or 2 weeks?


i have lost like half page views. Just to check if the problem is only with me or everybody is suffering the same.

(people avoiding a little land of bitcoin afraid of not getting paid)

Not just you. It started at the beginning of November.
NeedIfFindIt
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
November 07, 2014, 04:13:35 PM
 #532

Did you guys got less page views in the last 1 or 2 weeks?


i have lost like half page views. Just to check if the problem is only with me or everybody is suffering the same.

(people avoiding a little land of bitcoin afraid of not getting paid)

With little bit of sniffing at adbit you can find that it happens with more than 95% of the microwallet faucets  Sad
BitBitCoin
Legendary
*
Offline Offline

Activity: 1273
Merit: 1004



View Profile WWW
November 07, 2014, 05:39:26 PM
 #533

We need news!
 The service will resume?
 When?
Users no longer use the MW Faucet!!!

radiotracker
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
November 07, 2014, 09:55:25 PM
 #534

If there is a bug in the Blockchain.info API FaucetBox is also affected?
Has anyone received a payments over FaucetBox to his real Bitcoin Wallet (Electrum,Coinbase,Xapo etc.)?
f4t4l
Full Member
***
Offline Offline

Activity: 200
Merit: 100


Presale Starting May 1st


View Profile
November 07, 2014, 10:14:46 PM
 #535

Anybody can develop own Api for bitcoin payments?  send me details [ price,etq] PM please.

NeedIfFindIt
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
November 07, 2014, 10:17:00 PM
 #536

If there is a bug in the Blockchain.info API FaucetBox is also affected?
Has anyone received a payments over FaucetBox to his real Bitcoin Wallet (Electrum,Coinbase,Xapo etc.)?

Yes, but they are paying to 10-20 addresses at a time 1, 2 or 3 times a day. Pretty dusty and wasteful but they are new in the business and are trying make a good impression.

MW have to combine tons of inputs and outputs in order to keep the fees low. And probably they don't have good strategy to do it (I'm just speculating).
sevenz
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
November 07, 2014, 11:29:02 PM
 #537

 Shocked
LOL

So I was stopping by to see if MW or Land of Bitcoin had any current info on the situation. FAIL!
=(  If they don't care, I don't care I guess. Sucks.I was totally supporti

As for Faucetbox, I guess they win this one just merely due to them being present. Sucks they had to present themselves in such a crappy way here, otherwise I might have migrated myself. Bad impression i guess.

I heard someone here had a way to process the payments with microwallet somehow without them being involved. I don't want to put them on the spot, but if you read this....maybe you could share it with us for some btc tips? Unless I completely misunderstood what he was saying to me...thats always possible too.
bitzland
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
November 08, 2014, 01:30:36 AM
 #538

Check http://www.epay.info

the new generations of Bitcoin micropayment cache
Superhitech
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile
November 08, 2014, 02:27:02 AM
 #539

hey guys, I would like some advice:

Should I start off my faucet with microwallet or faucetbox? Thanks for advice and help.
bitzland
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
November 08, 2014, 04:07:41 AM
 #540

hey guys, I would like some advice:

Should I start off my faucet with microwallet or faucetbox? Thanks for advice and help.


wait 9 days then start with ePay.info
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 52 53 54 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!