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

[Feature]: Enable Rosetta multi zone compatibility #16279

Closed
Tracked by #16220
bizk opened this issue May 24, 2023 · 0 comments
Closed
Tracked by #16220

[Feature]: Enable Rosetta multi zone compatibility #16279

bizk opened this issue May 24, 2023 · 0 comments
Assignees
Labels
C:Rosetta Issues and PR related to Rosetta T:feature-request

Comments

@bizk
Copy link
Contributor

bizk commented May 24, 2023

Summary

Make Rosetta implementation compatible with other cosmos zones.

Problem Definition

At this time, the Rosetta implementation only works with the Cosmos-hub chain; there is no easy way to onboard or use it with other Cosmos zones since it lacks the interfaces that are required by the codec to parse the chain data.

Proposal

A plugin system that allows users to use Rosetta to parse their specific chain by providing an easy way to load their interfaces without needing to fork or change the project. Users should implement the required functions that configure the chain-specific types and load the required interfaces.

This feature is executed in the Rosetta setup stage. On the function executed after the./rosetta main command is called. It reads the --blockchain flag from the cli, looks for the plugin folder with that blockchain name under a plugins folder, loads the plugin (which is a main.go file), and executes the required functions to set up required configurations like prefixes and inject the required interfaces.

@ainhoa-a ainhoa-a added the C:Rosetta Issues and PR related to Rosetta label Jun 22, 2023
@github-project-automation github-project-automation bot moved this to 📝 Todo in Cosmos-SDK Jun 22, 2023
@bizk bizk closed this as completed Jul 24, 2023
@github-project-automation github-project-automation bot moved this from 📝 Todo to 👏 Done in Cosmos-SDK Jul 24, 2023
@tac0turtle tac0turtle moved this to 🥳 Done in Cosmos-SDK Nov 16, 2023
@tac0turtle tac0turtle removed this from Cosmos-SDK Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:Rosetta Issues and PR related to Rosetta T:feature-request
Projects
None yet
Development

No branches or pull requests

2 participants