kth-bch
v0.9.0
Published
Bitcoin Cash development platform for Javascript applications
Downloads
3
Maintainers
Readme
Javascript API
Bitcoin Cash full node as a Javascript library
Knuth Javascript API is a high performance implementation of the Bitcoin Cash protocol focused on users requiring extra performance and flexibility. It is a Bitcoin Cash node you can use as a library.
Prerequisites
Knuth Javascript API is a wrapper over our C++ libraries, therefore in order to use the Javascript library we will need the toolchain to build the C++ libraries. Don't panic, you won't have to manually build our C++ libraries, you just have to provide some prerequisites, our build system will take care of the rest.
- .NET Standard 2.0 compatible implementation. We suggest .Net Core 3.1.
- Python PIP package-management system.
To speed up the compilation, we provide some pre-built C++ libraries for some common computer platforms, but case there are no pre-built binaries for your platform, our build system will automatically try to build from source code. In such a scenario, the following requirements must be added to the previous ones:
- C++17 conforming compiler. Could be GCC8, Clang8 or Visual Studio 2019
- CMake building tool, version 3.8 or newer.
Getting started
- Create a new Javascript console project:
$ mkdir HelloKnuth
$ cd HelloKnuth
$ TODO
- Add a reference to our Javascript API package:
$ TODO
- Edit
program.js
and write some code:
//TODO
- Enjoy Knuth node as a Javascript library:
$ dotnet run
Issues
Each of our modules has its own Github repository, but in case you want to create an issue, please do so in our main repository.