01-09-2021 дата публикации
Номер: GB0002592338A
Принадлежит:
Methods relating to implementing digital contracts, such as smart contracts, between two parties 103 over a blockchain network 106 involve storing conditions for fulfilling the contract in a hash tree, such as a Merkle tree (fig 9). In one embodiment, the hash tree is generated by a trusted third party 701 by hashing data elements representing the conditions for use as a first set of leaf hashes of the tree, and hashing at least one secret value known only to the third party for use as a second set of leaf hashes of the tree. The root hash (Merkle root) is inserted into a first blockchain transaction published by the first party 103a. When contractual condition(s) are fulfilled, the third party 701 provides the authentication path (Merkle path) and hash(es) of the secret(s) to the second party 103b, which are included in a second transaction which unlocks the first. In a second embodiment (fig 8), the two parties generate a hash tree encoding the conditions, and when a condition is fulfilled ...
Подробнее