Welcome to the heart of my Theta edge node setup! This repository houses the docker-compose file that fuels my edge node.
- Operating System: Ubuntu 22.04 (Kernel version: 5.15.0-86-generic).
- Graphics Processing Unit (GPU): 1x NVIDIA GeForce GTX 1070 Ti.
- Power Supply Unit (PSU): Corsair HX1200i PSU.
- Ensure Docker and Docker Compose are installed on your system.
-
Clone this repository.
-
Introduce a
.theta_password.txt
file to this directory and input your Theta wallet password. -
Guarantee that the root user is the file owner:
sudo chown root:root .theta_password.txt
-
Confirm the file has the correct permissions:
sudo chmod 600 .theta_password.txt
-
Initiate the Theta edge node using Docker Compose:
sudo docker compose up
-
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.
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
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.