Download the PHP package fenguoz/bsc-php without Composer
On this page you can find all versions of the php package fenguoz/bsc-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fenguoz/bsc-php
More information about fenguoz/bsc-php
Files in fenguoz/bsc-php
Download fenguoz/bsc-php
More information about fenguoz/bsc-php
Files in fenguoz/bsc-php
Vendor fenguoz
Package bsc-php
Short Description Support Binance's BNB and BEP20, 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/bsc-php
Package bsc-php
Short Description Support Binance's BNB and BEP20, 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/bsc-php
Please rate this library. Is it a good library?
Informations about the package bsc-php
English | 中文
BSC-PHP
Introduction
Support Binance's BNB and BEP20, 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 BNB currencies and BEP20 certifications in the BSC network
- Interface methods can be added or subtracted flexibly
Support Method
wallet
- *Generate a private key to create an account
newAccountByPrivateKey()
- *Generate mnemonic and create an account
newAccountByMnemonic()
- Restore account using mnemonic
revertAccountByMnemonic(string $mnemonic)
- Get the address according to the private key
revertAccountByPrivateKey(string $privateKey)
Bnb & BEP20
- *Check balances(BNB)
bnbBalance(string $address)
- *Check balances(BEP20)
balance(string $address)
- Transaction transfer (offline signature)
transfer(string $from, string $to, float $amount)
- Query the latest block
blockNumber()
- Query information according to the blockchain
getBlockByNumber(int $blockID)
- Returns the receipt of a transaction by transaction hash
getTransactionReceipt(string $txHash)
- *Returns the information about a transaction requested by transaction hash
getTransactionByHash(string $txHash)
- *Query transaction status based on transaction hash
receiptStatus(string $txHash)
Quick Start
Install
PHP8
or PHP7
Interface
Wallet
example.php
Bnb & BEP20
example.php
Plan
- Support ERC721|ERC-1155
- Smart Contract
🌟🌟
Cooperate
Contact
- WX:zgf243944672
- QQ:243944672
All versions of bsc-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
ionux/phactor Version 1.0.8
kornrunner/keccak Version ^1.0
sop/asn1 Version ^3.3
sop/crypto-encoding Version ^0.2.0
sop/crypto-types Version ^0.2.1
phpseclib/phpseclib Version ~2.0.11
guzzlehttp/guzzle Version >=6.5
fenguoz/bip39-mnemonic-php Version ~1.2.0
fenguoz/minter-php-bip-44 Version ~1.0
ext-gmp Version *
ext-openssl Version *
ext-json Version *
ext-bcmath Version *
web3p/ethereum-tx Version ^0.4.3
ionux/phactor Version 1.0.8
kornrunner/keccak Version ^1.0
sop/asn1 Version ^3.3
sop/crypto-encoding Version ^0.2.0
sop/crypto-types Version ^0.2.1
phpseclib/phpseclib Version ~2.0.11
guzzlehttp/guzzle Version >=6.5
fenguoz/bip39-mnemonic-php Version ~1.2.0
fenguoz/minter-php-bip-44 Version ~1.0
ext-gmp Version *
ext-openssl Version *
ext-json Version *
ext-bcmath Version *
web3p/ethereum-tx Version ^0.4.3
The package fenguoz/bsc-php contains the following files
Loading the files please wait ....