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
Refs #3609
Here is the first part of the client-side redemption support. In this
PR, we are integrating with the recent changes introduced in the
`WalletCoordinator` contract
(keep-network/tbtc-v2#633) and we are adding the
ability to observe incoming redemption proposals. Here is a brief
description of particular changes.
### `WalletCoordinator` contract integration code
We are adding all the boilerplate code required to see redemption
proposals emitted by the `WalletCoordinator` contract. This work
includes:
- Updates of contract bindings
- Integration with the `tbtc` package through the
`tbtc.WalletCoordinatorChain` interface and `chain/ethereum`
implementation
- Implementation of tools allowing to convert between length-prefixed
redeemer output scripts used by the smart contracts and the prefixless
form preferred in the off-chain client
### Observe incoming proposals
This part uses the code described in the previous section to:
- Handle incoming redemption proposals submitted to the
`WalletCoordinator` contract
- De-duplicate incoming proposals
- Confirm the finality of the incoming proposals
0 commit comments