ethereum-lists / ethereum-lists/chains

Proposition to create a js lib to create link to explorers

Open
#478 4 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Kotlin
Stars
9.8k
Forks
8.1k
Avg merge
1d 6h
Merged PRs (30d)
83

Description

I am proposing to create a js lib to easily create link to explorers based on chainList schemas.
Pseudo code:

```
const explorer=new Explorer(chainId);
const link= explorer.transaction('0x4119e48a39faf699f0362618fbdddd8e9fbc4d5d4552f3e2bb2f79003a17ff6e')
// output: https://myExplorer.io/tx/0x4119e48a39faf699f0362618fbdddd8e9fbc4d5d4552f3e2bb2f79003a17ff6e

const address=explorer.address('0xee61f5fb0db81d3a09392375ee96f723c0620e07');
//output https://myExplorer.io/address/0xee61f5fb0db81d3a09392375ee96f723c0620e07
```

What do you think?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.