status-im/status-go

Name: status-go

Owner: Status

Description: The Status module that consumes go-ethereum

Created: 2016-06-13 15:32:03.0

Updated: 2018-01-18 17:20:13.0

Pushed: 2018-01-18 16:56:53.0

Homepage: https://status.im

Size: 24533

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Status bindings for go-ethereum

TravisCI Builds GoDoc Master Build Status Develop Build Status

Docs

Intro

status-go is an underlying part of Status - a browser, messenger, and gateway to a decentralized world.

It's written in Go and requires Go 1.8 or above.

It uses Makefile to do most common actions. See make help output for available commands.

status-go uses forked ethereum-go with some patches applied in it, located under vendor/ directory. See geth-patches README for more info.

Build

There are two main modes status-go can be built:

Use following Makefile commands:

Testing

To setup accounts passphrase you need to setup an environment variable: export ACCOUNT_PASSWORD="secret_pass_phrase".

Make sure the dependencies are installed first by running:

 lint-install
 mock-install

To test fully statusgo, use:

 ci

To test statusgo using a given network by name, use:

 ci networkid=rinkeby

To test statusgo using a given network by number ID, use:

 ci networkid=3

If you have problems running tests on public network we suggest reading e2e guide.

If you want to launch specific test, for instance RPCSendTransactions, use the following command:

est -v ./geth/api/ -testify.m ^RPCSendTransaction$

Note -testify.m as testify/suite is used to group individual tests.

Licence

Mozilla Public License 2.0


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.