Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Allow the user to place an order in eth2btc.sol by making a deposit #14

Open
5 tasks
bitcoinwarrior1 opened this issue Dec 31, 2022 · 0 comments
Open
5 tasks

Comments

@bitcoinwarrior1
Copy link
Owner

  • User can place an order by locking up a small deposit of eth for a set interval of time (enough time for them to make the btc transaction and receive confirmation). This locks a portion of the eth in the contract just for them.
  • When making a deposit, the user set's their btc details including their address
  • User receives an order id
  • After user sends btc, they can claim the eth and get a refund for the deposit
  • If the user does not send the btc and the time lapses, the deposit is given to the MM and the eth becomes available again
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant