oomag / cryptoprocessing
访问和交互 Cryptoprocessing API 的包
1.0.0
2018-03-05 10:30 UTC
Requires
- php: ~7
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- phpunit/phpunit: ^6
This package is not auto-updated.
Last update: 2024-10-02 10:02:03 UTC
README
PHP 包用于访问和交互 Cryptoprocessing API。
安装
您可以通过 Composer 安装此包。
composer require oomag/cryptoprocessing composer update
用法
//Register new user $user = Cryptoprocessing\Authentication::register($email,$password); //Send transaction to different addresses $transaction = Cryptoprocessing\Transaction::createTransaction($accountId, array( 'from' => [ $mainAddress, $testAddress ], 'to' => [ array('amount' => '100','address' => $firstAddress), array('amount' => '100','address' => $secondAddress) ], ));
许可协议
此包在 MIT 许可协议 项下作为开源软件提供。