In the process of atomic swaps, participants need to wait for the previous step to be executed and safely confirmed before proceeding to the next step. This will determine the overall time of the swap. During the process of a Meson swap, we recommend the following waiting times.
Right away. If
postSwaptransaction is reverted,
bondSwapcannot be executed. If
postSwaptx is replaced by another swap with the same encoding but different initiator, the LP can still bond to it because the swap properties are the same.
postSwapmay specify the bonded provider. In this case
bondSwapis not needed and cannot be executed.
Wait for enough confirmations on the initial chains. Otherwise,
bondSwaptransaction may be reverted.
Wait for enough confirmations on the target chains. Otherwise, the
locktransaction may be reverted.
Right away. The order doesn’t matter.