Skip to content

Instantly share code, notes, and snippets.


Zach zramsay

View GitHub Profile
zramsay / remotes.go
Created Jan 31, 2016
sample code for using libmachine + digital ocean to spin up hosts
View remotes.go
package main
import (
zramsay /
Last active Feb 1, 2016
created in parallel using libmachine
Running pre-create checks...
Running pre-create checks...
Running pre-create checks...
Creating machine...
(eris-remote-dm-1) Creating SSH key...
Creating machine...
(eris-remote-dm-0) Creating SSH key...
Creating machine...
(eris-remote-dm-2) Creating SSH key...
zramsay /
Created Jun 12, 2016
installing `eris` from the amazon markertplace
  • go to marketplace for eris
  • once instance is created: ssh ubuntu@<IP>
  • then sudo -i -u eris
  • use eris normally
zramsay /
Last active Jun 12, 2016
installing eris on ARM platforms

way 1 (from source):

go get
cd $GOPATH/src/
git fetch origin develop
git checkout develop
go install ./cmd/eris
eris init
View etc localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters keys c1c29896f4db keys-540b9182-7050-47e4-b006-9833c9971f91 c0ea72c2e90e
layout title
Tutorials | Bonding & Unbonding Validators on your Chain

The concept of bonding/unbonding validators here refers to validators which are voluntarily adding (bonding) or removing (unbonding) themselves. New validators (not included in the genesis file) first require tokens on the chain to post a bond with. Future tutorials will cover slashing/removing unwelcome/byzantine validators.

For this example, we'll be using a simplechain, which has a single Full Account (see: cat ~/.eris/chains/account-types/full.toml for more information). One another host, a new account will be created and connect to the running chain. Once our Full Account sends this new account some tokens, the new account will be in a position to post a bond and begin validating. Eventually, this validator can unbond if they so choose.

#!/usr/bin/env bash
git clone -b develop
go get
git clone -b unstable-develop
cd eris-db
#!/usr/bin/env bash
####### script itself to be run after ssh'ing into a docker-machine on digital ocean ########
# run these two commands on a machine where docker-machine is installed (with Digital Ocean credentials as environment variable):
# docker-machine create eris-tester-uniqueID --driver digitalocean --digitalocean-size "1gb"
# docker-machine ssh eris-tester-uniqueID
# run on the docker-machine just ssh'd into
View eris_compilers-0.12.2.toml
# For more information on configurations, see the services specification:
# These fields marshal roughly into the [docker run] command, see:
# This is a TOML config file.
# For more information, see
name = "compilers"
View eris_toml-custom.toml
IpfsHost = ""
IpfsPort = "8080"
CompilersHost = ""
CompilersPort = "10120"
CrashReport = "bugsnag"
ImagesPullTimeout = "15m"
Verbose = false
DefaultRegistry = ""
ImageData = "eris/data:0.12.0"
ImageKeys = "eris/keys:0.12.0"