Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.05 KB

File metadata and controls

40 lines (27 loc) · 1.05 KB

Cryptoprocessing

PHP package to access and interact with Cryptoprocessing API.

Build Status

Installation

You can install this package via Composer.

composer require oomag/cryptoprocessing
composer update

Usage

//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)
                ],
        ));

License

The package is available as open source under the terms of the MIT License.