Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (20 sloc) 1.13 KB


PHP libraries and tools for Nano

Read usage and examples in files header

Repository contents


library for Nano


node CLI manager

A clarification on the huge integers

Since Nano uses huge integers to represent even a tiny amount (1 nano is 10^24 raw), while PHP supports much lower integers, I suggest you to manage every amount on your database/scripts using NANO (10^30) as reference denomination, which involves storing and managing amounts as float

If you need to perform arithmetic operations directly with the raw amounts, I suggest the GMP library

You can find denomination/raw conversion functions and other usefull stuffs in lib/NanoTools.php

To do

  • Add IPC call classes
  • Add nano_lib functions as standalone



You can’t perform that action at this time.