nethermind icon indicating copy to clipboard operation
nethermind copied to clipboard

feat: rotki integration

Open cbermudez97 opened this issue 2 years ago • 0 comments

Changes

  • Add Dockerfile to package Nethermind and Rotki

Types of changes

What types of changes does your code introduce?

  • [ ] Bugfix (a non-breaking change that fixes an issue)
  • [ ] New feature (a non-breaking change that adds functionality)
  • [ ] Breaking change (a change that causes existing functionality not to work as expected)
  • [ ] Optimization
  • [ ] Refactoring
  • [ ] Documentation update
  • [ ] Build-related changes
  • [x] Other: Add Nethermind and Rotki Docker Image

Usage

Currently the Nethermind-Rotki docker image is usable in the nethermindeth/nethermind:rotki docker image. It can be used as any other Nethermind docker image.

Inputs

This image can handle these inputs:

  • All arguments will be used when running the nethermind executable.
  • The environment variables ROTKI_USERNAME and ROTKI_PASSWORD, if defined, will be used to create and pre configure a Rotki app user. If not defined user will need to be configured manually.
    • IMPORTANT: This username and password are used for the app only and is not related to the https://rotki.com user.

Results

Once started you will have:

  • A Nethermind instance running as configured by the used arguments.
  • A Rotki instance running on the port 80. If ROTKI_USERNAME and ROTKI_PASSWORD were defined the Rotki app will have been preconfigured to create the defined user and use the Nethermind instance.
    • The Nethermind instance will be configured using default port 8545. This need to be updated inside Rotki app if a different on was used.

Manually Configure Rotki app

If no ROTKI_USERNAME and ROTKI_PASSWORD were configured then Rotki will need to be manually configured. For adding your user follow Rotki docs. Once logged in, you can add your Nethermind instance to your Ethereum RPC providers with this configuration(See docs):

  • Name: My Nethermind Node
  • Endpoint: http://localhost:8545. Change default Rpc port 8545 if you configured a different one.

cbermudez97 avatar Apr 02 '24 16:04 cbermudez97