Skip to content

Instantly share code, notes, and snippets.

View tinybike's full-sized avatar

Jack Peterson tinybike

  • Merica
View GitHub Profile
jack@substrate:~/src/augur-app$ npm start
> augur@1.0.4 start /home/jack/src/augur-app
> electron-forge start .src/main/main.js
✔ Checking your system
✔ Locating Application
✔ Preparing native dependencies: 8 / 8
✔ Launching Application
[22:33:05.942] [info] network name Mainnet
> augur@1.0.1 start /home/jack/src/augur-app
> electron-forge start .src/main/main.js
✔ Checking your system
✔ Locating Application
✔ Preparing native dependencies: 8 / 8
✔ Launching Application
[11:40:23.095] [info] Starting Augur UI Server
[11:40:23.104] [info] Looking for certificate files in /home/jack/.augur
[11:40:25.622] [info] network name Mainnet
new block: 5935779 1531178481
new block: 5935781 1531178504
new block: 5935782 1531178512
new block: 5935783 1531178517
new block: 5935784 1531178521
new block: 5935785 1531178537
new block: 5935852 1531179688
Finished batch load from 5926223 to 5936502
Bulk sync with blockchain complete.
Starting websocket secure server on port 9002
connecting to augur-node: undefined
connecting to ethereum-node: {"http":"https://mainnet.infura.io/augur","ws":"wss://mainnet.infura.io/ws"}
websocket wss://mainnet.infura.io/ws opened
connected to ethereum
/home/jack/src/augur-node/augur-1.db
Getting Augur logs from block 5926223 to block 5936165
got 462 logs in blocks { fromBlock: 5926223, toBlock: 5930404 }
websocket wss://mainnet.infura.io/ws closed: 1009 Maximum message size exceeded.
Disconnected from Ethereum node _Event {
type: 'close',
jack@substrate:~/src/augur-core$ npm run build
> augur-core@1.0.0-20 build /home/jack/src/augur-core
> npm run build:source && npm run lint && npm run build:contracts && npm run build:interfaces
> augur-core@1.0.0-20 build:source /home/jack/src/augur-core
> npx tsc
#!/usr/bin/env node
var keythereum = require("keythereum");
var password = "password";
var params = {
keyBytes: 32,
ivBytes: 16
};
var options = {
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
jack@substrate:~/src/augur.js$ npm run docker:geth
> augur.js@4.8.6 docker:geth /home/jack/src/augur.js
> docker run -e GETH_VERBOSITY=4 -it -p 8545:8545 -p 8546:8546 -v $HOME/docker:/geth/chain augurproject/dev-node-geth:latest
/geth/chain-template mounted and has prior blockchain state, restored
INFO [03-22|16:57:07] Maximum peer count ETH=25 LES=0 total=25
DEBUG[03-22|16:57:07] FS scan times list=91.739µs set=3.06µs diff=3.146µs
INFO [03-22|16:57:07] Starting peer-to-peer node instance=Geth/v1.8.2-stable/linux-amd64/go1.9.4
INFO [03-22|16:57:07] Allocated cache and file handles database=/geth/chain/geth/chaindata cache=768 handles=1024
new block: 1795870 1519008032
finished block: 1795870 1519008032
new block: 1795871 1519008047
finished block: 1795871 1519008047
block removed: 1795871
log processing: Augur OrderCreated { orderType: '1',
amount: '30000000000000',
price: '2900',
creator: '0x113b462d14c542d208f5262d82e2eafd7cffd88a',
moneyEscrowed: '213000000000000000',
var speedomatic = require("speedomatic");
var abiInputs = [
{ name: '_endTime', type: 'uint256' },
{ name: '_feePerEthInWei', type: 'uint256' },
{ name: '_denominationToken', type: 'address' },
{ name: '_designatedReporterAddress', type: 'address' },
{ name: '_topic', type: 'bytes32' },
{ name: '_description', type: 'string' },
{ name: '_extraInfo', type: 'string' }