oomag / cryptoprocessing.php
用于访问和交互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-09-24 08:55:37 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许可证条款。