Go to file
Michael Bradley, Jr 149ea2c3db docs: add badge for Tests workflow (GitHub Actions) to README 2020-09-02 17:06:23 -05:00
.github/workflows ci: run tests via GitHub Actions 2020-09-02 15:58:35 -05:00
src feat: introduce Nim impl of generateAlias 2020-08-31 14:05:29 -05:00
tests ci: run tests via GitHub Actions 2020-09-02 15:58:35 -05:00
vendor feat: introduce Nim impl of generateAlias 2020-08-31 14:05:29 -05:00
.gitattributes ci: run tests via GitHub Actions 2020-09-02 15:58:35 -05:00
.gitignore feat: introduce Nim impl of generateAlias 2020-08-31 14:05:29 -05:00
.gitmodules feat: introduce Nim impl of generateAlias 2020-08-31 14:05:29 -05:00
Makefile ci: run tests via GitHub Actions 2020-09-02 15:58:35 -05:00
README.md docs: add badge for Tests workflow (GitHub Actions) to README 2020-09-02 17:06:23 -05:00
config.nims feat: introduce Nim impl of generateAlias 2020-08-31 14:05:29 -05:00
env.sh feat: include nimbus-build-system and initial version of the Makefile to generate a static library 2020-07-02 09:20:16 -04:00
nim.cfg feat: adds some utils functions to create/import accounts and login 2020-07-13 14:07:17 -04:00
nim_status.nimble feat: introduce Nim impl of generateAlias 2020-08-31 14:05:29 -05:00

README.md

status-nim

Tests (GitHub Actions)

Nim implementation of the Status protocol: https://github.com/status-im/specs

Corresponds roughly to status-go: https://github.com/status-im/status-go which is consumed by status-react: https://github.com/status-im/status-react/

Requirements

  • Go - (used to build status-go)
# Linux
<TODO>

# macOS
brew install go

Installation

git clone https://github.com/status-im/nim-status
cd nim-status
make update
make

For more output use make V=1 ....

Use 4 CPU cores with make -j4 ....

Usage

  • Include build/nim_status.a, build/nim_status.h in your project
  • Before any of the API calls are done, NimMain() needs to be run.

Troubleshooting

If the make command fails due to already installed Homebrew packages, such as:

Error: protobuf 3.11.4 is already installed
To upgrade to 3.11.4_1, run `brew upgrade protobuf`.
make[1]: *** [install-os-dependencies] Error 1
make: *** [vendor/status-go/build/bin/libstatus.a] Error 2

This can be fixed by uninstalling the package e.g. brew uninstall protobuf followed by rerunning make.