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

new CAIP - Transaction Object Addressing #221

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

Conversation

bumblefudge
Copy link
Collaborator

@bumblefudge bumblefudge commented Mar 20, 2023

Design questions still pending input:

  • Note: Titusz' proposal was for addressing transactions within blocks, by slot #; here, instead, I was thinking specifically of transactions that can be queried directly from indexers and/or block explorers.
  • Should transactions-within-blocks be added to New CAIP - Block Addressing model #220 ? If so, does that change anything about what's in and out of scope for this CAIP scheme?
  • Block explorers tend to display information like position-in-block, which can't be derived from the transaction object itself; are those worth including in such a scheme? I assume not, particularly if transactions-within-a-block are addressable from New CAIP - Block Addressing model #220, as mentioned above. But worth checking with the group
  • Should a property that's an array be queryable (i.e. ..123deadbeef4.inputs[1]), or should the scheme just allow you to fetch the whole array and you need to dive into it after getting back the whole array?

Would you all be open to a meeting to discuss, @TimDaub @titusz @ntn-x2 @sposth ?

@bumblefudge bumblefudge mentioned this pull request Mar 21, 2023
CAIPs/caip-221.md Outdated Show resolved Hide resolved
Co-authored-by: Antonio <[email protected]>
Copy link

@ntn-x2 ntn-x2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't have much context on the origin of this PR, but overall it looks a good starting point.

One main grip I have, as I also had for CAIP-19 identifiers for the erc-based namespaces, is the possibility to link between identifiers that refer to the same resource. Specifically, I think that a tx referred to by a CAIP of this category and a tx referred to by a CAIP as in https://github.com/ChainAgnostic/CAIPs/pull/220/files should semantically be considered the same resource. I don't see any resolution process defined in these CAIPs, meaning that they only deal (as far as I understand) with identifiers, and not with resolving any aliases between them.

CAIPs/caip-221.md Outdated Show resolved Hide resolved
@bumblefudge
Copy link
Collaborator Author

bumblefudge commented Mar 21, 2023

I don't see any resolution process defined in these CAIPs, meaning that they only deal (as far as I understand) with identifiers, and not with resolving any aliases between them.

But wouldn't that have to live in each namespace's profile of this CAIP, since there no common/universal assumptions that can be made even about the resolvability or uniqueness/non-uniqueness of these identifiers?

@bumblefudge
Copy link
Collaborator Author

bumblefudge commented Jun 7, 2024

Discussed today with member @ajunge from notabene.id - this CAIP is worth reviving, useful to a project they're working on, but there may be corner cases around ZCash or Monero or other privates not covered by 221 or 220-- may justify a third

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.

3 participants