alt text

Rough guide on how to run an EGEM Node on Windows 10

Download latest Go-egem Windows binary.
https://github.com/TeamEGEM/go-egem/releases
create a .bat file to run go-egem (50 peers as it depends on your router here, try 100 if you can) Also setting a wallet address in case you want to solo mine while you are at this. 🎅

egem.exe --rpc --cache=1024 --maxpeers 50 --etherbase=EGEMWALLETADDRESS

or an Archive node (uses more disk space)

egem.exe --rpc --cache=1024 --maxpeers 50 --gcmode=archive --syncmode=full --etherbase=EGEMWALLETADDRESS

Double click your .bat file to get the wallet to start syncing. You will reset Windows at some point during this, so maybe wait until you reset.

Download node.js and install Windows 64-bit msi.
https://nodejs.org/en/download/

Download git and install Windows 64-bit.
https://git-scm.com/download/win

Download python 2.7 and install.
https://www.python.org/downloads/windows/

Restart after installing all the software so the paths are set in Windows.

Go to a command prompt as administrator. In search box type cmd, right click and run as Admin.
Install chocolatey https://chocolatey.org/install or like below

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

Install yarn using chocolatey

choco install yarn

Make a directory to put network intelligence to, like d:\egem
Go into that directory and type

git clone https://github.com/TeamEGEM/egem-net-intelligence-api
cd egem-net-intelligence-api
yarn install
yarn global add pm2

Now edit your app.json to show your name and contact. Then start network intelligence

pm2 start app.json

You should show up on https://network.egem.io/
Other useful commands for pm2

pm2 status
pm2 monit
pm2 kill

To solo mine use genoil ethminer. Sample bat below.

ethminer -U  -F 127.0.0.1:8545