Skip to content

Official Go implementation of the IoTeX protocol

License

Notifications You must be signed in to change notification settings

jerkyrs/iotex-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iotex-core

Join the chat at https://gitter.im/iotex-dev-community/Lobby Go version CircleCI Go Report Card Coverage Godoc Releases LICENSE

IoTeX Logo

Welcome to the official Go implementation of IoTeX protocol! IoTeX is building the next generation of the decentralized network for IoT powered by scalability- and privacy-centric blockchains. Please refer to IoTeX whitepaper for details.

Get started

Minimum requirements

Components Version Description
Golang ≥ 1.11.5 Go programming language
Dep ≥ 0.5.0 Dependency management tool, required only when you update dependencies
Protoc ≥ 3.6.0 Protocol buffers, required only when you rebuild protobuf messages

Get iotex-core

The easiest way to get iotex-core is to use one of release packages which are available for OSX, Linux on the release page. Iotex-core is also distributed via docker image on docker hub.

Build iotex-core from code

Download the code by

mkdir -p ~/go/src/github.com/iotexproject
cd ~/go/src/github.com/iotexproject
git clone git@github.com:iotexproject/iotex-core.git
cd iotex-core

Build the project by

make

If the dependency needs to be updated, run

dep ensure [--vendor-only]

Run unit tests only by

make test

Build the docker image by

make docker

Run iotex-core

Start (or resume) a standalone server to operate on an blockchain by

make run

Restart the server from a clean state by

make reboot

Note that if your enviroment is in Linux, you need to add the share libraries into $LD_LIBRARY_PATH by

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GOPATH/src/github.com/iotexproject/iotex-core/crypto/lib:$GOPATH/src/github.com/iotexproject/iotex-core/crypto/lib/blslib

Use CLI

Users could interact with iotex blockchain by

ioctl [command]

Refer to CLI document for more details.

Contact

Contribution

We are glad to have contributors out of the core team; contributions, including (but not limited to) style/bug fixes, implementation of features, proposals of schemes/algorithms, and thorough documentation, are welcomed. Please refer to our contribution guideline for more information. Development guide documentation is here.

License

This project is licensed under the Apache License 2.0.

About

Official Go implementation of the IoTeX protocol

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.4%
  • C 1.7%
  • Other 0.9%