Skip to content

ltonetwork/lto-rosetta-api

Repository files navigation

LTO Rosetta API

LTO node with Rosetta API compatible middleware.

This project is a fork of https://github.com/KardanovIR/waves-rosetta-api.

Overview

This middleware implements Rosetta API specifications for LTO blockchain.

The docker image inherits settings from LTO Public Node Docker Image.

Usage

Build docker image

The simplest way to build an image is to run the following command:

docker build . -t lto-rosetta-api

Running docker image

docker run -v /lto-data:/var/lib/LTO -v lto-config:/etc/lto -p 6869:6869 -p 6862:6862 -p 8080:8080 -e JAVA_OPTS="-DLTO.rest-api.enable=yes -DLTO.rest-api.bind-address=0.0.0.0 -DLTO.rest-api.port=6869  -DLTO.wallet.password=myWalletSuperPassword" -e LTO_NETWORK=testnet -ti lto-rosetta-api

Calling API

API call examples are shown here.

Configuration

LTO Network public node image configuration process is described here.

Middleware configuration is stored in .env file

Tests

Use Rosetta CLI to run tests for this middleware.

About

LTO public node with Rosetta API compatible middleware

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages