devstar0209 / bitgo-account-php-sdk
PHP SDK for the Bitgo Account API
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^8.0.2
- guzzlehttp/guzzle: ^7.2
Requires (Dev)
- php-coveralls/php-coveralls: ^2.0
- phpunit/phpunit: ^9.5.10
This package is auto-updated.
Last update: 2024-10-13 15:59:28 UTC
README
It's a PHP SDK for Bitgo Broker API
Requirements
Install
composer require devstar/Bitgo-broker-php-sdk
Usage
Create Bitgo Broker client
$this->Bitgo = new Bitgo($key, $secret, $mode == 'pepper' ? true: false);
Open an account
$this->Bitgo->account->create($params);
Search all assets
$this->Bitgo->asset->getAssetsAll();
Create an order
$this->Bitgo->trade->createOrder($account_id, $params);
Transfer
$this->Bitgo->funding->createTransferEntity($account_id, $params);
Document upload
$this->Bitgo->document->upload($account_id, $params);