File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ composer require fenguoz/tron-php
33
33
``` php
34
34
use GuzzleHttp\Client;
35
35
36
- $uri = 'https://api.shasta.trongrid.io';// shasta testnet
36
+ $uri = 'https://api.trongrid.io';// mainnet
37
+ // $uri = 'https://api.shasta.trongrid.io';// shasta testnet
37
38
$api = new \Tron\Api(new Client(['base_uri' => $uri]));
38
39
39
40
$trxWallet = new \Tron\TRX($api);
Original file line number Diff line number Diff line change 20
20
21
21
class TRC20Test extends TestCase
22
22
{
23
- const URI = 'https://api.shasta.trongrid.io ' ; // shasta testnet
23
+ const URI = 'https://api.trongrid.io ' ; // mainnet
24
+ // const URI = 'https://api.shasta.trongrid.io'; // shasta testnet
24
25
const ADDRESS = 'TGytofNKuSReFmFxsgnNx19em3BAVBTpVB ' ;
25
26
const PRIVATE_KEY = '0xf1b4b7d86a3eff98f1bace9cb2665d0cad3a3f949bc74a7ffb2aaa968c07f521 ' ;
26
27
const BLOCK_ID = 13402554 ;
You can’t perform that action at this time.
0 commit comments