PHP code example of jucci1887 / erc20-php-api

1. Go to this page and download the library: Download jucci1887/erc20-php-api 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/ */

    

jucci1887 / erc20-php-api example snippets


$token = new \Jucci1887\Ethereum\Token("0xdac17f958d2ee523a2206206994597c13d831ec7", "https://mainnet.infura.io/v3/API_KEY");
var_dump($token->name());