Beispiel #1
0
$coin = CoinAddress::junkcoin();
coin_info('Junkcoin', $coin);
$coin = CoinAddress::litecoin();
coin_info('Litecoin', $coin);
$coin = CoinAddress::mincoin();
coin_info('Mincoin', $coin);
$coin = CoinAddress::namecoin();
coin_info('Namecoin', $coin);
$coin = CoinAddress::novacoin();
coin_info('Novacoin', $coin);
$coin = CoinAddress::onecoin();
coin_info('Onecoin', $coin);
$coin = CoinAddress::ppcoin();
coin_info('PPCoin', $coin);
//$coin = CoinAddress::royalcoin();      coin_info('Royalcoin', $coin);
$coin = CoinAddress::smallchange();
coin_info('Smallchange', $coin);
$coin = CoinAddress::terracoin();
coin_info('Terracoin', $coin);
$coin = CoinAddress::yacoin();
coin_info('Yacoin', $coin);
$coin = CoinAddress::bitcoin_testnet();
coin_info('Bitcoin Testnet', $coin);
$coin = CoinAddress::bbqcoin_testnet();
coin_info('BBQcoin Testnet', $coin);
$coin = CoinAddress::bitbar_testnet();
coin_info('Bitbar Testnet', $coin);
// all other coin testnets uses Bitcoin prefixes
$public_prefix = '0x' . dechex(mt_rand(0, 255));
$private_prefix = '0x' . dechex(mt_rand(0, 255));
$coin = CoinAddress::generic($public_prefix, $private_prefix);