βοΈ0G DA Node
Recommended Hardware: 8 Cores, 16GB RAM, 1TB of storage (NVME)
System updates, installation of required dependencies
sudo apt-get update
sudo apt install make clang pkg-config libssl-dev
sudo apt-get install libssl-dev
apt-get install protobuf-compiler
sudo apt install build-essential curlInstall rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/envInstallation
cd $HOME
git clone https://github.com/0glabs/0g-da-node.git
cd $HOME/0g-da-node
cargo build --release
./dev_support/download_params.shOr in zsh
bash /root/0g-da-node/dev_support/download_params.shSetup your variable settings
sudo cp $HOME/0g-da-node/config_example.toml $HOME/0g-da-node/config.tomlOn the first run of DA node, it will register the signer information in DA contract. To generate a BLS private key if don't have:
Config.toml set
grpc_listen_address = "0.0.0.0:34000" eth_rpc_endpoint = "http://Validator rpc ip:8545" socket_address = "your node ip:34000" da_entrance_address = "0xDFC8B84e3C98e8b550c7FEF00BCB2d8742d80a69" start_block_number = 802 signer_bls_private_key = "Bls key gen paste" signer_eth_private_key = "validator eth private key"
Create zgda service for your node to run in the background
Start DA node
Check log
Last updated
Was this helpful?