Comments (2)
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.
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)
- Dependency Dashboard
- Make use of the diamond pattern (EIP-2535) HOT 15
- Refactor Meta Transactions to Support EIP-712 HOT 1
- DID management and resolving dApp HOT 1
- Update CI/CD to Include end-to-end Testing
- Separation of Identifiers from Keys (as an opt in for users) HOT 1
- Port existing did-ethr contracts and resolver into this repo
- Support EIP-1271 for DID Updates from Contract Controllers HOT 1
- Add Support for BLS Signatures for Meta Transactions
- Support Batch Updates for a DID HOT 2
- Add Support for Multiple Verification Relationships for single key when adding
- [proposal] users should be able to decide if they want some attributes also in contract storage HOT 1
- Development Support - Containerized tooling
- chore: registry, continuous integration
- Support EVM emulation and Solidity based testing (Foundry RS)
- Standardized Contract Interface for Registry
- UUPS Proxy Upgradability
- [proposal] Use a more opaque `bytes` signature param for the meta-transaction enabled methods.
- [proposal][spec] Identity owner !== DID controller
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from did-eth.