Skip to content

Hash-based Escrow #1657

Description

@KElkhiyaoui

Problem

This involves three parties at least. Escrow, Alice and Bob. The Escrow is trusted by Alice and Bob.
Alice locks the token wit the help of the escrow. The escrow verifies the conditions to release the token and decides whether the token should be sent to Alice or Bob.
Ideally, the escrow should not own the locked token, just facilitates the lock and release.

Solution

The Escrow selects a secret pre-image whose hash is provided to both Alice and Bob. Alice locks her token such that the lock is released if the transaction carries a signature from either Alice or Bob and the pre-image.
The assumption is that Escrow will provide the pre-image only to party with the right to claim the token.
With this solution, the escrow facilitates the release of the token but does not have ownership rights to the token.

Alternatives

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Fields

No fields configured for Feature.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions