How to: Create a node and connect to syrius.
This guide is going to be for WSL. It’s actually much easier on a linux machine with a GUI.
Prereqs: I ran into errors until I followed all of these before the node actually worked.
1. Enable WSL in windows https://www.windowscentral.com/install-windows-subsystem-linux-windows-10
2. Update to WSL2. https://docs.microsoft.com/en-us/windows/wsl/install-manual#step-3---enable-virtual-machine-feature
3. Install Ubuntu 20.04. Go to Windows store. Search Ubuntu and install 20.04. other distros may work but this is the one I used.
4. Enable systemd https://gist.github.com/djfdyuruiry/6720faa3f9fc59bfdf6284ee1f41f950
Installing the Linux Bundle.
From Windows
1. Download the bundle from the Zenon website https://zenon.network/#downloads
2. Open up your home/usr directory and create a new folder named zenon. From WSL you can access this by hitting the windows key + r to open a run dialogue box and typing in \\$wsl\”linux distro”\home\ and hitting enter.
3. Copy the zipped file to this folder
Launch Ubuntu.
- Open Ubuntu by opening start menu and right clicking run as administrator
- Once the Ubuntu console opens type in cd /home/”Your username”/zenon
- Run “sudo unzip znn-alphanet-bundle-linux-amd64”
- You should see an output that looks like this
- Run the command .” sudo /znn-controller”
- Choose option one to migrate. Paste the two below URLs when it asks for them
Peers file: https://ipfs.io/ipfs/QmeAUQkpoEMNRQ9SFcBV2kmRTXT3WLKAoMxvAtX2ErZubJ?filename=peers.json
Genesis file: https://ipfs.io/ipfs/QmVFyGWNt3Ph2mn9MoxZyTgjuMGSs2cDdqXP3B8Ri5AYY5?filename=genesis.json
- Back into the terminal window you have. Type in sudo .\znnd to run the znnd program
- It’ll start running and showing a bunch of momentums that look like so
Adding it on the zenon syrius wallet.
- 1. Open syrius and log in
- 2. Click the gear tab
- 3. Find the nodes area. Click on it and choose add a node
- 4. type ws://localhost:35998 and then add node
- 5. in the box right above that one YOU SHALL SEE THE MESSAGE OF SUCCESS. If you don’t see that it’s okay. I failed and retried 60 times and finally got it. You will too.