oomag/cryptoprocessing.php

Package to access and interact with Cryptoprocessing API

1.0.0 2018-03-05 10:30 UTC

This package is not auto-updated.

Last update: 2024-10-08 09:14:21 UTC


README

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.