Download the PHP package ziyeziye/tron-php without Composer
On this page you can find all versions of the php package ziyeziye/tron-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ziyeziye/tron-php
More information about ziyeziye/tron-php
Files in ziyeziye/tron-php
Download ziyeziye/tron-php
More information about ziyeziye/tron-php
Files in ziyeziye/tron-php
Vendor ziyeziye
Package tron-php
Short Description Support TRON's TRX and TRC20, which include functions such as address creation, balance query, transaction transfer, query the latest blockchain, query information based on the blockchain, and query information based on the transaction hash
License MIT
Homepage https://github.com/Fenguoz/tron-php
Package tron-php
Short Description Support TRON's TRX and TRC20, which include functions such as address creation, balance query, transaction transfer, query the latest blockchain, query information based on the blockchain, and query information based on the transaction hash
License MIT
Homepage https://github.com/Fenguoz/tron-php
Please rate this library. Is it a good library?
Informations about the package tron-php
TRON-PHP
概述
TRON-PHP 目前支持波场的 TRX 和 TRC20 中常用生成地址,发起转账,离线签名等功能。
特点
- 一套写法兼容 TRON 网络中 TRX 货币和 TRC 系列所有通证
- 接口方法可可灵活增减
支持方法
- 生成地址
generateAddress()
- 验证地址
validateAddress(Address $address)
- 根据私钥得到地址
privateKeyToAddress(string $privateKeyHex)
- 查询余额
balance(Address $address)
- 交易转账(离线签名)
transfer(Address $from, Address $to, float $amount)
- 交易代转账(离线签名)
transferFrom(Address $from, Address $to, float $amount)
- 查询最新区块
blockNumber()
- 根据区块链查询信息
blockByNumber(int $blockID)
- 根据交易哈希查询信息
transactionReceipt(string $txHash)
快速开始
安装
接口调用
计划
- 支持 TRC10
- 智能合约
扩展包
扩展包名 | 描述 | 应用场景 |
---|---|---|
iexbase/tron-api | 波场官方文档推荐 PHP 扩展包 | 波场基础Api |
🌟🌟
合作
联系方式
- WX:zgf243944672
- QQ:243944672
All versions of tron-php with dependencies
PHP Build Version
Package Version
Requires
iexbase/tron-api Version
^2.0 || ^3.0 || ^3.1
ionux/phactor Version 1.0.8
kornrunner/keccak Version ^1.0
ionux/phactor Version 1.0.8
kornrunner/keccak Version ^1.0
The package ziyeziye/tron-php contains the following files
Loading the files please wait ....