From 1fb01e670e306d970a7857d882228410517c72a7 Mon Sep 17 00:00:00 2001 From: Bruno Skvorc Date: Fri, 12 Jul 2019 10:23:05 +0200 Subject: [PATCH] Added Eth1 subsection to guides --- source/_data/sidebar.yml | 1 + source/docs/eth1.md | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 source/docs/eth1.md diff --git a/source/_data/sidebar.yml b/source/_data/sidebar.yml index 82d725a..de9461a 100644 --- a/source/_data/sidebar.yml +++ b/source/_data/sidebar.yml @@ -8,6 +8,7 @@ docs: faq: faq.html contributor_guide: contributor_guide.html Guides: + Ethereum 1: eth1.html Testnet 0: t0.html Testnet 1: t1.html Custom Testnet: custom-nimbus-testnet.html diff --git a/source/docs/eth1.md b/source/docs/eth1.md new file mode 100644 index 0000000..e7cb00b --- /dev/null +++ b/source/docs/eth1.md @@ -0,0 +1,33 @@ +--- +id: eth1 +title: Ethereum 1 Nimbus +--- + +## Installing prerequisites + +If you are on Windows, instead of using the commands below you can also use our [pre-configured Vagrant box](https://github.com/status-im/nim-vagrant) if you prefer to run things in a Linux environment. + +We use Makefiles to quickly and easily build our binaries. Before you begin, please make sure you have [RocksDB installed](https://github.com/status-im/nimbus#rocksdb). On Windows, you can skip this step and instead rely on the "WINDOWS ONLY" part of the process below: + +```bash +git clone https://github.com/status-im/nimbus +cd nimbus +make update # Downloads and builds submodules, dependencies, and even Nim itself + +# >>> WINDOWS ONLY <<< +make fetch-dlls # WINDOWS ONLY +# >>> WINDOWS ONLY <<< + +./env.sh bash # Optional, but useful. Sets the current shell's environment to use the version of Nim language the `make update deps` command just built +``` + +### Building and Running Nimbus + +To run Nimbus in Ethereum 1.0 mode: + +```bash +make nimbus +./build/nimbus +``` + +Nimbus will now run and attempt to synchronize with the Ethereum 1.0 blockchain. It can currently reach block 1.5 million. \ No newline at end of file