Zephyr.toml Extensions: Indexes And Dashboard
Learn how to declare zephyr.toml extension to publish indexes and dashboards to the community.
The new Mercury-CLI kit supports zephyr.toml extensions that declare any existing indexes and the dashboard for your Mercury program.
Declaring indexes and dashboards allows you to get them listed on the Mercury community explorer:
For indexes: https://main.mercurydata.app/indexes.
For dashboards: https://main.mercurydata.app/dashboards.
Declaring an Index
An index is actually any deployed table that contains live information about a certain segment of network data. If you want to make your table an index that is publicly accessible by other indexers or dashboards, you'll need to declare it in the zephyr.toml
settings.
Below is an example of a declared index:
Declaring the Dashboard
If your program is externing the dashboard
function and you want to make it discoverable to the Mercury community, you need to declare the dashboard in the zephyr.toml
configuration as follows:
For more information about creating dashboards, check out Custom Dashboards
Last updated