Open MSilb7 opened 11 months ago
This is super helpful for us (growthepie.xyz). It is tedious work to figure out the differences between OP chains and the current metadata proposal would already solve this for us. i.e. we want to make sure that we group chains correctly (superchain, op stack, bedrock, etc.) and this shared list will help as a single source of truth. Having important links like RPCs and explorers also make our lives easier. And just having a list of OP related chains is helpful - it's already hard to keep track of all of them.
Might be interesting to add mainnet_launch_date. Defining the mods in greater detail could also be helpful (block size, block time, etc.)
It seems like with the current level of complexity csv is sufficient as input. Might make sense to use yml anyway just to be prepared for more complexity. Output csv or json are both great.
The automation part of detecting new L2 contracts is interesting - we might be able to look closer into that in the coming months.
Fields:
op_based_version
to version
or protocol_version
). And then you have the is_law_of_chains
fields, which just becomes a an OP-specific superset of the base fields.has_mods
column. While potentially useful, this may be a subjective measure or what all qualifies as a modification.raas_deployer
, but in Dune Upload from OP Labs CRM dataset_op_stack_chain_metadata, there is a column named initial_chain_deployer
. I would much prefer using initial_chain_deployer
as there will never be null fields. Maybe there should also be a current_chain_deployer
field in case someone change deployers?contracts
(or similar), then use json/yml to nest the names of the contracts and their addresses. This would retain all the data currently in this dataset but generalizes for use with other chains.Derive OP Chain data using the chain factory Would this handle partial automation of this, at least for those opted into the Superchain? You likely could determine some of this from onchain bytecode when a new chain gets deployed, but if there's any changes in their deployment, that wouldn't work anymore.
Given that it seems like potentially dynamic metadata is wanted to be included (which I agree with), I'm not sure that any of this needs to be onchain. Unless of course there's already a need for this that I'm not aware of.
For an OP Stack specific registry, unfortunately I think you or someone else at OP Labs will have to be the approver/denier. A more open solution would be great, but would likely lead to the list getting spammed with bad data.
While the ideal outcome is of course that projects always want to add themselves to the list, they may not care or know about the list. Of course make it as known as possible, but then maybe also tie in eligibility of going on the Superchain Eco website to first adding their data to this registry. There's never going to be a perfect solution here.
.
Opening up discussion for requirements / ideas for creating an open-source registry for any and all OP Chains & OP Stack Forks.
Problem: Crypto data teams have a super hard time keeping track of deployed OP Chains & OP Stack Forks. Some chain deployers attempt to get in touch with OP Labs / OP Foundation, but otherwise this requires sleuthing through Twitter, blog posts, news aggregators, etc. Many people maintain their own lists with varying degrees of comprehensiveness (nobody knows how many production mainnet chains actually exist)
To solve for this, want to create a shared open-source resource for analysts, developers, educators, etc to identify OP Chains & OP Stack Forks with the relevant information about them.
See Key Definitions for Chain Segments
Goals:
Existing Version(s):
chain_metadata
dataset_op_stack_chain_metadata
Other Inspiration / Attempts:
Open Questions:
What fields do we need to track? What "requirements" should this have?
What is the right organizational structure? (i.e. one ecosystem/chain deployer can have multiple chains, there may be a gazillion chains)
What could/should be onchain?