Download the PHP package mikerow/nanophp without Composer
On this page you can find all versions of the php package mikerow/nanophp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package nanophp
NanoPHP
PHP libraries and tools for Nano currency
Examples at NanoPHP/test
Install
composer require mikerow/nanophp
Features
-
class for building Nano blocks
-
class for interfacing to Nano node CLI
-
class for interfacing to Nano node IPC
-
class for interfacing to Nano node RPC
-
additional functions for NanoRPC
-
class for node-independent Nano functions
-
class for interfacing to Nano node WebSocket
FAQ
How to perform calculations with Nano denominations or raws?
PHP faces troubles when dealing with Nano amounts ...
- Data type `float` isn't precise at certain decimal depths - Data type `integer` size is limited to 64 bit A good solution is to perform calculations in raws using [GNU Multiple Precision](https://www.php.net/manual/en/book.gmp.php)
Why not use libsodium instead of Salt or php-blake2?
Some limitations prevent the use of libsodium ...
- Functions `sodium_crypto_sign_*` use SHA-2 instead Blake2 - Functions `sodium_crypto_generichash_*` don't allow output smaller than 16 bytes
To do
- Add Epoch v2 support to NanoBlock
- Add FlatBuffers support to NanoWS
- Increase FlatBuffers performances
- Enable listening on IPC
Credits
Thanks a lot for the work and effort of
All versions of nanophp with dependencies
ext-curl Version *
ext-sockets Version *
ext-gmp Version *
ext-mbstring Version *
ext-openssl Version *
mikerow/salt Version *
bitwasp/bitcoin-lib Version 1.0.*
textalk/websocket Version *
google/flatbuffers Version *