PHP code example of lihq1403 / web3-helper

1. Go to this page and download the library: Download lihq1403/web3-helper 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/ */

    

lihq1403 / web3-helper example snippets


src
├── Amount // 金额相关的计算
│   ├── AbstractAmount.php
│   ├── BnqBnrAmount.php
│   ├── EtherAmount.php
│   └── WeiAmount.php
├── BscHelper.php
├── Callback.php
├── Constants
│   ├── ErrorCode.php
│   └── Net.php
├── Contracts
│   └── ContractInterface.php
├── Credential.php // 账户
├── DTO
│   └── TransactorDTO.php
├── Exceptions
│   ├── ContractException.php
│   ├── NodeClientException.php
│   └── Web3HelperException.php
├── Kit.php // 工具
├── NodeClient.php // 节点
├── SmartContract.php // 智能合约
└── Transactor.php // 交易