I hereby claim:
- I am zramsay on github.
- I am zramsay (https://keybase.io/zramsay) on keybase.
- I have a public key ASCEGKcVYXsrrf5ztFmKojPbf3AwQEyAiXF4sbmApc_MCgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
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...
package main | |
import ( | |
"os" | |
"path/filepath" | |
"sync" | |
"time" | |
"github.com/docker/machine/drivers/digitalocean" |
ssh ubuntu@<IP>
sudo -i -u eris
way 1 (from source):
go get github.com/eris-ltd/eris-cli
cd $GOPATH/src/github.com/eris-ltd/eris-cli
git fetch origin develop
git checkout develop
go install ./cmd/eris
eris init
127.0.0.1 localhost | |
::1 localhost ip6-localhost ip6-loopback | |
fe00::0 ip6-localnet | |
ff00::0 ip6-mcastprefix | |
ff02::1 ip6-allnodes | |
ff02::2 ip6-allrouters | |
172.17.0.2 keys c1c29896f4db keys-540b9182-7050-47e4-b006-9833c9971f91 | |
172.17.0.3 c0ea72c2e90e |
layout | title |
---|---|
docs |
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 | |
cd $ERISREPO | |
git clone -b develop https://github.com/eris-ltd/eris-compilers.git | |
go get github.com/Masterminds/glide | |
git clone -b unstable-develop https://github.com/eris-ltd/eris-db.git | |
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 |
IpfsHost = "http://0.0.0.0" | |
IpfsPort = "8080" | |
CompilersHost = "https://compilers.monax.io" | |
CompilersPort = "10120" | |
CrashReport = "bugsnag" | |
ImagesPullTimeout = "15m" | |
Verbose = false | |
DefaultRegistry = "quay.io" | |
ImageData = "eris/data:0.12.0" | |
ImageKeys = "eris/keys:0.12.0" |