AgregoreWeb / agregore-browser

A minimal browser for the distributed web (Desktop version)
https://www.youtube.com/watch?v=TnYKvOQB0ts&list=PL7sG5SCUNyeYx8wnfMOUpsh7rM_g0w_cu&index=14
GNU Affero General Public License v3.0
715 stars 66 forks source link

Integrate `web3://` protocol #265

Open RangerMauve opened 3 weeks ago

RangerMauve commented 3 weeks ago

There's a new protocol out there for accessing etherium data.

It just supports get for now so it should be easy to wrap.

https://docs.web3url.io/web3-clients/librairies

RangerMauve commented 3 weeks ago

Just needs the handlers registered here: https://github.com/AgregoreWeb/agregore-browser/blob/master/app/protocols/index.js

akhileshthite commented 3 weeks ago

There's a new protocol out there for accessing etherium data.

It just supports get for now so it should be easy to wrap.

https://docs.web3url.io/web3-clients/librairies

Nice. So it'll be mostly used for ENS resolution?

Kubo supports .eth: https://github.com/ipfs/kubo/blob/master/docs/config.md#dnsresolvers

{
  "DNS": {
    "Resolvers": {
      "eth.": "https://dns.eth.limo/dns-query",
      "crypto.": "https://resolver.unstoppable.io/dns-query",
      "libre.": "https://ns1.iriseden.fr/dns-query",
      ".": "https://cloudflare-dns.com/dns-query"
    }
  }
}
RangerMauve commented 3 weeks ago

I think it's more about resolving data that's on chain than just ens. The hostname can point to smart contracts and stuff.

akhileshthite commented 3 weeks ago

I think it's more about resolving data that's on chain than just ens. The hostname can point to smart contracts and stuff.

Interesting. It's used by the evm browser: https://github.com/web3-protocol/evm-browser