circle-exclamation
It is recommended to use Ubuntu 20.04
Setting up an environment:
Copy sudo apt-get update
curl https://getsubstrate.io -sSf | bash -s -- --fast
source ~/.cargo/env Clone repo and build the node:
Copy git clone https://github.com/galacticcouncil/HydraDX-node.git
cd HydraDX-node
cargo build --release If you get an error that git is not installed on your system, install it:
To run a benchmark Python 3.8+ is required.
Installing Python 3.9:
Copy sudo apt-get install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.9 If you have problems installing via apt you can compile python3.9 from source according to the guidearrow-up-right .
If you have different versions of Python installed and the benchmark runs on the old one by default, you can specify which version to use to run it:
Run the benchmark:
If you get an error Toolchain ...... Nightly toolchain required:
After a few minutes you will get a result like:
If all 3 results are OK, your server has successfully passed the test and is ready to start the node.
circle-check
At this stage you can stop until the HydraDX team publishes information about the upcoming testnet.
As a test, you can run a stakenet node in the lerna chain.
If you want to set a name for your node (by default, a random one is generated on every startup), use the --name key:
I will really appreciate it if you include the #NodeBook hashtag in the node name :)
The list of nodes in the network can be found here arrow-up-right .
If your node is running "strange", you can restart it and display the logs to identify problems: