PHP code example of gxchain / gxclient
1. Go to this page and download the library: Download gxchain/gxclient library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gxchain / gxclient example snippets
use GXChain\GXClient\GXClient;
$client = new GXClient();
$keyPair = $client->generateKey();
echo(json_encode($keyPair));
php
//get asset info by symbol
function getAsset(String $symbol);