☑️0G Storage Node
Recommended Hardware: 4 Cores, 16GB RAM, 1TB of storage (NVME)
System updates, installation of required dependencies
sudo apt-get update
sudo apt-get install clang cmake build-essential pkg-config libssl-dev
sudo apt install cargoInstall go
cd $HOME && \
ver="1.22.0" && \
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz" && \
sudo rm -rf /usr/local/go && \
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz" && \
rm "go$ver.linux-amd64.tar.gz" && \
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile && \
source ~/.bash_profile && \
go versionInstall rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/envWhen prompted choice of 1,2 and 3 just hit enter to continue
Build zgs_node binary from source with rust
copy config.toml
edit config.toml
Set config.toml
Create zgs service (storage node) for your node to run in the background
Start Storage node
Show logs by date
full logs command
tx_seq-only logs command
minimized-logs command
check your storage node through rpc
Test Stoarge Node with storage CLI
Build Storage CLI with source code
Create upload.sh
Create upload service for your node to run in the background
Start upload
check log
If you see this result, the test was successful

Last updated