iconation/icon-sdk-php

SDK to communicate with the ICON JSON-RPC server

v0.1.4 2019-07-29 12:19 UTC

This package is auto-updated.

Last update: 2020-05-17 17:12:35 UTC


README

ICONation logo

ICON SDK for PHP (Unofficial)

License: MIT

This is an unofficial SDK to communicate with the ICON JSON-RPC server, built for PHP.

Disclaimer: I cannot guarantee optimal performance of this software. It is provided as is and without any assurances. Use it at your own risk.

Features

Already fully or partially supports the following JSON-RPC functions:

  • icx_getLastBlock
  • icx_getBlockByHeight
  • icx_getBlockByHash
  • icx_call
  • icx_getBalance
  • icx_getScoreApi
  • icx_getTotalSupply
  • icx_getTransactionResult
  • icx_getTransactionByHash
  • ise_getStatus
  • icx_sendTransaction --Partial support, can only send ICX for now

There is also some wallet support, see Wallet.php file for more info. More detailed documentation coming soon.

TODO

  • Usage:..
  • More tests, especially on the wallet part
  • Debug and p-rep functions seem not to be working on ICON's part atm. Will promptly update when they become available.
  • Refactoring