kleros / gtcr

Web client for the kleros generalized token curated list
https://curate.kleros.io
MIT License
17 stars 10 forks source link

Rich addresses #209

Closed greenlucid closed 2 years ago

greenlucid commented 2 years ago

Currently, addresses point to EVM compliant addresses. Links are generated to link to the address in the current networkId of the web3 provider. This lacks:

Description of feature: a format that allows linking arbitrary addresses on arbitrary chains support for new chains will be added manually as demand comes example of a possible scheme: btc:343TCJjDficMUQt9rdWrGPnvmCassLaVXp gnosis:0x0c49568c1c1fa57ef68c9e9a0f9d6acff206fa7f

Rich address will be the default format for addresses now. Legacy addresses (the ones that don't have a prepended chain) will link to ETH Mainnet by default.

TODO:

greenlucid commented 2 years ago

There's this to work with https://github.com/ethereum/EIPs/blob/master/EIPS/eip-3770.md I'll figure out how to deal with non-EVM addresses

greenlucid commented 2 years ago

(Reminder) include a form or something with info so that users can suggest new addresses types, since it's curated manually onto the frontend.