Skip to content

Commit

Permalink
docs: fix typos in documentation files (backport #23063) (#23066)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Dec 23, 2024
1 parent 612848c commit 013e5f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/user/run-node/04-rosetta.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ rosetta

## Plugins - Multi chain connections

Rosetta will try to reflect the node types through reflection over the node gRPC endpoints, there may be cases were this approach is not enough. It is possible to extend or implement the required types easily through plugins.
Rosetta will try to reflect the node types through reflection over the node gRPC endpoints, there may be cases where this approach is not enough. It is possible to extend or implement the required types easily through plugins.

To use Rosetta over any chain, it is required to set up prefixes and registering zone specific interfaces through plugins.

Each plugin is a minimalist implementation of `InitZone` and `RegisterInterfaces` which allow Rosetta to parse chain specific data. There is an example for cosmos-hub chain under `plugins/cosmos-hun/` folder
Each plugin is a minimalist implementation of `InitZone` and `RegisterInterfaces` which allow Rosetta to parse chain specific data. There is an example for cosmos-hub chain under `plugins/cosmos-hub/` folder
- **InitZone**: An empty method that is executed first and defines prefixes, parameters and other settings.
- **RegisterInterfaces**: This method receives an interface registry which is were the zone specific types and interfaces will be loaded
- **RegisterInterfaces**: This method receives an interface registry which is where the zone specific types and interfaces will be loaded

In order to add a new plugin:
1. Create a folder over `plugins` folder with the name of the desired zone
Expand Down

0 comments on commit 013e5f5

Please sign in to comment.