merkeleon / processing-integration
Cryptoprocessing integrations for php
Installs: 82
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/merkeleon/processing-integration
Requires
- php: >=5.3.0
- ext-bcmath: *
This package is auto-updated.
Last update: 2025-09-29 02:21:00 UTC
README
Installation
First, require the package using Composer:
composer require merkeleon/processing-integration
Examples
Take address
use Merkeleon\Processing\API; use Merkeleon\Processing\Address; $api = API::make('URL', 'API_KEY', 'API_SECRET'); /** @var Address $address */ $address = $api->addressTake('BTC', 'identity');
Make withdraw
use Merkeleon\Processing\API; use Merkeleon\Processing\Address; $api = API::make('URL', 'API_KEY', 'API_SECRET'); /** @var Address $address */ $address = $api->withdraw('12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX', 1, 'BTC', 'unique-identity-for-withdrawal', null);
Description
Never use the timestamp as $foreignId for withdrawals, but use your unique identifier. If you mistakenly make two requests for output with the same $foreignId, then second and next attempts will be rejected for security reasons. Foreign id for address may be not unique