sudo apt update && sudo apt upgrade -y
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - && sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" && sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin -y
docker pull analoglabs/timechain
docker run -d --name analog -p 9944:9944 -p 30303:30303 -v $(pwd)/.analog:/.analog analoglabs/timechain \
--base-path /.analog \
--rpc-external \
--unsafe-rpc-external \
--rpc-cors all \
--name YourMoniker \
--telemetry-url="wss://telemetry.analog.one/submit 9" \
--rpc-methods Unsafe
Change YourMoniker to your node name
2024-06-23 15:36:54 ✨ Imported #1031546 (0x98b1…6fda)
2024-06-23 15:36:57 Report 12D3KooWPADeY26Cr3TKr6XFndCwN8M2g7EkYw7HWoFFbNweWbob: -2147483648 to -2147483648. Reason: Genesis mismatch. Banned, disconnecting.
2024-06-23 15:36:58 💤 Idle (2 peers), best: #1031546 (0x98b1…6fda), finalized #1031544 (0x9cd8…4133), ⬇ 2.8kiB/s ⬆ 1.9kiB/s
2024-06-23 15:37:00 ✨ Imported #1031547 (0x1b00…d990)
2024-06-23 15:37:01 ✨ Imported #1031547 (0x8f1b…2298)
2024-06-23 15:37:03 💤 Idle (2 peers), best: #1031547 (0x1b00…d990), finalized #1031545 (0xf1ee…482c), ⬇ 3.1kiB/s ⬆ 1.7kiB/s
2024-06-23 15:37:06 ✨ Imported #1031548 (0xee15…5000)
2024-06-23 15:37:08 💤 Idle (2 peers), best: #1031548 (0xee15…5000), finalized #1031546 (0x98b1…6fda), ⬇ 2.2kiB/s ⬆ 2.0kiB/s
2024-06-23 15:37:12 ✨ Imported #1031549 (0xdb13…a2f7)
2024-06-23 15:37:13 💤 Idle (2 peers), best: #1031549 (0xdb13…a2f7), finalized #1031546 (0x98b1…6fda), ⬇ 6.1kiB/s ⬆ 2.3kiB/s
sudo wget -qO /usr/local/bin/websocat https://github.com/vi/websocat/releases/latest/download/websocat.x86_64-unknown-linux-musl
sudo chmod a+x /usr/local/bin/websocat && websocat --version
Validators must have a minimum stash in their accounts (0.9 TANLOG)
echo '{"id":1,"jsonrpc":"2.0","method":"author_rotateKeys","params":[]}' | websocat -n1 -B 99999999 ws://127.0.0.1:9944
{"jsonrpc":"2.0","result":"0xb4975e1b541......77d86128917540caf1d","id":1}
Backup Session Key save it to your text editor app for later use