Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to extend polkadot/caip10 to include "implicit/not-yet-derived" CAIP-2 #20

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

bumblefudge
Copy link
Collaborator

I realized that "polkadot:-:{address}" scheme would break CAIP-2 because - is no more a valid chainID than or null would be; then I re-read Tim's comment and realized I had misinterpreted it!

In any case, I'm still not sure this complexity is justified by real polkadot usage so I'm going to leave this PR open until I hear from people that have experience of that ecosystem and its practices.

@bumblefudge
Copy link
Collaborator Author

Update: since caips#160, - (or rather, ---) could now be a valid CAIP-2. This might be a little too much "wildcard" for existing CAIP implementations, but I am generally favorable to this kind of pattern, as I have some use-cases in mind for namespace-wide checking of wallet identity (independent from chain-specific balance, for example)... pipe up if you'd like to see this finished and merged, polka-people! NB @paritytech

@bumblefudge
Copy link
Collaborator Author

in terms of wildcards and non-chain IDs in the chainId segment of CAIP-10, there is now precedent in another namespace that may be relevant to this PR:
#107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant