rickstaa / theta-setup

My Theta edge node setup.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Theta Edge Node Setup Guide

Welcome to the heart of my Theta edge node setup! This repository houses the docker-compose file that fuels my edge node.

System Snapshot

Key Components

How to Use

Prerequisites

Setup

  1. Clone this repository.

  2. Introduce a .theta_password.txt file to this directory and input your Theta wallet password.

  3. Guarantee that the root user is the file owner:

    sudo chown root:root .theta_password.txt
  4. Confirm the file has the correct permissions:

    sudo chmod 600 .theta_password.txt
  5. Initiate the Theta edge node using Docker Compose:

    sudo docker compose up
  6. Confirm the edge node is operational by executing docker ps.

Your edge node is now primed to receive jobs from the Theta network.

Warning

Ensure root access for running Docker containers on your system. If you've previously followed this guide for non-root users, revert those steps. Failure to do so may expose your wallet password.

Get Node Info

As outlined in the Theta docs, fetch your node's info by executing:

curl -X POST -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0","method":"edgecore.GetEdgeNodeSummary","params":[],"id":1}' http://localhost:17888/rpc

Though the edgcore endpoints are not yet published in the rpc-api-reference, the following methods were discovered in the Theta discord:

  • edgecore.GetEdgeNodeSummary
  • edgecore.GetVersion
  • edgecore.GetStatus
  • edgecore.GetPeers

Interact With The Theta Wallet

You can interact with the Theta wallet by importing the keystore file found in the ~/.edgelauncher/edgecore/key/encrypted folder into the Theta Wallet web app.

About

My Theta edge node setup.