Example – creating Remote Faucet

See also: Examples List

If you run WordPress website, the Simple Bitcoin Faucets plugin may help you, however you still have to know how to create Remote Faucets, so keep reading.

Let’s create your first Remote Faucet, like one of listed here. It is much easier than some people think, and the faucet runs on virtually any hosting, including free ones, and even “limited” hostings, where pages created only via some kind of Page Constructor (such as Blogger, Yola, Weebly, etc. )

Bad news first: In order to create the Remote Faucet, you will also need to create Application (some systems call it just “Faucet”) with one of the crypto micro-payment systems.

How it works: Application of micro-payment system handles actual Satoshi transfers via API, and the Remote Faucet helps you to dispense the rewards without using any of server scripting.

As a micro-payment system we recommend to use Cryptoo.me, because there you don’t have to fund faucets “out of the pocket” – just claim from other faucet using your Cryptoo.me deposit address (register first), than use the collected Satoshi to fund your faucets.

So, the basic algorithm for embedding the Remote faucet into a web page is: create Application at micro-payment system, grab the API Key, use it to create Remote faucet, grab the code, insert it into your web page.

The configuration of the faucets is pretty self-explanatory, the only thing to high-light: As a faucet URL use the actual URL of your page where the faucet code is going to be embedded. For the micro-payment system it is important because you going to receive traffic from Faucets Lists / Rotators, for the Remote Faucet it is essential, because it will work only for the pages only “under” this URL (otherwise anybody could of put your code in any page and you end-up funding somebody else’s visitors). Not mentioning you also will get visitors from Remote Faucet List.

So, after your Remote Faucet is created and configured, on the “Code” tab you will get something like this:

<div id='wmexp-faucet-123687'></div> <script src='https://wmexp.com/faucet/123687/'></script>

Just put the code in your page where you want the faucet to appear.
The code

<div style='max-width:500px; border:1px dotted red;'>
   <div id='wmexp-faucet-123687'></div> 
   <script src='https://wmexp.com/faucet/123687/'></script>

will show:

That’s it, you’ve got your faucet! 😉 If you using WordPress, here is the plugin for you.

For the advanced users: There is more than one way to render the Faucet. Beside described above you may, for example, include the https://wmexp.com/faucet/123687/ higher than faucet DIV, and later call wmexp_render_faucet_123687();, like:

<script src='https://wmexp.com/faucet/123687/'></script>
<div id='wmexp-faucet-123687'></div> 

If you want to show different faucets (handy for game bonuses) depends on the satiation,you may include the javascript dynamically:

<div id='wmexp-faucet-TO-BE'></div> 
if(score > 100){ //player is good
   var faucet_id = 123687;
   document.getElementById('wmexp-faucet-TO-BE').id = 'wmexp-faucet-'+faucet_id; //set actual id
   var script = document.createElement('script'); //create script
   script.src = 'https://wmexp.com/faucet/'+faucet_id+'/'; //set actual url based on faucet id
   document.head.appendChild(script); //add the script - it will render the faucet

Yep, it’s that simple. So, what you want to explore next, use Remote Bitcoin Faucets as a banner click reward, or as a game bonuses? 😉

See more at Examples List