Alice has ether and wants Monero.
Bob has Monero and wants ether.
Ethereum smart contract interface
Offline phase:
Both parties Alice and Bob select a secret: s_a & s_b, which are used to construct valid points on the ed25519 curve: P_ed_a and P_ed_b accordingly. The parties share their public keys with each other.
Step 1.