<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
redberryproducts / laravel-crypto-wallet example snippets
return [
'drivers' => [
'bitgo' => [
'use_mocks' => env('BITGO_USE_MOCKS', false),
'testnet' => env('BITGO_TESTNET', true),
'api_key' => env('BITGO_API_KEY'),
'express_api_url' => env('BITGO_EXPRESS_API_URL'),
'default_coin' => env('BITGO_DEFAULT_COIN', 'tbtc4'),//This is not a typo or just a result of a lazy developer :). BitGo is moving to Testnet4, so the Bitcoin testnet is now TBTC4.
'webhook_callback_url' => env('BITGO_WEBHOOK_CALLBACK'),
],
],
];
use RedberryProducts\CryptoWallet\WalletManager;
$wallet = WalletManager::bitgo();