Download the PHP package birzha76/bsc-php without Composer
On this page you can find all versions of the php package birzha76/bsc-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download birzha76/bsc-php
More information about birzha76/bsc-php
Files in birzha76/bsc-php
Download birzha76/bsc-php
More information about birzha76/bsc-php
Files in birzha76/bsc-php
Vendor birzha76
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/Birzha76/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/Birzha76/bsc-php
Please rate this library. Is it a good library?
Informations about the package bsc-php
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
Interface
Wallet
Bnb & BEP20
Plan
- Support ERC721|ERC-1155
- Smart Contract
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
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
guzzlehttp/guzzle Version ^7.8
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
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
guzzlehttp/guzzle Version ^7.8
The package birzha76/bsc-php contains the following files
Loading the files please wait ....