Comments (3)
I suggest the following encodings [edit: suggestion withdrawn, see below].
For a diversifiable FVK: Bech32 of$\mathsf{EncodeExtFVKParts}(\mathsf{ak}, \mathsf{nk}, \mathsf{ovk}, \mathsf{dk})$ with HRP "zdviews" on mainnet or "zdviewtestsapling" on testnet.For a diversifiable IVK: Bech32 of$\mathsf{dk}\ ||\ \mathsf{I2LEOSP}_ {256}(\mathsf{ivk})$ with HRP "zdivks" on mainnet or "zdivktestsapling" on testnet.
Rationale:
- The diversifiable FVK encodes
$\mathsf{dk}$ last because that matches the already-defined$\mathsf{EncodeExtFVKParts}$ function. - The diversifiable IVK encodes
$\mathsf{dk}$ first because that matches the corresponding encoding in Orchard. - Bech32 is used instead of Bech32m, for consistency with existing Sapling encodings.
- The HRPs are the same as the corresponding HRPs for non-diversifiable encodings, but starting with "zd" in place of "z".
Please don't put software that uses this "in the wild" yet. We need to discuss it at a ZIP Editors' meeting.
from zips.
Actually there is already a way to express a diversifiable Sapling FVK or IVK, as Items of a Unified Viewing Key encoded as described here.
Sorry, I should have remembered that. We should close this issue, but file another one to document that the Bech32 encodings aren't diversifiable and that you might want to use a UVK instead.
from zips.
Closing in favour of #779.
from zips.
Related Issues (20)
- Withdraw ZIP 303 (Sprout Payment Disclosure)
- Documentation Q3 2024
- Complete specifications for ZSAs
- NU6 specification audit
- NU7 specification audit
- Documentation Q4 2024
- Protocol spec version 2024.6.1
- Protocol spec version 2025.7.0
- Q3 2024 protocol spec updates
- Protocol spec version 2024.5.0
- Protocol spec version 2024.5.1
- ZIP ?: Deployment of the NU7 Network Upgrade
- [protocol spec] Section 5.4.1.9 (Sinsemilla Hash Function) declares use of LEOS2IP when it should declare use of LEBS2IP HOT 1
- Index is not updated by CI HOT 1
- [ZSA] Describe state that full nodes must store for each asset, and explain the rationale for the 512-bytes asset_id limit
- [ZSA] Ensure that ZIP 209-style issuance tracking is applied to ZSA assets
- [ZSA] Add ZIP for recommended wallet support of ZSAs HOT 1
- [ZSA] Clarify the interaction between enableSpendsOrchard, enableOutputsOrchard, and enableZSAs HOT 1
- Variable block sizes for blocks with large, short-lived memos
- Consider a Zcash-specific namespace for compatibility with CAIP standards HOT 1
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 zips.