This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var web3 = require('web3'); | |
function sendOrder(contractAddress){ | |
OC.createOrder.sendTransaction("client1","file1", {from: web3.eth.accounts[0],gas: 2000000}); | |
console.log("Order Sent"); | |
} | |
function setUpFilter(contract){ | |
var filter = web3.eth.filter([contract.orderStatusChanged]); | |
filter.watch(orderEvent); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"config": { | |
"chainId": 20170116, | |
"homesteadBlock":0, | |
"eip150Block":0, | |
"eip155Block":10, | |
"eip158Block":10, | |
"eip160Block":10 | |
}, | |
"nonce": "0x0000000000000042", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xff8baab6d171ae04a15d72dab3b9c13391fb9167 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xCEf95BBC52200DfBCB00D5D149326f66D923928A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x2a614d42323681E470087992Df29aeee7263D55C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x2a614d42323681E470087992Df29aeee7263D55C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x2a614d42323681E470087992Df29aeee7263D55C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x2a614d42323681E470087992Df29aeee7263D55C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x59d05271875d8f42ae042d1b13c964550ed38339 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/extropyCoder/7431e8209533dfdeb528bcb05f2cb421 |
OlderNewer