Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.
MikeRowPublic archive

About

PHP libraries and tools for Banano currency

Topics

Resources

Stars

11 stars

Watchers

0 watching

Forks

Latest commit

 

History

888 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BananoPHP

PHP libraries and tools for Banano currency

Examples at BananoPHP/test


Install

composer require mikerow/bananophp

Features

  • BananoBlock

    class for building Banano blocks

  • BananoCLI

    class for interfacing to Banano node CLI

  • BananoIPC

    class for interfacing to Banano node IPC

  • BananoRPC

    class for interfacing to Banano node RPC

  • BananoRPCExt

    additional functions for BananoRPC

  • BananoTool

    class for node-independent Banano functions

  • BananoWS

    class for interfacing to Banano node WebSocket


FAQ

How to perform calculations with Banano denominations or raws?

PHP faces troubles when dealing with Banano 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

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 BananoBlock
  • Add FlatBuffers support to BananoWS
  • Increase FlatBuffers performances
  • Enable listening on IPC

Credits

Thanks a lot for the work and effort of

About

PHP libraries and tools for Banano currency

Topics

Resources

Stars

11 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages