Go Node and SDK for the NEO blockchain
Find a file
Anthony De Meulemeester b6d8271b8d
Fixed header sync issue (#17)
* headers can now sync till infinity

* fixed empty hashStop getBlock payload + test

* added more test + more binary decoding/encoding

* bump version
2018-02-07 15:16:50 +01:00
.github Release documentation (#13) 2018-02-02 19:04:56 +00:00
cli CircleCI 2 & Releases (#9) 2018-02-01 10:54:23 -08:00
pkg Fixed header sync issue (#17) 2018-02-07 15:16:50 +01:00
.gitignore added .vscode to the gitignore (#15) 2018-02-04 21:05:47 +01:00
.travis.yml added travis.yml 2018-01-29 08:11:19 +01:00
circle.yml Implemented processing headers + added leveldb as a dependency. (#16) 2018-02-06 07:43:32 +01:00
CONTRIBUTING.md Release documentation (#13) 2018-02-02 19:04:56 +00:00
glide.lock Implemented processing headers + added leveldb as a dependency. (#16) 2018-02-06 07:43:32 +01:00
glide.yaml Implemented processing headers + added leveldb as a dependency. (#16) 2018-02-06 07:43:32 +01:00
LICENCE.md Updated README and LICENSE according to other COZ repo’s. 2018-01-31 13:50:11 +01:00
Makefile CircleCI 2 & Releases (#9) 2018-02-01 10:54:23 -08:00
README.md Release documentation (#13) 2018-02-02 19:04:56 +00:00
VERSION Fixed header sync issue (#17) 2018-02-07 15:16:50 +01:00

neo-go

Go Node and SDK for the NEO blockchain.

Overview

This project is currently in alpha and under active development.

Project Goals

Full port of the original C# NEO project. A complete toolkit for the NEO blockchain, including:

  • Full consensus node
  • Full RPC node
  • RPC client
  • CLI tool
  • Smart contract compiler

Current State

This project is still under heavy development. Still working on internal API's and project layout. T his should not take longer than 2 weeks.

The project will exist out of the following packages:

Package State Developer
api started @anthdm
core started @anthdm
network started @anthdm
smartcontract started @revett
vm started @revett

Getting Started

Server

Install dependencies, this requires Glide:

make deps

Build the neo-go CLI:

make build

Currently, there is a minimal subset of the NEO protocol implemented. To start experimenting make sure you a have a private net running on your machine. If you dont, take a look at docker-privnet-with-gas.

Start the server:

./bin/neo-go -seed 127.0.0.1:20333

You can add multiple seeds if you want:

./bin/neo-go -seed 127.0.0.1:20333,127.0.01:20334

By default the server will currently run on port 3000, for testing purposes. You can change that by setting the tcp flag:

./bin/neo-go -seed 127.0.0.1:20333 -tcp 1337

RPC

If you want your node to also serve JSON-RPC, you can do that by setting the following flag:

./bin/neo-go -rpc 4000

In this case server will accept and respond JSON-RPC on port 4000. Keep in mind that currently there is only a small subset of the JSON-RPC implemented. Feel free to make a PR with more functionality.

VM

TODO

Smart Contracts

TODO

Contributing

Feel free to contribute to this project after reading the contributing guidelines.

Before starting to work on a certain topic, create an new issue first, describing the feauture/topic you are going to implement.

Contact

License

  • Open-source MIT