dhtech/bitgosdk-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dhtech/bitgosdk-php

最新稳定版本:0.1

Composer 安装命令:

composer require dhtech/bitgosdk-php

包简介

A BitGo SDK written in PHP

README 文档

README

BitGoSDK written in PHP. This SDK contains methods for easily interacting with the BitGo API.

Requirements

  • PHP 8.3 or earlier with:
    • cURL
    • BCMath

Installation

To install the SDK, you will need to be using Composer in your project. If you aren't using Composer yet, it's really simple! Here's how to install composer and the BitGoSDK PHP.

# Install Composer
curl -sS https://getcomposer.org/installer | php

# Add the BitGoSDK as a dependency
php composer.phar require dhtech/bitgosdk-php

Next, require Composer's autoloader, in your application, to automatically load the BitGoSDK in your project:

require 'vendor/autoload.php';

use dhtech\BitGoSDK\BitGoSDK;

Or if put the following in your composer.json:

"dhtech/bitgosdk-php": "*" 

Example

require 'vendor/autoload.php';

use dhtech\BitGoSDK\BitGoSDK;
use dhtech\BitGoSDK\Enum\CurrencyCode;

$bitgo = new BitGoSDK('YOUR_API_KEY_HERE', CurrencyCode::BITCOIN, false);
$bitgo->walletId = 'YOUR_WALLET_ID_HERE';

$createAddress = $bitgo->createWalletAddress();

BitGo Express

If you are going to use BitGo Express you have to run a BitGo Express node. You can find how to run your own BitGo Express node here.

Attention

Keep your cacert.pem always up to date. You can find updates on the site curl.haxx.se.

Credits

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-29