PHP code example of murtaza.vohra / vechain_sdk
1. Go to this page and download the library: Download murtaza.vohra/vechain_sdk 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/ */
murtaza.vohra / vechain_sdk example snippets
$ve_chain_sdk = new \VeChainSDK\VeChainSDK($app_id, $app_key, $operator_uid);
$request_number = time() . rand(111111111, 999999999);
$vid_response = $ve_chain_sdk->generateVID($request_number);