@tima_t I have a swap that has been “in progress” for 2 hours. Is there any chance that it will be completed? I read something about a refund after 24 hours I believe, thanks for your help
Edit: I reached out to jelly on Twitter and they are helping me but I am still waiting for a response on how to do the refund. I will update when resolved
@tima_t Nice! Being a tester at heart I had to take it for a spin…
Tried AE → ETH worked like a charm
Tried ETH → AE not the same success… The swap is listed as In progress - the Ethereum transaction looks good and I can see that the liquidity provider indeed called the AE-contract soon after but no joy.
Taker has the advanatage that he knows the secret for the hash.
LP has advantage of time.
Otherwise if the time is equal, the taker can withdraw LP’s funds and Refund almost at the same time.
(like double spending)
Second, if the taker is malicious he/she can place a lot of orders and have open positions for many hours ( good opportunity for arbitrage), but if he/she has short time window to withdraw and long period time penalty, then the taker has incentive to finalize the deal.
This is typical logic for classical OTC and traders have met this problems already - Counter Party Risk.
I got the refund, thank you!
I opened a new tab in chrome and went to the jelly dapp dashboard. It has been over 24 hours now and like you said both swaps now showed me the refund button. I have clicked it and confirmed the call on metamask. It took about 30 minutes but I did get the refund back into my metamask. I was getting concerned because it took so long but maybe the ETH network was bogged down.
I noticed the 'speed up: button after I clicked refund, how does that work?
Yes, ethereum network is slow some times, this 30 minutes were because of the network speed + low transaction fee I guess.
It is out of our control.
Speed up button is exactly for this to send the same transaction, but you can change the tx fee. For now you should change it manually from your wallet extension
But you won, hands down, it was mere seconds from the Tx was accepted on Ethereum until I was offered to withdraw
A new problem though, the failed swap from earlier today is in the swap history, but it says Click to Withdraw > Withdraw AE (being curious I tried it, but the call fails of course) it should probably say something like expired/wait for refund?!