You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add ability to blind only value in the PSET output #301
As the title says, it would be nice to allow the conditional blinding of an output where only the value should be blinded
This would help with writing protocols with Simplicity contracts that care only about the asset but are fine with the value being confidential
I would like to understand whether it is Ok to add an opt-in API for explicit, value-only, and asset-and-value outputs. It should preserve the behavior of existing blinding methods and reuse the existing balancing and proof machinery
Yep, concept ACK, though I'm not exactly sure what the API should look like. But we did deliberately design the consensus protocol and PSET so that this should be possible.
4. Opened #302 for the discussion of API
The implementation there is just to prove that the concept works, I would rewrite it after we align on API itslef
Activity
apoelstra commentedon Oct 14, 2026
Yep, concept ACK, though I'm not exactly sure what the API should look like. But we did deliberately design the consensus protocol and PSET so that this should be possible.
KyrylR commentedon Oct 20, 2026
Opened #302 for the discussion of API
The implementation there is just to prove that the concept works, I would rewrite it after we align on API itslef
KyrylR commentedon Oct 20, 2026
Above are core API choices
Overall user could provide an empty set and the blinding will happen for both value and asset
If user wants to value only blind, the user would need to explicitly specify so
I was not able to avoid re-implementing the blinding (reusing blind last, or something like that)
Will wait for your feedback