Skip to content

Python library for working with the NANO cryptocurrency protocol

License

Notifications You must be signed in to change notification settings

Laurentiu-Andronache/nanolib

 
 

Repository files navigation

nanolib

image codecov Build Status image

A set of tools for handling functions related to the NANO cryptocurrency protocol.

Features

  • Solve and verify proof-of-work
  • Create and deserialize legacy and universal blocks
  • Account generation from seed using the same algorithm as the original NANO wallet and NanoVault
  • Functions for converting between different NANO denominations
  • High performance cryptographic operations using C extensions (signing and verifying blocks, and solving block proof-of-work)
    • Proof-of-work solving supports SSE2, SSSE3, SSE4.1 and AVX instruction sets for improved performance. The best supported implementation is selected at runtime with a fallback implementation with universal compatibility.
  • Backed by automated tests
  • Compatible with Python 3.6 and up
  • Licensed under the very permissive Creative Commons Zero license

Documentation

An online copy of the documentation can be found at Read the Docs.

You can also build the documentation yourself by running python setup.py build_sphinx.

Commands

The setup.py script comes with a few additional commands besides installation:

  • build_sphinx
    • Build the documentation in build/sphinx/html.
  • test
    • Run tests using pytest
  • speed
    • Run a benchmark testing the performance of various cryptographic operations used in the library.

Donations

xrb_33psgb1exxuftgjthbz4tsgzm5qmyzawrfzptpmp3nwzousbypqf6bcmrk69

About

Python library for working with the NANO cryptocurrency protocol

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 56.9%
  • Python 37.3%
  • C++ 4.9%
  • Makefile 0.9%