Download the PHP package sasou/tron-php without Composer
On this page you can find all versions of the php package sasou/tron-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sasou/tron-php
More information about sasou/tron-php
Files in sasou/tron-php
Download sasou/tron-php
More information about sasou/tron-php
Files in sasou/tron-php
Vendor sasou
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/sasou/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/sasou/tron-php
Please rate this library. Is it a good library?
Informations about the package tron-php
English | 中文
TRON-PHP
Introduction
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
Advantage
- One set of scripts is compatible with all TRX currencies and TRC20 certifications in the TRON network
- Interface methods can be added or subtracted flexibly
Support Method
- Generate address
generateAddress()
- Verify address
validateAddress(Address $address)
- Get the address according to the private key
privateKeyToAddress(string $privateKeyHex)
- Check balances
balance(Address $address)
- Transaction transfer (offline signature)
transfer(string $from, string $to, float $amount)
- Query the latest block
blockNumber()
- Query information according to the blockchain
blockByNumber(int $blockID)
- *Query information based on transaction hash
transactionReceipt(string $txHash)
Quick Start
Install
PHP8
or PHP7
Interface
Plan
- Support TRC10
- Smart Contract
Package
Name | description | Scenes |
---|---|---|
Fenguoz/tron-api | TRON official document recommends PHP extension package | TRON basic API |
🌟🌟
Cooperate
Contact
- WX:zgf243944672
- QQ:243944672
All versions of tron-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
sasou/tron-api Version ^1.0
ionux/phactor Version 1.0.8
kornrunner/keccak Version ~1.0
sasou/tron-api Version ^1.0
ionux/phactor Version 1.0.8
kornrunner/keccak Version ~1.0
The package sasou/tron-php contains the following files
Loading the files please wait ....