I hereby claim:
- I am bas-vk on github.
- I am basvk (https://keybase.io/basvk) on keybase.
- I have a public key ASDtFz0U4QjTDaeUgWx50hjddvXOHZMvkqZ3xprspTMARgo
To claim this, I am signing this object:
var oboe = require('oboe') | |
var net = require('net'); | |
var client = net.createConnection("/tmp/geth.ipc"); | |
client.on("connect", function() { | |
oboe(client) | |
// called each time a full json object is parsed | |
.done(function(newHead){ | |
console.log(newHead); |
#!/usr/bin/env node | |
var net = require("net"); | |
var client = net.connect({ | |
path: "/home/bas/.ethereum/geth.ipc" //"/tmp/dd/geth.ipc" | |
}, function() { | |
createNewBlocksSubscription(); | |
// createSyncingSubscription(); | |
createPendingTxSubscription(); |
I hereby claim:
To claim this, I am signing this object:
0x5185d115b7a8559d6075207be0c4c6f266a9bb9b |
var chat = { | |
username: "<not set>", | |
topic: "0xfeedbabe", | |
key: "", | |
identity: "", | |
pollInterval: null, | |
filter: null, | |
setUsername: function(name) { | |
this.username = name; |
{ | |
"config": { | |
"chainId": 7, | |
"homesteadBlock": 0, | |
"daoForkBlock": 0, | |
"daoForkSupport": true, | |
"eip150Block": 0, | |
"eip150Hash": "0x5de1ee4135274003348e80b788e5afa4b18b18d320a5622218d5c493fedf5689", | |
"eip155Block": 0, | |
"eip158Block": 0 |
Compile geth from https://github.com/bas-vk/go-ethereum/tree/whisper-api
Setup private network: genesis file: https://gist.github.com/bas-vk/bbd75fcbcdd73b64cbb864f78fe49988
geth --datadir /tmp/whisper init
Get chat.js
from https://gist.github.com/bas-vk/0961a9c945b3761eee7bfc4f70db75a9
Start node: