-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add routescan explorers #78
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
The modified files are autogenerated, so this will be overwritten the next time data is updated. Instead, we’ll want to modify |
I know you are using this repo for the api here`: async function getMetadata(chainId: number): Promise<Metadata> {
const response = await fetch('https://chainid.network/chains.json');
const data = await response.json();
const metadata = data.find((chain: Metadata) => chain.chainId === chainId);
if (!metadata) throw new Error(`Chain with ID ${chainId} not found.`);
return metadata;
} And that repo gets the data from this one. However, do you mean you want to transform the |
Ah that’s perfect, adding it upstream is preferable. Let’s give the https://github.com/ethereum-lists/chains repo some time to merge that, in which case we can close this and have it included automatically |
This PR is promoted by Routescan with the aim of improving the quality of the data as much as possible in an open-source manner.
The PR just adds the links to Routescan's explorer in the json chains data.