Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rotki integration #6894

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

feat: rotki integration #6894

wants to merge 10 commits into from

Conversation

cbermudez97
Copy link
Contributor

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
  • 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 cbermudez97 self-assigned this Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant