Skip to content

Instantly share code, notes, and snippets.

@jaekwon
Created December 28, 2014 23:14
Show Gist options
  • Select an option

  • Save jaekwon/82e80351264dc45d8c0a to your computer and use it in GitHub Desktop.

Select an option

Save jaekwon/82e80351264dc45d8c0a to your computer and use it in GitHub Desktop.
// Check out the development branch
git checkout development
git pull origin development
// Remove old data
rm ~/.tendermint/config.json
rm -rf ~/.tendermint/data/*
// Rebuild tendermint
go build -o github.com/tendermint/tendermint/cmd
./tendermint
//------------------------------
// Add the following to your
// ~/.tendermint/genesis.json
{
"Accounts": [
{
"Address": "u6EVgaE0DIsvbXVj9wKVK+85iA4=",
"Amount": 123
}
],
"Validators": [
{
"PubKey": "AiDUqJGFzL8ze4V35ekT9jyWmSLKLzsMrzgFZGvQWit7cw==",
"Amount": 100000000,
"UnbondTo": [
{
"Address": "u6EVgaE0DIsvbXVj9wKVK+85iA4=",
"Amount": 100000000
}
]
}
]
}
// Run the daemon
./tendermint daemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment