- Docker and Docker Compose (Tested on Linux only)
to run a validator clone this repo on server and cd into it
copy environment file sample to .env and set your configs, if you don't have a wallet already just skip the wallet address for now.
cp .env.sample .env
docker compose pull & docker compose build
docker compose run --rm validator init
set your wallet address from previous into .env file , then head to discord and get your test tokens.
docker compose up -d validator
wait for your validator to catch up with the rest of network before you proceeding. you can check validator's current info by running this:
docker compose exec validator /opt/helpers.sh validator:sync-info
docker compose exec validator /opt/helpers.sh validator:connect
docker compose exec validator /opt/helpers.sh validator:delegate <celestiavaloper address> <amount>utia
Initialize bridge node
docker compose run --rm bridge celestia bridge init && docker compose run --rm bridge celestia bridge start
if you want to stick with generated account, write down mnemonic codes somewhere safe, then run bridge node in background, otherwise if you want to use validator wallet, skip to next part
docker compose up -d bridge
copy keys from validators volume
docker run --rm \
-v celestia-docker_celestia-app:/src \
-v celestia-docker_celestia-bridge-node:/dst \
busybox sh -c "cp -a /src/keyring-test /dst/keys/"
IMPORTANT in .env
file change BRIDGE_KEY_RING_ACC_NAME
value same as VALIDATOR_WALLET_NAME
run bridge node in background
docker compose up -d bridge
Initialize light node
docker compose run --rm light celestia light init && docker compose run --rm light celestia light start
if you want to stick with generated account, write down mnemonic codes somewhere safe, then run light node in background, otherwise if you want to use validator wallet, skip to next part
docker compose up -d light
copy keys from validators volume
docker run --rm \
-v celestia-docker_celestia-app:/src \
-v celestia-docker_celestia-light-node:/dst \
busybox sh -c "cp -a /src/keyring-test /dst/keys/"
IMPORTANT in .env
file change LIGHT_KEY_RING_ACC_NAME
value same as VALIDATOR_WALLET_NAME
run light node in background
docker compose up -d light