-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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 BlockExplorer information #59
Comments
Would it be reasonable to assume that all chain explorers would allow access by transaction hash and by wallet address of canonical formats? If so, we could introduce something like key
|
Yes - I think this makes sense - perhaps even as a separate repo/dataset |
wait no - sometimes the chain is part of the URL - that makes things more complicated. |
@ligi Sorry, do you mean adding a list of links would be a lot of repetition? Also, would you happen to have some examples of other explorers? |
yea it is then not using the structure of the urls like here: https://github.com/komputing/KEthereum/tree/master/blockscout these are also the only blockexplorers I worked with but perhaps it is best to keep it this simple and ignore the WETness |
@ligi I see what you mean now. I suspect only a few chains will have multiple explorers and, conversely, few explorers will support multiple chains. I’ll try to gather up some links. |
Hi |
Actually I've recently written a proposal regarding this topic: ethereum/EIPs#3091 Perhaps we could reach out to projects like Blockscout to provide corresponding redirects Meanwhile we could already include Etherscan as it already matches the proposed API for EIP-3091 |
Nice... can't wait for it (kid face waiting like if it was the new toy) |
Now that metamask has added wallet_addEthereumChain with explorers included, is more than ever important to add this data |
How do you see this repo being used in combination with MM? |
My to cents on the explorers I am using right now: {
1: 'https://etherscan.io/${type}/${value}',
3: 'https://ropsten.etherscan.io/${type}/${value}',
4: 'https://rinkeby.etherscan.io/${type}/${value}',
5: 'https://gorli.etherscan.io/${type}/${value}',
42: 'https://kovan.etherscan.io/${type}/${value}',
56: 'https://bscscan.com/${type}/${value}',
97: 'https://testnet.bscscan.com/${type}/${value}'
} where and |
Seems that this is enough: {
1: 'https://etherscan.io',
3: 'https://ropsten.etherscan.io',
4: 'https://rinkeby.etherscan.io',
5: 'https://gorli.etherscan.io',
42: 'https://kovan.etherscan.io',
56: 'https://bscscan.com',
97: 'https://testnet.bscscan.com'
} |
OK need to push this forward. I suggest the following: {
...
"explorers": [{
"name": "etherscan",
"url": "https://etherscan.io",
"icon": [
// same as for chain icons
],
"standard": "EIP3091"
}]
} name, URL and standard are mandatory. icon can be an empty array |
This doesn't really work for the case where the explorer is local such as ours (TrueBlocks). Our explorer's URL is But then what happens if a user has two such local explorers? Not both can be in your list since the Perhaps it's okay to duplicates in the list based on URL? (Most likely not). Don't forget that some explorers are actually decentralized and have nothing to do with a web 2.0 website. |
Bump? |
It would be great to have information about blockexplorers for the chains. It would be even better if this information is enough to generate links for [transactions,addresses,..]
The text was updated successfully, but these errors were encountered: