The Status module that consumes go-ethereum https://status.im
Go to file
Ivan Tomilov 2897f0ec0f Merge pull request #390 from status-im/issue/refactor-api-notify-send-messages-#342
Refactor and little bit clean up Notify api:

Created interface and package "notification" and extracted related code into it
Set dependencies into constructor notificatotion.Manager
Mocks for notificatotion.Manager and FCMClient
Bacis unit tests for Notify and Send
Notify func is now deprecated
Notify users uses new API: message, Payload and a list of tokens
2017-10-26 20:54:12 +03: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/statusd Merge pull request #390 from status-im/issue/refactor-api-notify-send-messages-#342 2017-10-26 20:54:12 +03:00
e2e fix linter across the whole project 2017-10-26 12:20:16 +02:00
extkeys Fix make lint warnings (#417) 2017-10-20 12:06:22 +03:00
geth Merge pull request #390 from status-im/issue/refactor-api-notify-send-messages-#342 2017-10-26 20:54:12 +03:00
helpers/profiling Feature/profiling #257 (#264) 2017-09-01 21:09:11 +07:00
static Merge pull request #390 from status-im/issue/refactor-api-notify-send-messages-#342 2017-10-26 20:54:12 +03:00
testing Made EnsureNodeSync() throws a panic instead of returning an error (#431) 2017-10-24 00:39:13 +03: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 Ensuring node synchronisation to avoid "no suitable peers available" errors (#410) 2017-10-21 20:04:07 +03: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 Merge pull request #390 from status-im/issue/refactor-api-notify-send-messages-#342 2017-10-26 20:54:12 +03:00
README.md Update README (#380) 2017-10-09 17:11:12 +03: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.

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