From 04f7435c09eef48817289642418cf94d7e60d0d8 Mon Sep 17 00:00:00 2001 From: Patrick Gould <42391793+Draekus@users.noreply.github.com> Date: Fri, 18 Jun 2021 07:06:38 -0400 Subject: [PATCH 1/5] Created guide to setup local xdai node --- .../running-your-own-xdai-node.md | 41 +++++++++++++++++-- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/connecting-to-xdai/running-your-own-xdai-node.md b/connecting-to-xdai/running-your-own-xdai-node.md index df3b3dd..2c47bf0 100644 --- a/connecting-to-xdai/running-your-own-xdai-node.md +++ b/connecting-to-xdai/running-your-own-xdai-node.md @@ -1,5 +1,40 @@ # Running your own xDAI node -{% hint style="info" %} -This article is a stub. Maybe you can help write it! -{% endhint %} +This guide will walk you through how to setup your own non-validator xdai node. Please be aware that you will need at least **50GB** of free storage space and a broadband internet connection in order to run the node. + +## Getting Started + +This guide will be using the openethereum node software, as it is easy to use and non-developer friendly. If you want more control over your node you can use the [Nethermind](https://www.xdaichain.com/for-developers/install-xdai-client/nethermind) client written in .NET or you could use the Rust implementation of [Openethereum](https://www.xdaichain.com/for-developers/install-xdai-client/parity). + +### Download + +- [Openethereum Linux v3.2.5](https://github.com/openethereum/openethereum/releases/download/v3.2.5/openethereum-linux-v3.2.5.zip) + +- [Openethereum MacOS v3.2.5](https://github.com/openethereum/openethereum/releases/download/v3.2.5/openethereum-macos-v3.2.5.zip) + +- [Openethereum Windows v3.2.5](https://github.com/openethereum/openethereum/releases/download/v3.2.5/openethereum-windows-v3.2.5.zip) + +- [Source](https://github.com/openethereum/openethereum/archive/refs/tags/v3.2.5.zip) + + +## Running Your Node + +Firstly, unzip the archive you downloaded. Next, locate the binary file called ***openethereum*** and run it with the following command + +``` +./openethereum --chain xdai --jsonrpc-port=8545 --jsonrpc-cors=all --jsonrpc-interface=all --jsonrpc-hosts=all --jsonrpc-apis=web3,eth,net,parity --ws-interface=all --ws-apis=web3,eth,net,parity,pubsub --ws-origins=all --ws-hosts=all --ws-max-connections=10 --max-peers=100 +``` + +Or for those running Windows + +``` +./openethereum.exe --chain xdai --jsonrpc-port=8545 --jsonrpc-cors=all --jsonrpc-interface=all --jsonrpc-hosts=all --jsonrpc-apis=web3,eth,net,parity --ws-interface=all --ws-apis=web3,eth,net,parity,pubsub --ws-origins=all --ws-hosts=all --ws-max-connections=10 --max-peers=100 +``` + +## Syncing The Chain + +If you succesfully started the node it should look something like this + +![darkforest](https://user-images.githubusercontent.com/42391793/122550961-59cc3800-d002-11eb-9aec-ce2a32eb5749.png) + +Now all that's left to do is wait for your local node to synchronize with the current xdai chain. From 1b968885468a34b351a2546934b4e0ea6f112ab3 Mon Sep 17 00:00:00 2001 From: "D. Binder" <4602930+Bind@users.noreply.github.com> Date: Mon, 21 Jun 2021 14:00:10 -0500 Subject: [PATCH 2/5] Update connecting-to-xdai/running-your-own-xdai-node.md --- connecting-to-xdai/running-your-own-xdai-node.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connecting-to-xdai/running-your-own-xdai-node.md b/connecting-to-xdai/running-your-own-xdai-node.md index 2c47bf0..11462ae 100644 --- a/connecting-to-xdai/running-your-own-xdai-node.md +++ b/connecting-to-xdai/running-your-own-xdai-node.md @@ -8,7 +8,7 @@ This guide will be using the openethereum node software, as it is easy to use an ### Download -- [Openethereum Linux v3.2.5](https://github.com/openethereum/openethereum/releases/download/v3.2.5/openethereum-linux-v3.2.5.zip) +- [Openethereum Linux v3.2.6](https://github.com/openethereum/openethereum/releases/download/v3.2.6/openethereum-linux-v3.2.6.zip) - [Openethereum MacOS v3.2.5](https://github.com/openethereum/openethereum/releases/download/v3.2.5/openethereum-macos-v3.2.5.zip) From 3adb11ed706d1d9ffdb1594cb7edaba434bc65d2 Mon Sep 17 00:00:00 2001 From: "D. Binder" <4602930+Bind@users.noreply.github.com> Date: Mon, 21 Jun 2021 14:00:14 -0500 Subject: [PATCH 3/5] Update connecting-to-xdai/running-your-own-xdai-node.md --- connecting-to-xdai/running-your-own-xdai-node.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connecting-to-xdai/running-your-own-xdai-node.md b/connecting-to-xdai/running-your-own-xdai-node.md index 11462ae..afa12a4 100644 --- a/connecting-to-xdai/running-your-own-xdai-node.md +++ b/connecting-to-xdai/running-your-own-xdai-node.md @@ -10,7 +10,7 @@ This guide will be using the openethereum node software, as it is easy to use an - [Openethereum Linux v3.2.6](https://github.com/openethereum/openethereum/releases/download/v3.2.6/openethereum-linux-v3.2.6.zip) -- [Openethereum MacOS v3.2.5](https://github.com/openethereum/openethereum/releases/download/v3.2.5/openethereum-macos-v3.2.5.zip) +- [Openethereum MacOS v3.2.6](https://github.com/openethereum/openethereum/releases/download/v3.2.6/openethereum-macos-v3.2.6.zip) - [Openethereum Windows v3.2.5](https://github.com/openethereum/openethereum/releases/download/v3.2.5/openethereum-windows-v3.2.5.zip) From 61cc75f4ebfc28bc0560f94215bb9895404940dd Mon Sep 17 00:00:00 2001 From: "D. Binder" <4602930+Bind@users.noreply.github.com> Date: Mon, 21 Jun 2021 14:00:21 -0500 Subject: [PATCH 4/5] Update connecting-to-xdai/running-your-own-xdai-node.md --- connecting-to-xdai/running-your-own-xdai-node.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connecting-to-xdai/running-your-own-xdai-node.md b/connecting-to-xdai/running-your-own-xdai-node.md index afa12a4..b910b59 100644 --- a/connecting-to-xdai/running-your-own-xdai-node.md +++ b/connecting-to-xdai/running-your-own-xdai-node.md @@ -14,7 +14,7 @@ This guide will be using the openethereum node software, as it is easy to use an - [Openethereum Windows v3.2.5](https://github.com/openethereum/openethereum/releases/download/v3.2.5/openethereum-windows-v3.2.5.zip) -- [Source](https://github.com/openethereum/openethereum/archive/refs/tags/v3.2.5.zip) +- [Source](https://github.com/openethereum/openethereum/archive/refs/tags/v3.2.6.zip) ## Running Your Node From f844cb0a56b518395945118a03c933046cb50394 Mon Sep 17 00:00:00 2001 From: "D. Binder" <4602930+Bind@users.noreply.github.com> Date: Mon, 21 Jun 2021 14:01:55 -0500 Subject: [PATCH 5/5] Update connecting-to-xdai/running-your-own-xdai-node.md --- connecting-to-xdai/running-your-own-xdai-node.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connecting-to-xdai/running-your-own-xdai-node.md b/connecting-to-xdai/running-your-own-xdai-node.md index b910b59..a2144a1 100644 --- a/connecting-to-xdai/running-your-own-xdai-node.md +++ b/connecting-to-xdai/running-your-own-xdai-node.md @@ -12,7 +12,7 @@ This guide will be using the openethereum node software, as it is easy to use an - [Openethereum MacOS v3.2.6](https://github.com/openethereum/openethereum/releases/download/v3.2.6/openethereum-macos-v3.2.6.zip) -- [Openethereum Windows v3.2.5](https://github.com/openethereum/openethereum/releases/download/v3.2.5/openethereum-windows-v3.2.5.zip) +- [Openethereum Windows v3.2.6](https://github.com/openethereum/openethereum/releases/download/v3.2.6/openethereum-windows-v3.2.6.zip) - [Source](https://github.com/openethereum/openethereum/archive/refs/tags/v3.2.6.zip)