You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can eliminate some of the required config values by looking up chain details using one (or both depending on what we want to pull in) of the following methods:
/status endpoint RPC - contains result.node_info.network showing the chain ID value
Chain Registry for the particular chain:
Contains bech32_prefix for the address prefix usable by message parsers
Subfolders do not match network name, we would need to most likely hit the RPC and get the chain subfolder by matching on the network name
Doing this will have some implications, mainly with what chain we store in the database. The database can contain multiple chains and we denote them using the network name.
We will then be able to eliminate the hard-coded config values for ChainID and account prefix from the [probe] block
The text was updated successfully, but these errors were encountered:
We can eliminate some of the required config values by looking up chain details using one (or both depending on what we want to pull in) of the following methods:
result.node_info.network
showing the chain ID valuebech32_prefix
for the address prefix usable by message parsersDoing this will have some implications, mainly with what chain we store in the database. The database can contain multiple chains and we denote them using the network name.
We will then be able to eliminate the hard-coded config values for ChainID and account prefix from the [probe] block
The text was updated successfully, but these errors were encountered: