You are viewing a single comment's thread from:

RE: DLUX DeFi Progress

in #stem3 years ago

As of right now they call out for new blocks. To make some things work like Account Creation Token markets they will need to request some other API from RPCs like... how many ACTs do you have. But once a number is established just reading current blocks should be sufficient to keep things current.

If there is to be a cross chain bridge they'll need to read the blockstream from the other chain as well.

Basically they just need your active key, account name, and possibly memo key depending on how secure some markets need to be. For example, if there is an account creation market running on a side chain somebody would have to send it the new name and public keys for a new account. If this is sent in plain text somebody could swoop your desired name.

Sort:  

Thanks for your answer.

If I understand it correctly, these runners won't need any history of whatever? They'll do just one thing - escrow. At least for Hive based requests.

This seems to be totally lightweight and can be run by anybody:)

I guess You'll need to put more effort/logic in the request distribution and rewards than in escrow confirmation itself :)

For the DEX aspect of things you're correct. Theres about 5 transactions that need to happen per swap.
DLUX -> Hive:
CustomJson to list a swap 0a(lay tx)
Escrow Transaction to purchase a swap 0b(lay tx)
Escrow Approval 1&2(.agent and .to)
Escrow dispute 3(.to ->ensures no further action is required from either lay party)
Escrow release 4(.agent funds ->.to account)
Transfer 5(.to -> 0a's account)

The reverse looks about the same except the escrow transaction happens first, followed by approvals. Then the Custom Json happens to inform how to complete the chain.

I have it set up to even distribute an inflation pool of DLUX for completed txs as these require RCs. In effect you are mining for DLUX with RCs.

DLUX is meant to help decentralize content storage and serving for dlux.io (VR/AR/WebApps via IPFS) so theres a bunch of other things happening in my chain.

That's great. A huge potential.

OK, I won't bother you with silly questions any longer. At least not this week :)

Have a great weekend and good luck!