Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Badges

First CommentPhotogenic

CaptainJS

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 works The 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

About

Username
CaptainJS
Joined
Visits
1
Last Active
Roles
Member
Points
7
Posts
3
Badges
2

Activity

  • CaptainJS earned the First Comment badge.
    Commenting is the best way to get involved. Jump in the fray!
    January 13
  • CaptainJS changed their profile picture.
    Thumbnail
    January 6
  • 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 works

    The 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
    ·
    December 2018
  • CaptainJS earned the Photogenic badge.
    Little things like uploading a profile picture make the community a better place. Thanks!
    December 2018