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

Consider a Zcash-specific namespace for compatibility with CAIP standards #856

Open
trevf opened this issue Jun 18, 2024 · 1 comment
Open

Comments

@trevf
Copy link

trevf commented Jun 18, 2024

The Chain Agnostic Standards Alliance (“CASA”) maintains a set of Chain Agnostic Improvement Proposals that are designed to improve interoperability with products and services that support multiple blockchain-based networks.

Currently, there are no designated practices to follow when interacting with Zcash or its assets using CAIP standards, although many such profiles exist for other networks.

It would be helpful to know if the Zcash community has strong opinions about whether Zcash should be treated according to the CAIP-2 spec as a Bitcoin-based network (which would tag Zcash mainnet and testnet as bip122:00040fe8ec8471911baa1db1266ea15d and bip122:05a60a92d99d85997cce3b87616c089f, respectively), or if a Zcash-specific namespace would be more appropriate.

Thanks in advance!

@daira
Copy link
Collaborator

daira commented Jun 18, 2024

I don't have a strong opinion, but BIP 122 chain IDs seem to have the right properties: they distinguish intended chain forks, but are stable across Network Upgrades that are intended to preserve chain identity. (Chain identity has to be defined by social consensus; there's no purely technical definition that will make the right distinctions.)

Incidentally, ChainAgnostic/CAIPs#4 mentions Zcash:

Blockchains not in this interface

but as I said at ChainAgnostic/CAIPs#4 (comment) :

Just to clarify, Zcash excluded that BIP from its specification because it was in Draft at the time (2016-10-02). It became Active on 2016-11-30 according to its history on GitHub. All Draft BIPs as of 2016-10-02 were excluded, and this one wasn't going to affect consensus anyway.

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

No branches or pull requests

2 participants