xclaim-sol icon indicating copy to clipboard operation
xclaim-sol copied to clipboard

redeem process - add replay protection

Open alexeiZamyatin opened this issue 6 years ago • 1 comments

Add replay protection to redeem protocol, to prevent a vault from re-using the same Bitcoin transaction as proof for multiple redeemRequests.

Require the following digest is included in OP_RETURN of the redeem Bitcoin transaction:

  • redeemer Eth address
  • contract address
  • redeemRequestId

alexeiZamyatin avatar Jan 12 '19 17:01 alexeiZamyatin