Skip to content

Instantly share code, notes, and snippets.

View iammelea's full-sized avatar
🎯
Focusing

iammelea iammelea

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am iammelea on github.
  • I am melea (https://keybase.io/melea) on keybase.
  • I have a public key ASBIAn_ObTnHzDdOLzitj0-xU7n48S5qhuMBU3fsanEYPQo

To claim this, I am signing this object:

@iammelea
iammelea / config.ini
Created May 28, 2018 19:01
Config.ini for Peerplays witness node. Just add your keys.
# Endpoint for P2P node to listen on
# p2p-endpoint =
p2p-endpoint = 0.0.0.0:9777
# P2P nodes to connect to on startup (may specify multiple times)
# seed-node =
seed-node = peerplays-seed.privex.io:7777 # @someguy123/@privex (DE)
seed-node = ppy.blckchnd.com:6112 # blckchnd
seed-node = 5.9.18.213:18828 # pfunk
seed-node = 31.171.244.121:7777 # taconator
@iammelea
iammelea / Cosmos-Sentry-Validator.Readme
Last active April 18, 2022 10:04
Sentry Validator for Cosmos Blockchain
#how works one Validator and Sentry Node for Cosmos:
#I have one Sentry-Validator-Node, and two Full-nodes-NO-Validator
#For my setup i used 4 Addresses for Full-nodes-NO-Validator i trust. two mines, two for other validator fiend.
#Beware that
@iammelea
iammelea / Upgrading gaia testnets +6002
Last active June 13, 2018 19:28
Upgrading gaia-6002 path Zaki
Upgrade to gaia-6002
Official here
https://github.com/cosmos/cosmos-sdk/tree/master/cmd/gaia/testnets#upgrading-from-previous-testnet
Stop gaiad
rm $HOME/.gaiad/config/addrbook.json $HOME/.gaiad/config/genesis.json
gaiad unsafe_reset_all
@iammelea
iammelea / cosmos config.toml
Last active June 13, 2018 19:40
cosmos config.toml
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml
##### main base config options #####
# TCP or UNIX socket address of the ABCI application,
# or the name of an ABCI application compiled in with the Tendermint binary
proxy_app = "tcp://127.0.0.1:46658"
# A custom human readable name for this node
@iammelea
iammelea / Polkadot Backup #798,671 POC-2
Last active July 21, 2018 13:59
Polkadot Backup #798,671
#Install Polkadot
curl https://sh.rustup.rs -sSf | sh
sudo apt install make clang pkg-config libssl-dev
#Then, install Polkadot PoC-2:
cargo install --git https://github.com/paritytech/polkadot.git --branch v0.2 polkadot
#Then start Polkadot for create the folders.
#See if this version is ok for you.
docker run -v $HOME/.iriscli:/root/.iriscli meleatrust/get-irisnet:v0.10.0 iriscli version
0.10.0-rc0-9342e944-0
docker run -v $HOME/.iris:/root/.iris meleatrust/get-irisnet:v0.10.0 iris version
0.10.0-rc0-9342e944-0
#or need v0.10.2 just changed the repo in the CMD = meleatrust/irisnet:fuxi8000
#Run Cosmos no need install, only install docker first ;)
#For unsafe reset all, if you need.
docker run -p 26657:26657 -p 26656:26656 -v $HOME/.gaiacli:/root/.gaiacli -v $HOME/.gaiad:/root/.gaiad meleatrust/cosmos-sdk:0.30.0-0 gaiad unsafe-reset-all
#For create the folders
docker run -it -p 26657:26657 -p 26656:26656 -v $HOME/.gaiad:/root/.gaiad -v $HOME/.gaiad:/root/.gaiad meleatrust/cosmos-sdk:0.30.0-0 gaiad init --moniker=Write-Validator-Name-HERE
docker run -p 26657:26657 -p 26656:26656 -v $HOME/.gaiacli:/root/.gaiacli -v $HOME/.gaiad:/root/.gaiad meleatrust/cosmos-sdk:v0.31.1 gaiad unsafe-reset-all
cd .gaiad/config
rm genesis.json
wget 'https://raw.githubusercontent.com/cosmos/game-of-stakes/master/genesis.json'
docker run -p 26657:26657 -p 26656:26656 -v $HOME/.gaiacli:/root/.gaiacli -v $HOME/.gaiad:/root/.gaiad meleatrust/cosmos-sdk:v0.31.1 gaiad start --trace --log_level "*:debug"
cd $GOPATH/src/github.com/cosmos/cosmos-sdk
git fetch --all
git checkout v0.34.1; GO111MODULE=on; make install
gaiad version --long
#