/**
  * @test
  * @covers \codestillery\Coinprism\Toolkit::getAccountManager()
  */
 public function getAccountManager()
 {
     $toolkit = Toolkit::getInstance(self::BASE_URL);
     $kit1 = $toolkit->getAccountManager();
     $kit2 = $toolkit->getAccountManager();
     $this->assertTrue($kit1 instanceof AccountManager);
     $this->assertTrue($kit2 instanceof AccountManager);
     $this->assertSame($kit1, $kit2);
 }
<?php

if (!isset($argv)) {
    echo "This script can only be run from command line\n";
    exit - 1;
}
require_once __DIR__ . "/../vendor/autoload.php";
use Codestillery\Coinprism\Toolkit;
$toolkit = Toolkit::getInstance("https://private-anon-90718c204-coinprism.apiary-mock.com");
$kit = $toolkit->getTransactionBuilder();
$out = $kit->issue(1000, "1zLkEoZF7Zdoso57h9si5fKxrKopnGSDn", "akSjSW57xhGp86K6JFXXroACfRCw7SPv637", 500, "u=https://site.com/assetdef");
var_dump($out);
<?php

if (!isset($argv)) {
    echo "This script can only be run from command line\n";
    exit - 1;
}
require_once __DIR__ . "/../vendor/autoload.php";
use Codestillery\Coinprism\Toolkit;
$toolkit = Toolkit::getInstance("https://api.coinprism.com");
$kit = $toolkit->getBlockchainApi();
$out = $kit->getAddressesHolding("AcK34dsaCqKV94Ges4t4RFRsxWhrAwZoX8");
var_dump($out);
<?php

if (!isset($argv)) {
    echo "This script can only be run from command line\n";
    exit - 1;
}
require_once __DIR__ . "/../vendor/autoload.php";
use Codestillery\Coinprism\Toolkit;
//$api = "https://private-anon-2234885ee-coinprism.apiary-mock.com";
$api = "https://api.coinprism.com";
$toolkit = Toolkit::getInstance($api);
$kit = $toolkit->getTransactionBuilder();
$out = $kit->send(1000, "1BThkpJ2453DBsHFKjMeVsYX5LjRvAKbmR", "akVigWnLqtv6hL6rByUoHbxEcuvTtaVvogt", 10, "AH4CuJntyPGtM37H3cHj6WBERYQLaKU5kF");
var_dump($out);