Skip to content

How to build a non validator node

Jacob Gadikian edited this page Feb 7, 2017 · 3 revisions

Build your non-validator node and join to our testnet. It can run on local PC, and you dont need a public IP address to run a non-validator node. This enables you to rapidly develop software against our back end.

  1. Tendermint Configuration ~/.tendermint/config.toml
proxy_app = "tcp://127.0.0.1:46658"
abci = "grpc"
moniker = "yourname"
node_laddr = "tcp://127.0.0.1:46656"
seeds = "51.15.47.174:46656,163.172.170.188:46656,138.201.198.169:46656,138.201.198.173:46656,138.201.198.175:46656,144.217.81.37:46656,96.9.90.100:46656"
fast_sync = true
db_backend = "leveldb"
log_level = "notice"
rpc_laddr = "tcp://127.0.0.1:46657"
  1. Genesis ~/.tendermint/genesis.json
{
	"app_hash": "",
	"chain_id": "dawn-test-two",
	"genesis_time": "0001-01-01T00:00:00.000Z",
	"validators": [
                {
                        "amount": 10,
                        "name": "one",
                        "pub_key": [
                                1,
                                "5487BD99D52373FCE2AF0945E0F2B142836B5DCE717A4A57690232808E751B5E"
                        ]
                },
                {
                        "amount": 10,
                        "name": "two",
                        "pub_key": [
                                1,
                                "9B2A5EE3B47159E226BA7291632BE3467D3E21A74805BCDD229BB4D11C78D77B"
                        ]
                },
                {
                        "amount": 10,
                        "name": "three",
                        "pub_key": [
                                1,
                                "7AB2679826736784FFE198B14A6DDAF0D08B79A9C4757772CC1AA792B847E770"
                        ]
                },
                {
                        "amount": 10,
                        "name": "four",
                        "pub_key": [
                                1,
                                "82BFD0DF766695E6D2BB7FCA0BC68B096F6F498E71DBF8B08B83181E1560B628"
                        ]
                },
                {
                        "amount": 10,
                        "name": "instructor",
                        "pub_key": [
                                1,
                                "4686AA77D2DEDDAC68ABC02AE4B3A01BC743E3463DC4652F68154865324D057F"
                        ]
                },
                {
                        "amount": 10,
                        "name": "router",
                        "pub_key": [
                                1,
                                "ED7792E1D623B46F1987E57C2D03D78F6924BC606FF7680DDDD408A15B0FE9D4"
                        ]
                },
                                {
                        "amount": 10,
                        "name": "scaleone",
                        "pub_key": [
                                1,
                                "9C75D93028A6B52BA802CBC27A4EEB31E84917FB1B61E4C99B4F3091B9E3DCB9"
                        ]
                },
                                {
                        "amount": 10,
                        "name": "scaletwo",
                        "pub_key": [
                                1,
                                "9A593EB2E5DDD99A31B7D1211CF62D304B6AAD6236A1F61C2A7AA6D079B4ABF7"
                        ]
                }
	]
}
  1. Mark yourself as non-validator delete ~/.tendermint/priv_validator.json

  2. run ~/.glogchain/glogchain systemctl start glogchain systemctl enable glogchain (assuming you want glogchain to start as a system service on your PC)

  3. run tendermint systemctl start tendermint systemctl enable tendermint (assuming you want tendermint to start as a system service on your PC)

Clone this wiki locally