Gluwa SDK for PHP
Update
Getting started
$ composer require gluwa/gluwa-php<?php
// Specify your vendor path.
require_once('vendor/autoload.php');
// If you want to run test on the sandbox mode, change below to values obtained from Gluwa Dashboard's sandbox mode.
$Configuration_DEV = false; // "true" if you want to use the sandbox mode
$Configuration_APIKey = '{Your API Key}';
$Configuration_APISecret = '{Your API Secret}';
$Configuration_WebhookSecret = '{Your Webhook Secret}';
$Configuration_MasterEthereumPrivateKey = '{Your Ethereum Private Key}';
$Configuration_MasterEthereumAddress = '{Your Ethereum Address}';
$Gluwa = new Gluwa\Gluwa([
'__DEV__' => $Configuration_DEV,
'APIKey' => $Configuration_APIKey,
'APISecret' => $Configuration_APISecret,
'WebhookSecret' => $Configuration_WebhookSecret,
'MasterEthereumPrivateKey' => $Configuration_MasterEthereumPrivateKey,
'MasterEthereumAddress' => $Configuration_MasterEthereumAddress,
]);Method Examples
Last updated
Was this helpful?