Skip to main content
In this section, the code examples demonstrate loading the rollup config for the given L2 Chain ID. Let’s load the Rollup Config for OP Mainnet which hash chain id 10.
Available Configskona-registry dynamically provides all rollup configs from the superchain-registry for their respective chain ids. Note though, that this requires serde since it deserializes the rollup configs dynamically from json files.