Osmosis is a decentralized exchange that is focused on providing traders with the best in-class opportunity to swap tokens.
Being an app-chain, Osmosis has its own network operated by 150 validators.
As a result, it heavily relies on applications such as blockchain explorers that would offer users and developers the opportunity to inspect the historical state.
Some examples of the Osmosis explorers created by the community:
Osmosis now wants to build an in-house data indexer and a blockchain explorer application using it.
Application requirements:
To start, focus on the first 3 requirements. We suggest attempting to integate bonus requirements on top of the acrhitecture that is already defined.
The current indexer implementations do not display human readable denoms. Instead, they show on-chain representations that, oftentimes, start with "ibc" prefix.
We would like to have the opportunity to toggle the view and see the human-readable denoms on every screen. Especially, in the transaction inspection view.
Note, that we track all translations via this file that is auto-updated on new token listings.
Keep in mind that not all tokens are listed. If the translation does not exist and we toggle the human redable denom option, we would like to still show the on-chain denom to the user.
Define your data architecture in a way where this functionality can be enabled.
Osmosis has the notion of epochs where every epoch (e.g. day) the chain distributes rewards to liquidity pools.
We would like to design a custom screen that would breakdown the incentive rewads distribution to each pool per epoch.
The screen is to have a list of epochs. Each epoch can be expanded with a dropdown where pools a paginated. 50 pools per page. Each pool has a reward distribution associated with it during that epoch.
x/
folder in root) has their own gRPC server.proto
directory.