Node9X Service
  • 🍄MAINNET
    • 🟢Kopi Protocol
      • 💾Service & Snapshot
      • ⚙️Installation
      • ⛓️Upgrade (V11)
      • 🪢Cosmovisor
      • 🛰️Command
  • 🚀Testnet
    • 🧬Explorer
    • 🟢Native
      • ⚙️Installation
    • 🟢XRPL EVM
      • 💾Service & Snapshot
      • ⚙️Installation
      • 🕹️Command
    • 🟢Pipe Network
      • Installation
      • Upgrade
    • 🟢Pell
      • 💾Service & Snapshot
      • ⚙️Installation
      • ⛓️Upgrade (v1.1.1)
      • 🕹️Command
    • 🟢Structs
      • 💾Service & Snapshot
      • ⚙️Installation
      • 🕹️Command
    • 🟢Prysm
      • 🛰️Service & Snapshot
      • ⚙️Installation
      • 💾Command
    • 🟢Zenrock
      • 💾Service & Snapshot
      • ⚙️Installation
      • ⛓️Upgrade ( v6.3.3)
      • 🕹️Cosmovisor
      • 🛰️Command
      • ⚙️Sidecar (✔️Oracle)
        • 🔗Upgrade
    • 🟢Story Protocol
      • 💾Service & Snapshot
      • ⚙️Installation (Odyssey)
      • ⛓️Upgrade (v0.13.1)
        • 🪢Upgrade (v0.13.0)
      • ⛓️Cosmovisor
      • 🛰️Command
    • 🟢0G Chain
      • Service & Snapshot
      • Installation
        • Cosmovisor
      • Commands
      • ☑️0G Storage Node
        • Upgrade (v0.7.3)
      • ☑️0G Storage KV
      • ☑️0G DA Node
        • Update
      • ☑️0G DA Client
    • 🟢Airchains
      • 💾Service & Snapshot
      • ⚙️Installation
        • 🪢Cosmovisor
        • 🔺EVM ZK Rollup
      • 🕹️Commands
      • ⛓️Upgrade
    • 🟢Allora
      • 🔺Workers
        • Create tool and worker wallet
        • Install Worker 1
        • Install Worker 2
        • Troubleshooting
        • Script for checking worker
      • Another method
      • Service
      • Installation By Dock (Recommend)
      • Installation
      • Snapshot & State sync
      • Useful commands
    • 🟢Hedge Block
      • Service
      • Installation
      • Commands
    • 🟢Dill Chain
      • Usage Commands
    • 🟢Fiamma Chain
      • 🥦Services & Snapshot
      • ⚙️Installation
      • 🛰️Usage Command
    • 🟢Elixir Testnet
      • ⚙️Installation
    • 🟢Chainbase
      • ⛓️Installation
    • 🔘AXONE Protocol
      • 💾Service & Snapshot
      • ⚙️Installation
    • 🔘Symphony
      • 🔌Installation
      • 🥦Fresh Peer
    • 🔘Empeiria
      • Installation
      • Usage Command
Powered by GitBook
On this page

Was this helpful?

  1. Testnet
  2. Allora
  3. Workers

Install Worker 1

Cài đặt Worker chạy topic 1, 3, 5

PreviousCreate tool and worker walletNextInstall Worker 2

Last updated 7 months ago

Was this helpful?

Hiển thị thư mục hiện tại:

pwd
  • Lưu lại thư mục này kiểm tra sau này.

Clone repository:

git clone https://github.com/nhunamit/basic-coin-prediction-node.git

Đổi tên thư mục repository vừa clone:

mv basic-coin-prediction-node worker-face-10m

Di chuyển vào thư mục vừa đổi tên:

cd worker-face-10m

Xem các nhánh có sẵn:

git branch -a

Chuyển sang nhánh worker-face-10m:

git checkout worker-face-10m

Kiểm tra lại nhánh đã thay đổi sang worker-face-10m:

git branch -a

Như hình dưới là đã chuyển sang nhánh worker-face-10m:

mkdir -p worker-topic-1-data
chmod 777 worker-topic-1-data
mkdir -p worker-topic-3-data
chmod 777 worker-topic-3-data
mkdir -p worker-topic-5-data
chmod 777 worker-topic-5-data
nano docker-compose.yml
  • Nhấn i để chuyển sang chế độ chỉnh sửa.

  • Tìm 3 dòng có chữ: --allora-chain-restore-mnemonic='just clap slim ...' và sửa just clap slim ... thành 24 từ mnemonic của ví mới tạo ở bước

  • Chỉnh đoạn container_name có net1 thành allora từ dòng updater trở đi

  • Lưu và thoát bằng cách nhấn Esc sau đó gõ :wq và nhấn Enter. (Để thoát mà không lưu, nhấn Esc sau đó gõ :q! và nhấn Enter)

docker compose up -d
docker compose logs -f

Nhấn Ctrl + C để thoát khỏi log.

  • Hiển thị danh sách các worker đang chạy:

docker compose ps

Hoặc xem toàn bộ các container đang chạy:

docker ps
  • Lấy tên NAMES của worker cần xem log từ danh sách trên.

  • Ví dụ xem log của net1-worker1-topic-1:

docker logs net1-worker1-topic-1 -f

Tạo thư mục data cho các worker:

Sửa 24 từ mnemonic trong file docker-compose.yml:

Chạy Docker Compose:

Kiểm tra log:

Xem riêng log của từng worker:

🚀
🟢
🔺
​
​
​
​
​
​
​
​
​
​
​
​