Sequencer Metadata
This section covers the process of managing the sequencer metadata for your RollApp. Sequencer metadata includes important information about your RollApp's configuration, such as RPC endpoints, explorer URLs, and other details that help users and services interact with your RollApp.
Updating this metadata is crucial for maintaining accurate and up-to-date information about your RollApp on the Dymension network. This process involves two main steps:
- Exporting the current metadata
- Updating and submitting the new metadata
By following these steps, you can ensure that your RollApp's information is always current and accessible to users and services interacting with the Dymension ecosystem.
Export Sequencer Metadata
To export the sequencer metadata, use the following command:
roller rollapp sequencer metadata export
After running this command, you'll see an output similar to:
INFO dym1dru3c...ctvjwg2kremkqxpz4 is registered as a sequencer for rollapp_12345-1
INFO retrieving existing metadata
INFO metadata successfully exported to ~/.roller/rollapp/init/sequencer-metadata.json
INFO next steps:
INFO update the metadata file
INFO run roller rollapp sequencer metadata update to submit a transaction to update the sequencer metadata
The metadata is saved in a JSON file located at ${HOME}/.roller/rollapp/init/sequencer-metadata.json
. Here is an example of the metadata file content:
{
"moniker": "",
"details": "",
"p2p_seeds": [],
"rpcs": ["https://rpc.rollapp.dym.xyz"],
"evm_rpcs": ["https://json-rpc.rollapp.dym.xyz"],
"rest_api_urls": ["https://api.rollapp.dym.xyz"],
"explorer_url": "",
"genesis_urls": [],
"contact_details": {},
"extra_data": null,
"snapshots": [],
"gas_price": "2000000000"
}
Update Sequencer Metadata
Once the metadata JSON file is updated, submit the changes using the following command:
roller rollapp sequencer metadata update
Follow the prompts to complete the update.