723ef3cf70 | ||
---|---|---|
doc | ||
examples | ||
nimbus | ||
tests | ||
.appveyor.yml | ||
.gitignore | ||
.travis.yml | ||
LICENSE-APACHEv2 | ||
LICENSE-MIT | ||
README.md | ||
default.nix | ||
nim.nix | ||
nimbus.nimble | ||
nimbus.nix |
README.md
Nimbus: an Ethereum 2.0 Sharding Client for Resource-Restricted Devices
Join the Status community chats:
Rationale
Nimbus: an Ethereum 2.0 Sharding Client
Building & Testing
Prerequisites
Please install a recent version of Facebook's RocksDB following the instructions here:
https://github.com/facebook/rocksdb/blob/master/INSTALL.md
Currently Nimbus requires the latest development version of the Nim programming language. Follow the installation steps or use choosenim.
Obtaining the prerequisites through the Nix package manager
Users of the Nix package manager can install all prerequisites simply by running:
nix-shell nimbus.nix
Build
You can build the package and run the tests using nimble test
. You can run the example using nim compile --run examples/decompile_smart_contract.nim
.
You can run the official Ethereum JSON tests for the EVM this way:
create a ./build
directory with mkdir build
in your cloned repository.
Run
nim c -r --nimcache:nimcache -o:build/test tests/test_vm_json.nim
The executable will be put in build
, and nim compilation cache will use nimcache
.
License
Licensed under one of the following:
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license: LICENSE-MIT or http://opensource.org/licenses/MIT