GithubHelp home page GithubHelp logo

Comments (2)

nickreynolds avatar nickreynolds commented on August 18, 2024

I'm kind of conflicted on this one. It does seem like it would make development slightly easier when it's standardized like this, but from a UX perspective, I think it's nice to be able to omit certain fields and assume some defaults. Can you expand on the potential harm in assuming "eip155" if nothing in that field is present? Or assuming "eip155:1" if neither field is present?

@mirceanis would this also prevent us from using public key hex as identifier? CAIP-10 is only for addresses right?

@Reccetech would something like did:eth:hedera:mainnet:0.0.1234567890-zbhlt be supported? That's CAIP-10, right?

from did-eth.

Reccetech avatar Reccetech commented on August 18, 2024

As you suggest you would have to also assume an EIP155 chaincode as default - which like did:ethr could be ethereum mainnet. I think it made perfect sense for did:ethr to default to mainnet - because it was built for only Ethereum.

But did:eth is targeting a multichain EVM world. So to enter controversial territory - I think if we look at the history of DIDs - very few of them were actually anchored on Ethereum mainnet as it was and still is expensive. So my suggestion would be that if/when did:eth gains traction we'll see a healthy proportion and maybe even the majority of the DIDs on L2s/EVM chains like polygon, avalanche, cardano, hedera. So in this world it makes little sense to assume a default of Ethereum mainnet - unless it's just to give ethereum a privileged position in the DID method (which might make sense if we get development funding from Ethereum foundation). But if we want to keep things even steven then I think it's better to just instill best practices that the full CAIP10 address be used at all times - no shortcuts allowed.
To your second question - yes did:eth:hedera:mainnet:0.0.1234567890-zbhlt could be used as its CAIP-10 compliant.

from did-eth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.