Free Coding Challenges Here.

Back to Blog.

How to Stake $TFUEL and start an Elite Edge Node

Total Views:44

4 min read

How to Stake $TFUEL and start an Elite Edge Node

Share This Article on Social Media


How to Stake $TFUEL and start an Elite Edge Node

Over the course of next few paragraphs I'm going to be writing about my approach to staking TFUEL and breaking down the complexity of setting up a Docker Image to stake with Theta Labs edge node application. We will be focusing on the solution for MacOs in this article.

Theta Token Official Documentation

I'll assume that you have read the official documentation, and have Docker installed. I'm using MacOs but I think it's the same/similar steps in other OS as well.

Requirements

  • You can get Docker CLI at the Docker Official Website.
  • Download an edge node in your environment at the Theta Token Official Website.
  • A minimum of 10,000 TFUEL is required to stake to an Elite Edge Node.

Getting Started

With Docker up and running, open a terminal window, and run the following command

docker pull thetalabsorg/edgelauncher_mainnet:v1.0.0 && docker rm edgelauncher

Generally you will only run the command above once (or perhaps later when an update is released by Theta Labs). This download should only take a minute or two, depending on your internet connection and then it will check for an existing edgelauncher.

Next let's create a container or a running instance from the docker image to the start it up.

docker run -e EDGELAUNCHER_CONFIG_PATH=/edgelauncher/data/mainnet -e PASSWORD=<YOUR_PASSWORD> -v ~/.edgelauncher:/edgelauncher/data/mainnet -p 127.0.0.1:15888:15888 -p 127.0.0.1:17888:17888 --name edgelauncher -it thetalabsorg/edgelauncher_mainnet:v1.0.0

Before you execute it, you'll need to tweak it a bit: -e PASSWORD=<YOUR_PASSWORD> has to be edited, you need to set your own password here. So it should look like this: -e PASSWORD=MyStrongPassword. Generate a strong password and ensure it is stored safely. The --restart always flag is to make the edge node restart everytime with the system. The --detatch flag is so it will run in the background. Feel free to configure the flags in whatever suits your needs best.

Remember to change the password!

sudo docker run -e EDGELAUNCHER_CONFIG_PATH=/edgelauncher/data/mainnet -e PASSWORD=AStrongPasswordGoesHere -v ~/.edgelauncher:/edgelauncher/data/mainnet -p 127.0.0.1:15888:15888 -p 127.0.0.1:17888:17888 --restart always --detach --name edgelauncher -it  thetalabsorg/edgelauncher_mainnet:v1.0.0

If you followed this correctly that should be it! You should also be able to generate a summary address for staking through the MacOS Edge Node App. However, you can also generate the summary address by running the following command.

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

You can verify the status by executing docker stats command. Another great tool to monitor docker containers is portainer.

Theta Edge Node Running

More information regarding the edge node application and staking can be found here.

You can also get a great amount of information from the Theta Edge Node GUI (Graphic User Interface).

Edge Node Home Application Edge Node Holder Summary

Troubleshooting

For trouble shooting you can follow the reddit post that inspired this article here.

Learn More About Theta:

Next generation video delivery powered by you.

The Problem

  • Poor Quality: Today's content delivery networks (CDN) lack reach, causing video re-buffering, and high load times in many parts of the world.
  • Sky rocketing data needs: Users demand 4k, 8k, and higher quality streams create infrastructure bottleneck.
  • Centralized and inefficient system: The centralized nature means less revenue flows back to content creators and platforms.
The Problem Visualization

Solution

  • Viewers earn rewards as Theta Fuel For sharing excess bandwidth and resources, viewers are now rewarded to participate in the network.
  • Higher quality, smoother video streaming A decentralized peer-to-peer network delivers streams efficiently globally.
  • Reduced cost of delivering video streams Video platforms no longer need to build expensive infrastructure, means more innovation and unique business models.
The Solution Visualization

In the end, users benefit by sharing their bandwidth and building a community. Content creators and platforms all earn more with lower streaming costs.

More Articles

The 7 best tools for beginner Software Engineers/Developers going into 2022

The 7 best tools for beginner Software Engineers/Developers going into 2022

When you are a beginner Software Engineer, the abundance of tools at your disposal can be a bit overwhelming at first. There is so much to choose from, and although that is a privilege, it can be hard to know which tools will actually help you in becoming a better programmer.

How to Invert a Binary Tree In Python

How to Invert a Binary Tree In Python

Lets get to the root of the problem. Today we will write an algorithm that takes in a Binary Tree and inverts it. In other words, the function will swap every left node in the tree for its corresponding right node. This article will focus on implementing a solution in Python.

How to Solve: Robot Vaccum Algorithm Problem

How to Solve: Robot Vaccum Algorithm Problem

Given a string representing the sequence of moves a robot vacuum makes, return whether or not it will return to its original position. The string will only contain L, R, U, and D characters, representing left, right, up, and down respectively.

Hello World... from My New Blog!

Hello World... from My New Blog!

I'm a Fullstack Engineer with a passion for constantly learning and pushing the boundaries of my comfort zone. I have 2+ years of experience in Front-End Development working on design, deployment, and maintenance of web-based projects....

Copyright © 2023 | All Rights Reserved - Privacy Policy