Download the PHP package tonystark/kardiachain-tx without Composer
On this page you can find all versions of the php package tonystark/kardiachain-tx. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tonystark/kardiachain-tx
More information about tonystark/kardiachain-tx
Files in tonystark/kardiachain-tx
Download tonystark/kardiachain-tx
More information about tonystark/kardiachain-tx
Files in tonystark/kardiachain-tx
Vendor tonystark
Package kardiachain-tx
Short Description Kardiachain transaction library in PHP.
License MIT
Package kardiachain-tx
Short Description Kardiachain transaction library in PHP.
License MIT
Please rate this library. Is it a good library?
Informations about the package kardiachain-tx
kardiachain-tx
Kardiachain transaction library in PHP.
Install
Usage
Create a transaction:
Sign a transaction:
API
Web3p\KardiachainTx\Transaction
sha3
Returns keccak256 encoding of given data.
It will be removed in the next version.
sha3(string $input)
String input
Example
- Encode string.
serialize
Returns recursive length prefix encoding of transaction data.
serialize()
Example
- Serialize the transaction data.
sign
Returns signed of transaction data.
sign(string $privateKey)
String privateKey - hexed private key with zero prefixed.
Example
- Sign the transaction data.
hash
Returns keccak256 encoding of serialized transaction data.
hash()
Example
- Hash serialized transaction data.
License
MIT
All versions of kardiachain-tx with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1 | ^8.0
web3p/rlp Version 0.3.3
web3p/ethereum-util Version ~0.1.3
kornrunner/keccak Version ~1
simplito/elliptic-php Version ~1.0.6
web3p/rlp Version 0.3.3
web3p/ethereum-util Version ~0.1.3
kornrunner/keccak Version ~1
simplito/elliptic-php Version ~1.0.6
The package tonystark/kardiachain-tx contains the following files
Loading the files please wait ....