Skip to content

🚀 Rosetta API implementation for Waves Blockchain

Notifications You must be signed in to change notification settings

KardanovIR/waves-rosetta-api

Repository files navigation

Waves Rosetta API

Waves node with Rosetta API compatible middleware

Overview

This middleware implements Rosetta API specifications for Waves blockchain.

The docker image inherits settings from Waves Node Docker Image.

Usage

Build docker image

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

docker build . -t waves-rosetta-api

Additional properties are described here.

Running docker image

docker run -v /waves-data:/var/lib/waves -v waves-config:/etc/waves -p 6869:6869 -p 6862:6862 -p 8080:8080 -e JAVA_OPTS="-Dwaves.rest-api.enable=yes -Dwaves.rest-api.bind-address=0.0.0.0 -Dwaves.rest-api.port=6869  -Dwaves.wallet.password=myWalletSuperPassword" -e WAVES_NETWORK=stagenet -ti waves-rosetta-api

Calling API

API call examples are shown here.

Configuration

Waves node image configuration process is described here

Middleware configuration is stored in .env file

Tests

Use Rosetta CLI to run tests for this middleware.

Known issues

  • Transaction fees are counted as one Operation because of lack of data about sponsored asseets
  • /construction/payloads requires an additional field public_key to generate a transaction
  • Does not support assets issued on the Waves blockchain
  • Supports only one signature in Construction API

About

🚀 Rosetta API implementation for Waves Blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published