Skip to content

How to refund

Jason Wong edited this page Aug 21, 2018 · 2 revisions

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 your ether

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) Write Contract tab

  • 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. paste invoice on the refund text box

  • A MetaMask window will pop up and ask for confirmation of transaction metamask confirmation

  • Refund transaction confirmed and you get your tokens back refund transaction confirmation

Clone this wiki locally