Skip to content

Selective disclosure #47

Open
Open

Description

@rex4539

It would be nice if there was support for selective disclosure.

https://z.cash/blog/viewing-keys-selective-disclosure
https://github.com/zcash/zcash/blob/master/doc/payment-disclosure.md

This is, of course, an experimental feature but it's a good opportunity to test it out and figure out the UI/UX.

Since it's still experimental and requires special flags to be passed to zcashd or zcash.conf you could enable this functionality (for now) only if those flags are already passed to zcashd or zcash.conf before starting zec-qt-wallet.

Activity

  1. rex4539 commented on Nov 13, 2018

    @rex4539
    ContributorAuthor
  2. adityapk00 commented on Nov 15, 2018

    @adityapk00
    Collaborator

    This is interesting, and I'd love to add this. Reading @garethtdavies's medium post, the parsing of the debug.log to get the params is the difficult bit I can see here. Do you folks know if there's work in progress in zcashd to get these params in an easier way?

  3. garethtdavies commented on Nov 15, 2018

    @garethtdavies
    Contributor

    Did you see the response here saying that wasn't actually too hard (I've never tried this myself) https://medium.com/@peter.gavin.stewart/thanks-for-the-write-up-helped-a-lot-with-the-api-building-59f08f3b6b50

    This is worth a read https://github.com/zcash/zips/blob/5ef71b0325c552748334144576daea918497ec4b/drafts/bitcartel-payment-disclosure/draft.rst#known-issues a lot of the known issues are Sprout related as they relate to JoinSplits and I am unaware of how this all works with Sapling. So might be worth getting an update on progress/plans for this before digging in much more (I do love the idea of this being usable though).

  4. adityapk00 commented on Nov 21, 2018

    @adityapk00
    Collaborator

    So I've been playing around with this, and looks like payment disclosure doesn't work for sapling addresses? Is that what you guys are seeing too?

  5. garethtdavies commented on Nov 21, 2018

    @garethtdavies
    Contributor

    Looking at the debug.log file for Sprout txs things get added via Payment Disclosure: Successfully added entry to database.... For Sapling there is nothing so I guess it doesn't work as you have found and get Transaction is not a shielded transaction trying to generate one. As with most things post-Sapling I get a feeling things can be greatly improved but we'll need to wait.

  6. rex4539 commented on Nov 21, 2018

    @rex4539
    ContributorAuthor

    Perhaps @bitcartel could chime in?

  7. the-metalworker commented on Dec 7, 2018

    @the-metalworker

    The viewing keys feature of the Zcash protocol is very interesting. I would like to see full support for this feature in the wallet so I can export view keys for my own transactions, as well as import view keys to see the details of other users' transactions.

  8. adityapk00 commented on Dec 7, 2018

    @adityapk00
    Collaborator

    Update: I looked into this, and the support for viewing keys and selective disclosure is not complete in zcashd for sapling addresses. It currently only works for sprout addresses.

    So, the current plan is to wait for sapling support for selective disclosure (which is coming soon, I believe), and then make it work in zec-qt-wallet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions