Post
Topic
Board Announcements (Altcoins)
Re: XONECOIN // XOC // Reliable chain // Cloud Revenues Platform // D.G.P. // Rare
by
xonecoin
on 13/09/2016, 17:29:37 UTC
Code:
include("./jsonRPCClient.php");
$xco = new jsonRPCClient('http://Username:Password@127.0.0.1:xocrpcport');
$account = 'xocarray';
$amount = floatval('100');
$addressfile = "./xocusers.txt";
$recipients = array();
$filelines = file($addressfile);
foreach($filelines as $fileline => $address) {
   $recipients[$address] = $amount;
}
$Transaction_ID = $bitcoin->sendmany($account,$recipients);
echo 'The Transaction ID is: '.$Transaction_ID;

Only 2 users on IRC.
500 XOC each will be sent for their time.