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
# For more information on configurations, see the services specification: | |
# https://monax.io/docs/documentation/cli/latest/specifications/services_specification/ | |
# These fields marshal roughly into the [docker run] command, see: | |
# https://docs.docker.com/engine/reference/run/ | |
# This is a TOML config file. | |
# For more information, see https://github.com/toml-lang/toml | |
name = "compilers" |
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
'use strict'; | |
var contracts = require('eris-contracts'); | |
var fs = require('fs'); | |
var http = require('http'); | |
var address = require('./epm.json').deployStorageK; | |
var abi = JSON.parse(fs.readFileSync('./abi/' + address, 'utf8')); | |
var accounts = require('./accounts.json'); | |
var chainUrl; | |
var manager; |
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
#!/usr/bin/env bash | |
# XXX: this script is meant to be used only on a fresh Ubuntu 16.04 instance | |
# and has only been tested on Digital Ocean | |
# get and unpack golang | |
curl -O https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz | |
tar -xvf go1.10.linux-amd64.tar.gz | |
apt install make |
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
#!/usr/bin/env bash | |
# XXX: this script is meant to be used only on a fresh Ubuntu 16.04 instance | |
# and has only been tested on Digital Ocean | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
# get and unpack golang |
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
{ | |
"app_hash": "", | |
"app_state": { | |
"accounts": [ | |
{ | |
"address": "1FEADCDC8CCB22244769B9CC93C1F6D7489FC5AF", | |
"coins": [ | |
{ | |
"denom": "mycoin", | |
"amount": 9007199254740992 |
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
#!/usr/bin/env bash | |
# XXX: this script is meant to be used only on a fresh Ubuntu 16.04 instance | |
# and has only been tested on Digital Ocean | |
# NOTE: you must set this manually now | |
echo "export DO_API_TOKEN=\"yourToken\"" >> ~/.profile | |
sudo apt-get update -y | |
sudo apt-get upgrade -y |
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
#!/usr/bin/env bash | |
# make all the files | |
tendermint init --home ./tester/node0 | |
tendermint init --home ./tester/node1 | |
tendermint init --home ./tester/node2 | |
tendermint init --home ./tester/node3 | |
file0=./tester/node0/config/genesis.json | |
file1=./tester/node1/config/genesis.json |
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
#!/usr/bin/env bash | |
# XXX: this script is intended to be run from a fresh Digital Ocean droplet | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt-get install -y make | |
# get and unpack golang | |
curl -O https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz |
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
#!/usr/bin/env bash | |
# XXX: this script is meant to be used only on a fresh Ubuntu 16.04 instance | |
# and has only been tested on Digital Ocean | |
sudo apt-get update --yes | |
sudo apt-get upgrade --yes | |
# get and unpack golang | |
curl -O https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz |
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
root@ubuntu-s-2vcpu-4gb-tor1-01:~/go/src/github.com/wtf# npm install lotion | |
> [email protected] install /root/go/src/github.com/wtf/node_modules/utp-native | |
> node-gyp-build | |
make: Entering directory '/root/go/src/github.com/wtf/node_modules/utp-native/build' | |
CXX(target) Release/obj.target/libutp/deps/libutp/utp_internal.o | |
../deps/libutp/utp_internal.cpp: In function ‘size_t utp_process_incoming(UTPSocket*, const byte*, size_t, bool)’: | |
../deps/libutp/utp_internal.cpp:1970:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
if (conn->mtu_probe_seq && seq == conn->mtu_probe_seq) { |