Author Topic: microDEX <-> metaNODE <-> manualSIGNING  (Read 1600 times)

0 Members and 1 Guest are viewing this topic.

Offline litepresence



1 week run time achieved and UI is still 100ms responsive to buy/sell/cancel requests.

I forgot to mention that all auth'd ops occur in parallel processes; so you can order several buy/sell operations prior to the first actually executing (which takes a few seconds).

Offline litepresence



I have set out to ensure UI buy/sell/cancel ALWAYS works when I push buttons and never have to think about which node to pick, slow connectivity, idiosyncrasies of graphene speak, or the bugs of "full featured software". 

Just on demand buy/sell/cancel.

Go to my github repo...

`github/litepresence/extinction-event/EV`

You get copy of each of these and plop in one folder

microDEX.py
manualSIGNING.py
metaNODE.py


each script is about 50kb; 1500 lines; very small, quick/easy to read

all dependencies are `pip3 install` the stack does NOT require pybitshares

Code: [Select]
SYSTEM REQUIREMENTS
linux / python3

MODULES YOU WILL NEED
ecdsa
numpy
tkinter
requests
secp256k1
websocket-client


metaNODE
is statistically curated public api data
you run this in a separate terminal before launching microDEX

manualSIGNING
is your private authenticated ops api
microDEX imports the broker(order) method from manualSIGNING to sign transactions with a WIF key.  manualSIGNING is a purpose built fork of pybitshares for signing limit orders about 1/40th the size of the full package.

microDEX
is your buy/sell/cancel user interface
built on tkinter, it communicates with metaNODE at nanosecond speed and places orders via manualSIGNING to the fastest nodes in the network.

it runs 24/7 maintaining 100ms response time on button clicks
all buy/sell/cancel ops occur in timed out parallel process to the UI process; nothing can get hung
extremely reactive, 99.99% uptime, never rogue or stale; statistically curated public api data
when new version is available microDEX will inform you at startup and allow in script update

I maintain a "heavily commented", "minimal dependencies", "minimal viable product", "pep8", and "procedural-style" script.

you can demo the platform without providing any acct details

there is also metaNODEwhitepaper and manualSIGNGwhitepaper in my repo

enjoy, pro bono

crypto long, moar coinz short!

-uncle lp





POST SCRIPT:

YES! this stack does take your wif key, and performs ECDSA. 
<THIS SHOULD CONCERN YOU>
Scammers can use these methods to take all ur cryptoz!!!
<THIS SHOULD CONCERN YOU>
You should NOT blindly trust ANYONE to write a GUI wallet for you. 
You should read ANY script with access to your funds before giving it your keys!
« Last Edit: February 15, 2019, 12:54:13 am by litepresence »