Edit Configuration Node
Edit Configuration Blockchain
Running in user : salinem
Set Minimum Gas Price
sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.025unibi \"/" $HOME/.nibid/config/app.toml
Enable Prometheus Matrics
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.nibid/config/config.toml
Edit Port Node
PROXY_APP="16506" #Example
RPC="16706" #Example
PROF_RPC="1106" #Example
P2P="16606" #Example
METRICS="16806" #Example
sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${PROXY_APP}\"%" $HOME/.nibid/config/config.toml
sed -i.bak -e "s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${RPC}\"%" $HOME/.nibid/config/config.toml
sed -i.bak -e "s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${PROF_RPC}\"%" $HOME/.nibid/config/config.toml
sed -i.bak -e "s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${P2P}\"%" $HOME/.nibid/config/config.toml
sed -i.bak -e "s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${METRICS}\"%" $HOME/.nibid/config/config.toml
Edit Port App
API="1206" #Example
GRPC="1306" #Example
WEBGRPC="1406" #Example
sed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${API}\"%" $HOME/.nibid/config/app.toml
sed -i.bak -e "s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${GRPC}\"%" $HOME/.nibid/config/app.toml
sed -i.bak -e "s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${WEBGRPC}\"%" $HOME/.nibid/config/app.toml
Edit Peers
Peers Seed
seeds="405889c24b4de25ba618293a640a2396e202617e@213.239.220.52:26656,f81e315ca46436934f8191229da2b66ad727b74a@49.13.171.180:26664,a36af139a487ffe939302b909ad7f502f2f11907@23.106.238.179:26656,e1b058e5cfa2b836ddaa496b10911da62dcf182e@164.152.160.107:26656,5cc9267158950e8c02dc186846488a308f3125a7@65.21.29.115:19856,e5f0c47baa29c7c7806af5444beb60423d9cc56d@130.211.91.146:26656,17de11d7867323b42e88191cd04cc46497c8d528@49.13.137.99:26656,4098f0862f6d454f28a912e6987277889e8d23c1@144.76.40.53:19856,b7262df35a7e1d1fb4027464efe9d9d6218ca4c7@35.233.111.89:26656,70c9639808b1e5d0c3f256e67d31da6dfc93fd61@141.94.193.28:55356,efa09cacd33a8c0183c767ce52eb886b9519e246@116.203.209.229:26664,75d2372f7feecb7bf66a5c57302bea172c62a3d3@142.132.199.236:20656,0c1ea7a68f8f2a9ea31f715d78b1fde21fa6ee63@65.108.227.114:26656,c4c93509cff43c07876d4ddfe8db4ab23d63fc47@37.27.71.199:10656,522f0fd66a024a6255cb6950d5b5d12c719c1e98@65.109.17.23:56243,4c812ade5cad9fe53b4a8728cac2b0385e86a333@65.108.226.120:13956,a3836da34d9ea8014f0fcd90015a2ccbc5f010ea@95.217.107.249:27656,8b564f4ddd3e2eb24b1f321d7dacc03080c9c824@65.21.227.177:10026,ab2ae706ea5b5df1b306608b258c2232516bdc02@51.195.104.64:5656,c357b020f7ebb432172bdd328eb236799d940eb8@37.60.249.230:26656,46fc3dab0ff7e3be021646464e1c603992cd361b@168.119.114.206:26656,95986fe13abeca8f2ac7d18951e8367f123f6e6d@188.40.56.125:26656,28968cc58caf7ce7f38aae9c640871686c7b7588@142.132.190.54:26656,8b589bd804c3e0e89d4d7d8d2ade99b1f78f6fbf@57.128.54.107:26656,b032150972f3a9add47a0df33c6a69bbca4df59e@173.212.231.88:26656,6d83a02cb6c37b6f4f3d3b6cd09c34a10f890a5c@51.210.223.84:19856,62e5c9202669a20b4cf5674968c5677da1ed5195@37.187.149.56:13956,f8ddb6e7c9dcb47f0ceda7eeebaa7520317dae04@195.14.6.204:26656,94d624c9cc63cc8432050698de6f515b2c80ad11@23.111.23.233:26756,81b9c09ae1c76a3e7f36db91b98d1fbf1e31233c@185.248.24.16:13956,c416d67c3dbb2d30b803611469e6d2634099292d@135.181.210.171:11036,465f8fd179ff06e56e55652626eabe6a901233fd@152.53.35.116:13456,e80986ccc5306d237a30dfabe4aad3d9607a6d36@146.59.118.20:26656,c2af064e5c0d9fafde4a978d564a3cea447367ba@54.39.131.55:26656,6604179787139eab744b8a1159fee9b03fcc3714@51.81.49.176:19856,7d8267a98d2d9d697a66b54e46f3897ba4336d52@150.136.9.100:26656,8d8324141897243927359345bb4b1bb78a1e1df1@65.109.56.235:26656,5c0468c2d1ec9a75cd267a9875a6bdb970d470b7@150.136.8.210:26656,cc8ff21a53f996fd729a10bcfbd85cf009505367@65.108.75.107:34656,ba572c6156aefd0b0ac500bd5477ff2372d7ea28@141.94.195.151:19856,05106550b6e738d8ce50cb857520124bbcce318f@35.189.236.126:26656,405d70232fa2a483a53da2fa94c1684274997e15@51.91.64.170:55656,0f3f1804f685c3d14f50324e5ff3d9ed2a058ec9@65.109.26.123:26656,dca62b1537a2a52a365328b5503b0ab9239f8bd3@95.216.74.45:13956,29a570869025964973394b36f313169ca894ae49@49.12.36.72:18856,763fc3d8868532e322ee9574e5670092a32b6af1@65.109.82.86:13956,36a232cf6a3fb166750f003e3abd5249e86aeed8@15.235.115.154:16700,094b06bc22de245d40fe8af3b7c8c8eb9c9474bc@221.148.45.106:26656,26a56cdfa1908efd2dd2ad10d7a3349868a7b797@65.108.141.109:34656,d3c7f343d7ed815b73eef34d7d37948f10a1deab@34.76.80.206:26656,89757803f40da51678451735445ad40d5b15e059@164.152.161.5:26656,9886a3d5cd52b773ebd3b628a7404438222a6808@37.27.70.132:27656,4f659d7db311a4fa2433ad372fa8c17850ec3bd7@185.218.124.63:26656,200d3c6eec510a3bb5a4224d9be188df37032946@148.251.13.186:19856,6f893316be0168405c4abf45840eaf260d6e4145@89.58.14.189:26656,f05af0cc06b2c627da7f92f27dbec00b5d06d25e@178.63.14.240:26656,798e61b8e0208edf9743394add9f6781ccdf784c@65.108.128.201:19856,637077d431f618181597706810a65c826524fd74@176.9.120.85:19856,e7af24b15365bff9537e2776c2a5fdf01b933dc5@34.76.178.49:26656,151acb0de556f4a059f9bd40d46190ee91f06422@34.38.151.176:26656,8266479c2bb3a6b7163f7197736c9e79c4dcecf7@125.253.92.159:26656,ebf72163ad536ca73a037fa5d564d511be59c2f4@34.34.137.54:26656,74f2e690e1be83c189bf227c4c61b266267795c8@94.130.138.48:35656,07faf6678cbcee9909348b6d705260f9ba6ca1ff@65.108.232.104:19856,d1f31c6968712b2da1079cf0387153560d2f1cf7@95.217.204.58:19856,3ad4c19c624d080d3bdb2a95e6f1abf7a36bbf00@65.109.26.21:11656,58246b8334a7ea2db0458167a26082644a0d5d9c@65.109.122.105:36656,79e94efdbf49f0d41e7000f1c5e48e0cc4f7cee6@45.92.9.210:26656,d9bfa29e0cf9c4ce0cc9c26d98e5d97228f93b0b@65.108.233.103:13956,1e0c061b926c8a01238e3eb3e79236c210703b68@103.97.111.74:26656,62d50a790922e159a46da1f34161e2296288636a@91.207.54.27:26656,20e1000e88125698264454a884812746c2eb4807@65.108.227.217:19856"
sed -i.bak -e "s/^seeds =.*/seeds = \"$seeds\"/" ${HOME}/.nibid/config/config.toml
Peers Node
peers=""
sed -i 's|^persistent_peers *=.*|persistent_peers = "'$peers'"|' ${HOME}/.nibid/config/config.toml
Fast Sync
Make sure you have parameter in $HOME/.nibid/config/config.toml
fast_sync = true
version = "v0"
Last updated