array( 'network' => 'testnet', // testnet or livenet, default is livenet 'public_key' => '/tmp/bitpay.pub', //see tutorial/001.php and 002.php 'private_key' => '/tmp/bitpay.pri', 'key_storage' => 'Bitpay\Storage\EncryptedFilesystemStorage', 'key_storage_password' => 'YourTopSecretPassword' ) ) ); /** * Create the client that will be used to send requests to BitPay's API */ $client = $bitpay->get('client'); $tokens = $client->getTokens(); print_r($tokens);