Comments (9)
Thanks for looking into this! Summoning Antoine Herzog (@antoineherzog), Pedro Gomes (@pedrouid), Joel Thorstensson (@oed) - the authors of this CAIP
I less think the routing scheme is a problem - but the colon would need to be escaped right? We should definitely look into this before moving this one out of draft state.
from caips.
Do I understand it right that we're looking for a terminal symbol suggesting hierarchy but that doesn't collide with existing standards like e.g. URI or URL?
from caips.
You are right. We should replace it by another symbol not sure which one to choose?
from caips.
Actually, I like what is discussed in #67, which is that fundamentally the concepts in e.g. CAIP-19 and so on are considered to be valid URIs or URNs.
In that issue, it's suggested to solely use the colon: ":". It wouldn't have to be escaped in a URL as outlined in the original post and would hence solve this issue.
from caips.
It is good for me. @pedrouid ?
from caips.
@pedrouid What do you think? I think this is a valid point.
from caips.
but the colon would need to be escaped right?
According to the BNF of RFC3686 on URI syntax (https://www.rfc-editor.org/rfc/rfc3986#appendix-A), the "hier-part" is allowed to include a "path-empty" that allows a "pchar" and the colon is a pchar. So in that case a colon wouldn't have to be escaped.
from caips.
Just my two cents: we are working on a DID specification that wraps around CAIP-19 identifiers, and because the spec also does not allow /
characters, we are replacing them with :
. This of course creates issues between distinguishing a CAIP-10 from a CAIP-19 identifiers, but as the DID specification is only concerned with CAIP-19 assets, this is something we can live with.
from caips.
interesting, thanks for reporting. I think we may want to make this issue a priority
from caips.
Related Issues (20)
- Implementer Feedback: CAIP-122<>EIP-4361 mismatch HOT 12
- CACAO v2/v3 confusion and varsig - are v3/varsig stale? HOT 1
- CAIP-122: address or account_id? HOT 2
- CAIP-2: chain ID alias HOT 2
- [CAIP-74] Signature Metadata type is not well defined HOT 1
- https://support.exodus.com/support/en/articles/8598833-walletconnect-in-exodus-mobile#qr-code کیف پول اکسود وس HOT 1
- 2
- 2
- [Publishing] Link to post-final updates, extensions, and proposed replaces from final CAIPs?
- [CAIP-275] - chain-specific resolution corner-case HOT 1
- Browser Wallet Messaging for Extensions (window.dispatchEvent)
- Browser Wallet Messaging for Iframes (window.postMessage)
- Browser Wallet Messaging for Extensions (externally_connectable)
- [CAIP-25] - Pass of editing to clarify "persistance" requirements on both sides
- [CAIP-25] - Refactor "requiredScopes" to suggest but not require connection breakage
- [tracking issue] `wallet_getSession` method needed for feature parity between legacy concurrent CAIP-25 and single-session CAIP-25 (see PR 285)
- [tracking issue] `wallet_revokeSession` method needed for feature parity between legacy concurrent CAIP-25 and single-session CAIP-25 (see PR 285)
- Ууу HOT 1
- [tracking issue] CAIP-25 in sessionId-mandatory mode and sessionId-optional CAIP-25 are confusing HOT 1
- [tracking issue] CAIP-25 needs a clearer definition of trust criterion for sharing informative error handling
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 caips.