An Ethereum NodeJs oracle that executes JavaScript from Solidity
There are so many Ethereum oracles out there. Oraclize is the most famous one. But I needed a more simple and straight forward oracle for my projects. Thus, I created my own one: I simply wanted to invoke JavaScript directly from Ethereum's Solidity. I just wanted to #ScriptIt - not more.
How it worksThe Ethereum oracle is called CaptainJS. It waits for your JavaScript requests and executes them in a NodeJS container. If your contract is usingCaptainJS
then you can make use of callback and JavaScript execution functionalities.
The captain needs some budget to transfer your results or call your contract back. This budget (gas * gas price) will be transferred to the CaptainJS core contract and will be used to invoke your contract.
Updates @
https://twitter.com/captainjs_v2