Identifying Slices #19
Replies: 3 comments 1 reply
-
Great question @michaelpiron I actually understand the confusion here. I have started digging around the documentation and have come to the following conclusion: Slices are defined in the slice command docs and the overall description of slices as follows. This means that we are removing the originating slice of the certificate and issue new slices on the remainding shielded values as in the slicer example. So that we remove the original slice and issue two new slices, with :
and then issues them both and removing the originating slice. |
Beta Was this translation helpful? Give feedback.
-
Hi @michaelpiron, a slice does have a unique value the commitment. This is used to identify slices, as they are a result of the amount (Wh) and the random value. Commitments of equal size would still have different commitments. And if you find an easy way to find amounts and random values with the same commitment, then we would have a general issue using Pedersen Commitments, as it is part of the math that it is a hard problem to solve. We chose to use the commitment instead of introducing another ID, simple to save on space and bandwith, and it would give no benefit as we saw it. I hope this answers the question, and a possibly great addition to the documentation. On a side note, even if the slices was owned by the same entity, I would still recommend using different key-pairs as to hide the fact it is the same owner, and using protocols as bip32, it would be trivia. |
Beta Was this translation helpful? Give feedback.
-
Thank you, very clear! |
Beta Was this translation helpful? Give feedback.
-
From the Project Origin registry documentation, I deduce that Slices don't have an unique identifier within the registry.
For example:
The command to slice up a Slice:
API -> ProjectOrigin.Electricity.Client.ElectricityCommandBuilder -> SliceCertificate command
We address the Slice by specifying:
The same structure is used for the commands to transfer Slices, and to claim Slices.
However, underneath a given Granular Certificate, you might have multiple Slices owned by a single owner. How does the command know which Slice to slice up exactly?
Shouldn't Slices have their own unique ID by which they can be addressed?
@wisbech @MartinSchmidt
Beta Was this translation helpful? Give feedback.
All reactions