Author Topic: D*Match betting in chain  (Read 13390 times)

0 Members and 1 Guest are viewing this topic.

Offline Elias

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: D*Match betting in chain
« Reply #15 on: November 15, 2019, 10:04:48 am »
Byproduct of the websockets comm with nodes:
https://gitlab.com/vanissoft/profit-way

Takes every market in a token list and prints the profitable ones.
In the code there is also a seminal bot.

Making use of Litepresence's manualSIGNING to try async operative.

Cool for arbitrage? Related to betting how? :)

jejeje. i wanted the engine to be async, thus i tested server-node comms with queue like pattern.
There are some ops missing in manualSIGNING, like tokens creation/modification, i would like to be implemented with the help of litepresence.

Offline Elias

  • Newbie
  • *
  • Posts: 9
    • View Profile
diagram of main components
« Reply #16 on: December 10, 2019, 11:34:21 am »


Functions:
* Client Servers:
  * onboarding, account management
  * feeds clients with data extracted from network (BitShares nodes).
* Admin Servers:
  * create and aprove match proposals
  * keep settings and inject them into op memos
    * settings include child tokens for each match and trusted feeders
    * feed prices

Due the need of multiple tokens for each match, meaning the need to keep dozens of them running concurrently, i'm embrace the idea of reusing of tokens and to use normal market operations combined with GS mechanism. There will be time to retract and switch to prediction markets if they turn to be a better solution. (another reason to use normal tokens is to avoid blockchain polution with past matches ).