chains icon indicating copy to clipboard operation
chains copied to clipboard

Proposition to create a js lib to create link to explorers

Open stefdelec opened this issue 3 years ago • 4 comments

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?

stefdelec avatar Oct 11 '21 15:10 stefdelec

yes - good idea - but I will not make any JS lib ;-)

ligi avatar Oct 11 '21 20:10 ligi

I can do it. My only question should i host it myself (my GitHub repo)? I would be happy to be have to other maintenairs. Is there any chance the repo would be under this project?

stefdelec avatar Oct 12 '21 06:10 stefdelec

This issue has no activity in a while - it will be closed soon.

github-actions[bot] avatar Feb 28 '22 01:02 github-actions[bot]

yes we can move it to this org when it is usable

ligi avatar Feb 28 '22 02:02 ligi