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 2

Cài đặt Worker chạy topic 2, 4, 6 Topic 2, 4, 6 là chạy dự đoán giá ETH, BTC, SOL trong 24 giờ. Trang Campaign: https://app.allora.network/points/campaign/run-inference-24h

PreviousInstall Worker 1NextTroubleshooting

Last updated 8 months ago

Was this helpful?

Trờ về thư mục chính:

cd ..

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

pwd
  • Kiểm tra có đúng với thư mục ở bước không. Nếu sai, cần dùng lệnh cd để di chuyển đến thư mục đó. Ví dụ:

cd /root

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-24h

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

cd worker-face-24h

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

git branch -a

Chuyển sang nhánh worker-face-24h:

git checkout worker-face-24h
git branch -a

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

mkdir -p worker-topic-2-data
chmod 777 worker-topic-2-data
mkdir -p worker-topic-4-data
chmod 777 worker-topic-4-data
mkdir -p worker-topic-6-data
chmod 777 worker-topic-6-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-worker2-topic-2:

docker logs net1-worker2-topic-2 -f

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

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:

🚀
🟢
🔺
​
​
Hiển thị thư mục hiện tại
​
​
​
​
​
​
​
​
​
​
​