Smart Contract Server

31 views
Skip to first unread message

Mark Lester

unread,
May 15, 2016, 9:06:27 PM5/15/16
to nodejs
I want an instance of Node that runs a bit like javascript works in the browser, with very limited I/O. "In" is via sockets/http, "Out" is via the DOM, though I just need an implementation of stdout/console.log (I assume that's actually done via the DOM in the browser)

I can then allow user specified rules to be applied to their DB updates,  The test is run, if it prints a nice thing back then we are cool and the update can proceed. These rules can then be shared across a distributed ledger platform, not necessarily involving Satanistic levels of cryptographic black magic. This is more about biz to biz concensus than value transfer. You all need to process the rules on your own equipment/system as the information needed to evaluate the tests is sensitive/private.

Does such a thing exist (the Node stuff, not my complaints at blockchain) . It cant be hard to bake if it doesnt, we're just ripping stuff back out and we dont even need to put DOM back.

Mark Lester

unread,
May 16, 2016, 8:22:57 AM5/16/16
to nodejs
Yes, its called VM.
Many thanks over on github.
Reply all
Reply to author
Forward
0 new messages