The Status module that consumes go-ethereum https://status.im
Go to file
Ivan Daniluk 4536e99275 Improve statusd CLI usage (#441)
This PR refactors CLI API, removes obsolete commands and splits status code into smaller pieces:

* get rid of subcommands API (no ./status <command>)
* get rid of custom cli app package
* use stdlib flag package for handling command line flags
* move cross-compilation / mobile related code to lib/ package
* move wnode command into separate binary (cmd/node-status, name is subject to discuss)
* remove faucet command as obsolete
* update/add docs/READMES/wikis for new command line flags

It makes statusd code much simpler and smaller, separates concerns (lib, wnode and statusd are different things).
2017-11-03 18:07:13 -04:00
.github Fixed according to comments 2017-10-24 19:58:18 +03:00
build Use linux node in Jenkinsfile (#340) 2017-09-18 19:40:16 +03:00
cmd Improve statusd CLI usage (#441) 2017-11-03 18:07:13 -04:00
e2e Add -network flag for Makefile to chose a network to run tests on #430 2017-10-26 22:51:04 +03:00
extkeys Fix make lint warnings (#417) 2017-10-20 12:06:22 +03:00
geth Update Ropsten CHT to number 478 (#428) 2017-10-29 16:44:44 +03:00
helpers/profiling Feature/profiling #257 (#264) 2017-09-01 21:09:11 +07:00
lib Improve statusd CLI usage (#441) 2017-11-03 18:07:13 -04:00
static Improve statusd CLI usage (#441) 2017-11-03 18:07:13 -04:00
testing Update makefiles and make changes regards review 2017-10-26 14:11:24 +01:00
vendor Rebase on geth 1.7.2 (#402) 2017-10-17 12:58:04 +03:00
xgo Arch dependent status headers. Fixes #80 2016-12-16 02:00:08 +03:00
.dockerignore cmd/statusd: faucet sub-command added, refs #159 2017-05-16 10:51:11 +03:00
.gitignore Improve statusd CLI usage (#441) 2017-11-03 18:07:13 -04:00
.travis.yml Fix duplicate lint 2017-10-25 16:36:03 +03:00
Dockerfile cmd/statusd: faucet sub-command added, refs #159 2017-05-16 10:51:11 +03:00
Jenkinsfile add 'g' prefix before artifact SHA (#358) 2017-09-25 18:06:13 +02:00
Jenkinsfile-manual fix Jenkinsfile-manual to build both platforms (#393) 2017-10-11 20:24:48 +03:00
LICENSE.md Create LICENSE.md 2016-09-21 10:00:29 +08:00
Makefile Improve statusd CLI usage (#441) 2017-11-03 18:07:13 -04:00
README.md Update readme 2017-10-26 20:05:12 +01:00
package.json Extended testGetDefaultConfig to support Rinkeby (#241) 2017-09-08 15:32:02 +03:00

README.md

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 changes in it, located under vendor/ dir.

Build

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

  • standalone server
  • library to link for Android or iOS

Use following Makefile commands:

  • make statusgo (builds binary into build/bin/statusd)
  • make statusgo-android) (builds .aar file build/android-16/aar)
  • make statusgo-ios and make statusgo-ios-simulator (builds iOS related artifacts in build/os-9.3/framework)

Testing

To test statusgo, use: make ci. To test statusgo using a giving network by name, use: make ci networkid=rinkeby. To test statusgo using a giving network by id number, use: make ci networkid=3.

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

./build/env.sh go test -v ./geth/api/ -testify.m ^RPCSendTransaction$

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

Licence

Mozilla Public License 2.0