-
Notifications
You must be signed in to change notification settings - Fork 8
How to refund
Refund is available after a specific time after your funding transaction is confirmed.
Refund is available regardless whether the lightning invoice is paid or not, which means the swap service provider has to claim the fund before refund become available.
Refund for ethereum token is available about 4 hours (4 x 60 x 4 blocks) after confirmation of your funding transaction.
Only the account that fund the order can request for refund and the tokens will be send only to the funder.
Swap contract has been deployed to Rinkeby testnet at 0x3427f002e69500189b4c6c11dca68b9447f98ad3
Refund can be done using the "Write Contract" of etherscan with MetaMask.
-
Click "Connect with MetaMask" (besides a red dot at the top left corner of the page)
-
The red dot become a green dot after connecting with MetaMask.
Paste your lightning invoice to the text box of the refund section(at the bottom of the page) and click "Write" button. -
A MetaMask window will pop up and ask for confirmation of transaction
-
Refund transaction confirmed and you get your tokens back