-
Notifications
You must be signed in to change notification settings - Fork 6k
Add EIP: Ethereum Network Configuration for DApps #9312
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
Conversation
File
|
Co-authored-by: g11tech <[email protected]>
Co-authored-by: g11tech <[email protected]>
|
do you think this is better specified/provided in ERC? because this seems not be linked to ethereum protocol and client development which is what EIPs are for. |
Based on reading a few articles, its falls right in between ERC and EIP as per definition. However, there are a few ERCs around JSON schema definition and interoperability. So I think it makes sense, but I would prefer someone from regular maintainers to make final decision on that. |
so EIPs are what L1 clients implement, i.e. EL clients and CL clients, I don't see why they would need to implement this and not have someone/anyone add a contract that provides/serves this data to the Dapps, which is why this might be an ERC |
Co-authored-by: Sam Wilson <[email protected]>
Co-authored-by: Sam Wilson <[email protected]>
Co-authored-by: Sam Wilson <[email protected]>
Co-authored-by: Sam Wilson <[email protected]>
Co-authored-by: Sam Wilson <[email protected]>
Co-authored-by: Sam Wilson <[email protected]>
Co-authored-by: Sam Wilson <[email protected]>
Co-authored-by: Sam Wilson <[email protected]>
Co-authored-by: Sam Wilson <[email protected]>
|
Move to ERC: ethereum/ERCs#1003 |
Moved to ERC
ethereum/ERCs#1003
History
This standard defines a universal format for specifying network configurations in decentralized applications (dApps). The configuration includes essential information about Ethereum networks, such as:
The goal of this standard is to simplify network configuration for dApp developers and enhance interoperability across Ethereum-compatible networks.
{ "version": "0.0.1", "timestamp": "2025-01-01T12:22:46.471Z", "summary": "NFT Artwork", "description": "Artwork published by independent artist. Carefully crafted with style in one of the creative studios of the world." "abiRoot": "https://nft-artwork.example.com/developer/abi" "networks": { "1": { "name": "Ethereum Mainnet", "testnet": false, "nativeCurrency": { "name": "Ether", "symbol": "ETH", "decimals": 18 }, "rpcs": { "main": { "url": "https://eth-rpc.example.com" }, "backup": { "url": "https://eth-rpc.backup.example.com" } }, "relations": { "mainnetChainId": null, "parentChainId": null }, "explorers": { "megascan": { "root": "https://example.org", "block": "/block/:number", "address": "/address/:address", "tx": "/tx/:tx", "nft": "/nft/:address/:token" }, "marketplace": { "root": "https://nft.marketplace/networks/eth", "block": null, "address": "/:address", "tx": null, "nft": "/:address/:token" } }, "contracts": { "Registry": { "address": "0x57928ff7b0BBc3Ee4D84481e320DdB8B941f986A", "blockCreated": 1234567, "abiUrl": "./Registry.sol/Registry.json" }, "OwnerWallet": { "address": "0xC12237E57B088e9191BD8054Df4f5B772646a4B6", "blockCreated": 1 } } }, "11155111": { "name": "Sepolia", "testnet": true, "nativeCurrency": { "name": "Sepolia Ether", "symbol": "ETH", "decimals": 18 }, "rpcs": { "main": { "url": "https://sepolia-rpc.example.com" }, "backup": { "url": "https://sepolia-rpc.backup.example.com" } }, "relations": { "mainnetChainId": 1, "parentChainId": null }, "explorers": { "megascan": { "root": "https://sepolia.example.org", "block": "/block/:number", "address": "/address/:address", "tx": "/tx/:tx", "nft": "/nft/:address/:token" }, "marketplace": { "root": "https://testnets.nft.marketplace/networks/sepolia", "block": null, "address": "/:address", "tx": null, "nft": "/:address/:token" } }, "contracts": { "Registry": { "address": "0xE13471e6E5d11205AF290261f42108f89dCae72E", "blockCreated": 183882, "abiUrl": "./Registry.sol/Registry.json" }, "OwnerWallet": { "address": "0xC12237E57B088e9191BD8054Df4f5B772646a4B6", "blockCreated": 1 } } } } }