0chain/gosdk
The 0chain client SDK is written in GO.
This repository currently supports the following platforms:
- OSX Mojave 10.14.5
- LINUX (Ubuntu/bionic).
It is possible to support the sdk for other variations of Linux as well.
Build and Installation
0chain/gosdk is build and installed using GNU Make.
The Makefile has following targets to ease installation of build tools and the 0chain/gosdk.
Success of installation of the library and GO modules is highly dependent upon the prior installed
packages on the developer system.
These steps have been tested out thoroughly on OSX Mojave 10.14.5 and Vanilla Ubuntu BIONIC.
0chain/gosdk has heavy dependency on BLS and MCL
provided by MITSUNARI Shigeo. Developers should refer to those links when they encounter any errors.
Please send email to alphanet@0chain.net if you encounter any problems.
| TARGET |
Description |
| build-tools |
Install go, jq and supporting tools |
| install |
Install herumi and gosdk |
| install-herumi |
Build, Test and Install the herumi library |
| install-gosdk |
Build and test 0chain gosdk modules |
| clean |
Delete all the build output |
FAQ
sudo apt-get install build-essential
sudo snap install go --classic