Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
# Tmux script to create 2 dcrd nodes connected in series.
# Network layout:
# master <-> 1
# 19555 19665
set -e
SESSION="dcrd-simnet-nodes"
NODES_ROOT=~/dcrdsimnetnodes
const WS = require('ws')
const _ = require('lodash')
const async = require('async')
const fs = require('fs')
const moment = require('moment')
const pair = process.argv[2]
const conf = {
wshost: "wss://api.bitfinex.com/ws/2"
const WS = require('ws')
const _ = require('lodash')
const async = require('async')
const fs = require('fs')
const moment = require('moment')
const pair = process.argv[2]
const conf = {
wshost: "wss://api.bitfinex.com/ws/2"