tdex-network / tdex-daemon-alpha

💰 Alpha Daemon implementation to run automated market making strategies on top of TDEX
MIT License
0 stars 2 forks source link

🎉 TradePropose and TradeComplete services #3

Closed tiero closed 4 years ago

tiero commented 4 years ago

With this pull request, the daemon can process swaps. It pauses the market once the SwapAccept message has been crafted and unpauses the market once the SwapComplete message is received from clients.

Support for concurrent users will be addressed later.

CHANGELOG

There is a catch: The market entry in the database need to be inserted manually after a deposit of both base and quoted assets. The deposit addresses are printed in the log when the daemon is started.