Skip to content
LTO Network - Public Node via Docker
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerrun.aws.json
README.md
docker-compose.yml Remove anchor node and full node from this repo Jul 4, 2019

README.md

LTO Network

There are 3 configuration variations of the node. Each configuration serves a different need of the node:

Node Type Description
Public Node only Contains only the public node. This configuration can be used for mining
Anchor Node Contains both the public node and the anchoring service. This configuration can be used for the anchoring of hashes of the public LTO chain
Full Node Contains all services. This configuration can used to run decentralized workflows

LTO Network Public Node

Configuration

Before you run the node you will need to configure a few environment variables per service:

Public Node Container

  1. LTO_WALLET_SEED: The seed of your wallet. Your account will need at least 1000 LTO to be able to start mining.
  2. LTO_WALLET_SEED_BASE58: The seed of your wallet but then base58 encoded. This will overwrite the LTO_WALLET_SEED
  3. LTO_WALLET_PASSWORD: This password is used to encrypt your seed on disk.
  4. LTO_API_KEY: Choose an api-key to be able to perform certain actions in the GUI.
  5. LTO_NETWORK: Choose the network you want to connect your node to. The options are: MAINNET and TESTNET (default isMAINNET).
  6. LTO_DECLARED_ADDRESS: If you have your node running on a vps set you public ip here with your port. E.g. 52.50.202.26:6868

For other options check out the Docker container of the Public Node on Github.

Run on a (virtual) machine

docker-compose up

Docker compose is configured to run the node on a local machine on port 80. If you would like to run the node on different port you will need to change the docker-compose.yml to

ports:
    - <your-port>:6869

This way the node will be accessible via port 80.

Or you can use a reverse proxy like NGINX to make the node publicly available. This is highly recommended.

Run in AWS Elastic Beanstalk

Take to following steps to install the node on EB:

  1. Zip the Dockerrun.aws.json file
  2. Create an application
  3. Inside the created application, create an environment: webserver environment
  4. Select following settings:
  • Platform: Docker
  • Upload the zipped file
  1. Configure more options
  2. Instances -> Instance type: Choose an instance with atleast 2 gb of memory (E.g. t2.small)
  3. Software -> Environment properties:
    • Name: LTO_WALLET_PASSWORD, Value: Your wallet password
    • Name: LTO_WALLET_SEED or LTO_WALLET_SEED_BASE58, Value: Wallet Seed

Now your node is should good to go!

Documentation

You can find the API documentation on the url where your node is deployed.

Running a node

TestNet

If you wish to start testing with our testnet. Please create a wallet on: https://testnet-wallet.lto.network

Send you address to our support so we will deposit some LTO for testing on the testnet. Or request your tokens via our telegram channel.

To view all the transactions on the testnet you can check out our explorer on: https://testnet-explorer.lto.network

Mainnet

For mainnet you will have to buy tokens. You can then use these tokens by sending them to the wallet you will link to your node.

The wallet can be found here: https://wallet.lto.network

The explorer can be found here: https://explorer.lto.network

You can’t perform that action at this time.