Today I got some time to read your atomic swap thanks for the good writing on medium.
One question here, why the
Multi-signature output and
Time-locked refund in Grin side are needed?
In my opinion, Bob firstly create that smart contract in Ethereum to send 2 ETH to Alice’s address with
q as the secret and 24 hours timeout refund, say this is TX1, then Alice and Bob create a transaction in Grin with Adaptor Signature, say this is TX2, once Bob submits TX2 to the network, Alice gets
q and creates a signature and submits it to the Ethereum smart contract and receives that 2 ETH. Swap done!