Skip to content

Release v0.1.0

Compare
Choose a tag to compare
@Fenguoz Fenguoz released this 07 Jan 10:29
· 16 commits to master since this release

Added

  • 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)
  • 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 blockByNumber(int $blockID)
  • Query information based on transaction hash transactionReceipt(string $txHash)