Skip to content

Instantly share code, notes, and snippets.

@unixfy
Created December 10, 2016 00:10
Show Gist options
  • Save unixfy/fe96af8852bad9f09dcfbf6a9208c168 to your computer and use it in GitHub Desktop.
Save unixfy/fe96af8852bad9f09dcfbf6a9208c168 to your computer and use it in GitHub Desktop.
<?php
$address = $_GET['address'];
$ammount_to_send = $_GET['ammount'];
$api = $_GET['api'];
//If you want to add a note the faucet owner and you can see
$note = $_GET['note'];
//What you will want to do is to do a random number+letters generator at ?api in the URL
//Client
$client = new SoapClient('https://api.epay.info/?wsdl');
//To act
$response = $client->send($api,$address,$amount_to_send,1,$note,null);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment