Node Setup Quick Start
Use the guided setup shell scripts!
1. Install Prerequisites:
mkdir -p ~/layer/binaries && cd ~/layer/binaries && mkdir v6.1.0-fix && cd v6.1.0-fix && wget https://github.com/tellor-io/layer/releases/download/v6.1.0-fix/layer_Linux_x86_64.tar.gz && tar -xvzf layer_Linux_x86_64.tar.gzmkdir -p ~/layer/binaries && cd ~/layer/binaries && mkdir v6.1.0-fix && cd v6.1.0-fix && wget https://github.com/tellor-io/layer/releases/download/v6.1.0-fix/layer_Darwin_arm64.tar.gz && tar -xvzf layer_Darwin_arm64.tar.gz2. Download the script that matches your system:
curl -O https://raw.githubusercontent.com/tellor-io/layer/refs/heads/main/scripts/setup/initial_config/configure_mainnet_linux.sh && chmod +x configure_mainnet_linux.shcurl -O https://raw.githubusercontent.com/tellor-io/layer/refs/heads/main/scripts/setup/initial_config/configure_mainnet_mac.sh && chmod +x configure_mainnet_mac.sh2.1. Edit the environment variables (optional)
# ...
export LAYER_NODE_URL=https://mainnet.tellorlayer.com/rpc/
export RPC_NODE_ID=cbb94e01df344fdfdee1fdf2f9bb481712e7ef8d
export KEYRING_BACKEND="test"
export PEERS="[email protected]:26656,[email protected]:26656,[email protected]:26656"
export LAYER_HOME="/home/$(logname)/.layer"
export STATE_SYNC_RPC="https://mainnet.tellorlayer.com/rpc/"
export KEY_NAME="test"
# ...3. Give the script permission to execute, and run it:

Options:


Last updated
Was this helpful?

