So you decided you want to be part of the LTO Network, awesome!
A great way to be part of the community is by actively participating as a node in the network. Running an AWS Elastic Bean Stalk LTO Network Public node will set you back around 1.10 dollar per day. You can use our Community ROI calculator to get an indication of your possible earnings.
Make sure to check out the Prepare: Setup your wallet page before continuing. The node setup pages assume you utilize a 2-wallet setup for extra safety.
Do you have an AWS account? If not set one up through https://console.aws.amazon.com/.
Next try to make yourself at least basically familiar with this Github page: https://github.com/legalthings/lto/tree/master/public-node. It describes the procedure to setup the AWS node in less detail than this document but it shows you the origin of what we’re doing.
In step 4 we will configure the actual Elastic Bean in AWS. In that step I assume you were successful in the creation of your AWS account.
The last step in preparation is the download of the: “Dockerrun.aws.json” file from the Github repository. Download this file (https://github.com/legalthings/lto/blob/master/public-node/Dockerrun.aws.json) to your system and zip it using your favorite archive tool.
Open the AWS interface: https://console.aws.amazon.com/elasticbeanstalk/home?region=us-east-1#/applications. If you want to change the AWS region where you want to host your application this is the time.
Let’s create our application by clicking “Create New Application”:
Specify an Application name and a Description. Just choose yourself.
Next step is to create the environment. This will be the actual node:
Select the “Web server environment” tier and click “Select”.
In the next screen we need to specify a few things:
Choose a name for the environment, you choose yourself.
You can choose a name for the domain. This will be the first part of the url where you can reach your node if you choose the enable the API later on. If you don’t fill in anything here the system will auto-generate.
Fill in a description if you want.
Make sure to specify “Docker” as the Preconfigured platform.
Finally select the “Upload your code” option under “Application code” and click the Upload button.
Clicking the Upload button gives you the opportunity to “Choose File” the zip file (Dockerrun.aws.json.zip) you created earlier.
Upload your code screen — Click upload after selecting the file.
Clicking the Upload button brings us back to web environment creation screen. We need to configure some additional things so let’s click the “Configure more options” button.
We want to change the following things:
Instances, click modify: EC2 instance type, change to: t2.small
Software, click modify:
On the software screen you can choose to activate the Log streaming. Personally I find this very useful. To activate check the Log streaming box like shown in the screenshot above.
2nd is to setup the Environment properties. Depending on your wish to activate the API you configure just the first 2 variables or configure all of them.
Both LTO_WALLET_PASSWORD and LTO_API_KEY are fields for which you choose the value. The LTO_WALLET_SEED is your official wallets seed. In this example we use the seed (the mnemonic phrase / the list of words) of the 2nd wallet we created.
Finished configured the environment properties you can click “Save” and then “Create environment”.
AWS will now create the Elastic Bean Stalk application based on the Dockerfile (the file you uploaded) and parameters you specified. Please give this process a few minutes to complete.
If you have enabled the API (assuming you configured all 4 environment properties) you can connect to your node through your favorite webbrowser.
You can find the LTO Network Explorer at https://explorer.lto.network. It shows you the blocks generated, by who, when, how big they are and how many transactions are in the block.
After launching your node check the Explorer to see the number of the last block. Wait till another 1.000 blocks are generated and expect your node to be part of the LTO Network.
Depending on your stake (the number of LTO tokens you have in the “2nd wallet”) it will take more or less time for you to start earning LTO.
Be patient and be happy. Welcome to the amazing LTO Network community.