Edit Configuration

Running in user : admin

Set Minimum Gas Price

sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0uband\"/" $HOME/.band/config/app.toml

Enable Prometheus Matrics

sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.band/config/config.toml

Edit Port Node

PROXY_APP="16500"
RPC="16700"
PROF_RPC="1100"
P2P="16600"
METRICS="16800"
sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${PROXY_APP}\"%" $HOME/.band/config/config.toml 
sed -i.bak -e "s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${RPC}\"%" $HOME/.band/config/config.toml 
sed -i.bak -e "s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${PROF_RPC}\"%" $HOME/.band/config/config.toml 
sed -i.bak -e "s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${P2P}\"%" $HOME/.band/config/config.toml 
sed -i.bak -e "s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${METRICS}\"%" $HOME/.band/config/config.toml

Edit Port App

API="1200"
GRPC="1300"
WEBGRPC="1400"
sed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${API}\"%" $HOME/.band/config/app.toml
sed -i.bak -e "s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${GRPC}\"%" $HOME/.band/config/app.toml
sed -i.bak -e "s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${WEBGRPC}\"%" $HOME/.band/config/app.toml

Edit Peers

Peers Seed

seeds="8d42bdcb6cced03e0b67fa3957e4e9c8fd89015a@34.87.86.195:26656,543e0cab9c3016a0e99775443a17bcf163038912@34.150.156.78:26656,2c884e60a0944958a2a9389f07f2f66dcfc3add0@seeds-bandprotocol.activenodes.io:3665"
sed -i.bak -e "s/^seeds =.*/seeds = \"$seeds\"/" ${HOME}/.band/config/config.toml

Peers Node

peers="57135ca657de0637a1b583d4c86e9fc8dd8b744b@65.109.10.232:27013,2422bef180fe121b263cb29fa3e5b31f324c4d11@65.108.108.42:26656,8b3728153ef25bebb43d411d3e06ea1e6d825c21@15.235.53.219:26656,19f6299deac27e917d6356f411d400e2923d4c1e@23.88.91.115:22956,45082483812d7fbf6c1d7c73c2051b0720e32ec3@3.94.1.147:26656,d9a88b59f8b78aa1db43836e5d7438238faf5c8f@35.247.154.38:26656,15e48c03c6f08b1a0a35ea38626d27af4af43bb8@130.193.37.227:26656,f3788f34cea5faf9bcc41fd2d7c4be87181e4810@13.213.122.116:26656,bd4e49e8c1958ef865a9093ae8cbe06ae274fa1a@103.234.71.245:26656,499efe3e04d4d58247d4c91d6812cba5f0a2f291@51.91.67.48:30656,07b6bd70b28103bd4122080100843b2a83537681@15.235.119.114:26656,ebc272824924ea1a27ea3183dd0b9ba713494f83@195.3.220.21:26666,610030996212c634a2c895b4673fcfdfb062638b@185.208.206.162:26656,753f9d25a34a6f67325b42531f4f2e2368bc1d86@88.198.38.151:26656,c1b93580023f12891683431e25fb05d6e4372bef@188.34.207.243:26656,5e951952778848be4aaec8d35cdb188ba767b031@54.199.153.43:26656,8108575603594504341caef34f3d6f9ef55c453a@184.174.37.135:26656,14358a7f970cc0b790d9d8f24513aa11eaf6297f@65.108.238.166:22956,b01cda03ee639d8a01efd168be8952040be416f8@18.235.35.236:26656,1fa749ab7ec4ee0aef63a942493e7ce5e5c29d85@34.87.84.50:26656,9dc4a64e061b36854e33d75cdf045c1d2b273404@34.195.53.91:26656,2e53aad2649eab91d711b45fc2b83690b4156b11@162.19.138.20:26656,0471a19fceefdf595d28d9b0b7f020d0b4eb9e9b@85.237.193.113:26656,ba227966e96506acd5d0110af3a2d4462d96ad31@34.86.22.219:26656,1c0e70871b770938bea3ac2f60def7f5e62ffa2b@162.55.0.195:26656,98823087b61d442a4ab86998709c77b2e517ee78@35.240.152.216:26656,24f83d4c1e4b51fe00da352822a1cbcdea1149f4@65.108.225.126:26656,4ee15cd6f3dae625dbf410ff8aa9facd4b9e96c7@34.143.139.34:26656,3d922c62a5b8241573e83d4d79016f41c022b43b@34.126.163.60:26656,31942da60244c7cd7e05db5d85d82557859414d5@198.244.213.136:26656,53913a0606bcf686595b6e14eaca77fd39dc9fb3@23.109.158.236:26656,cdc98fc960ea41b74e33c0275ab0038937a91dfe@88.99.53.88:26656,79ba880b4da7f5528f0d4b79b378559cdc530307@62.171.165.6:26656,f6c5ff15414bdaaeff59f555eae5ca745c03b37e@77.68.30.186:26656,360c68f66b8e165a293af3ec7677728d4eaddea0@116.202.115.248:26656,4ce256640e5bd082746a696e3d71d8f626443a80@34.143.248.168:26656,7259c4b4efbc0471605959f47285085a7bfd4448@35.240.157.121:26656,f8a112617213052095c68a99fd6260040a235652@45.129.147.242:26657,b0cc97772a5d4e6c507843a16e6636f6be963000@199.247.13.12:26656,268c44707b65471851e70c26d00c8ec9261c15a4@65.108.122.246:26646,7ff95d67cb57b44eba11bed8f3a157eb42bf8311@153.139.245.107:26656,c60ac9d58b02e31b3eec6dfbb867f9336d072f6f@121.78.241.76:41656,38cc521c2cbcc936c2c42b6490c399d3ea4d551b@45.153.35.148:26656,c5e97eed504ced33f15ab231995a68c0eef94410@47.243.134.151:26656,5f1759898d100ef2bab61460449cf6696a1d2058@35.240.171.219:26656,68984b341fbf9809a991c72cfe32fbc87553583c@35.198.219.75:26656,0f2832ff193847e1403dfdd1290237cfb53b2431@34.138.126.238:26656,4a2b39fed2c8693efcba4f050313fc3a78ff3f13@157.90.34.111:16656,3ea84babead3d6bc488810a0f2cf0744cf5c68fe@34.86.22.251:26656,17248657c6a788456c337f4884401a831b1ea2d0@174.138.172.50:30656,807ff4d4429d45838548bab05cd60a695d8ea54c@51.83.140.142:26656,f2c3f4d676b4adce0b8f62582b3cb72ec6aead23@5.135.137.127:26656,8c2c6a7b1a93374e7cdb5484bb348d80b6751f16@162.55.129.170:10356,8ac8ab5741b286adc123799e20e961e86ed4342e@34.76.55.114:26656,714e6dd1dbae791d27518590a1237b97d6117bfc@54.38.46.124:30656,65663f9fb142fea25fa7ab55d13c980e8f698f37@57.128.133.1:26656,4eaaa1008f0487c04559331ddc47ad319aa98afc@98.157.122.100:26656,6425e146d32f3db3a067456a18e2ad012a17f3dc@34.64.245.112:26656,908cbdc5e5b71e716a93f1b7683c2dcd34ac70f1@65.108.229.93:28656,092357cf8057ff150179f2092e56a21dcf6309ee@15.235.14.28:26656,14df75ca29a74b670acd0908e4f50a4ee8eeba56@13.212.159.242:26656,7f4ee402bfaac7d5aa952343f985c222e95d203f@18.179.33.55:26656,cc4f5edc0d2482113338d8f232efaaad8f1b76c5@116.202.96.76:27008,8d72c28400f8e84f93c95fe533cdf89099e24c25@34.142.204.241:26656,5cda7f906ef08667c076cd9b2cc4eb4447d297a5@34.87.51.255:26656,9c5bf0ccbce110dd4162890c0a2c2c6d1f45330b@65.108.234.38:26656,45e438fe45d02dbcf1bea1954a9addd1104debf9@18.180.93.129:26656,e8c86f5ecd1f53899bb8ee2c5af986d3027c51c2@178.18.252.220:26656,5e694e1082f191add1fca6d26ad5e0e9c8fe51a3@95.214.55.227:26666,1f4ef8be39cdebc24e21a822d663028fc2cc2524@15.204.161.104:26656,f1180d35d3697d632bfc705fd5cb048fef2e9624@15.160.187.209:26656,f40730321bbadfbff1dc6235e32652de5cac97d2@65.109.97.249:22956,25f4369ac9cb31a0358c29bde9581fd717086b91@107.135.15.67:26676,f67fba23c4520344bc81fdafab8e86470bc5146f@185.163.64.143:26656,ee287b45460c04f7c9dd086133b8d57e4e381eb4@192.99.20.53:27656,7b6c00012f2411cbfc6f6ecde728d630325edd55@162.55.234.190:56656,f65720eaead72ff532887ec2ba50cace78f1de55@3.39.146.68:26656,d28e8ad7fb8bdcd9d109ac982b09f824acbec8e3@3.126.103.168:26656,caba7ea64b42c83c57b206e3668f6cd842023d8f@51.89.97.105:26002,115d01baed3907b6b939bb0c052548f9fd3e09eb@135.181.138.95:12070,c4254584ff19eb934e01efd485278cea1820da32@15.235.115.152:13100,e10272838a0a54bc08ae12f69fe6d5e33eccac42@15.235.53.30:26656,a8ab3d4507bbb8d0790b75c9c3a39e4f5ec5f0c2@162.19.138.239:11356,fcdfbac66f27552074e27c0124251e06af6b8fc1@54.244.131.5:25656,49f7fbb491faa0eb305feb322acd4d19481e7c96@15.204.163.197:26656,180f77081fa8d626d951b5369f92d4bab00c96b6@65.109.89.45:26656,9eb7da312fc9222cdb7a2ec3c7fe5f0d66109148@148.113.153.111:36656,0f996f16034612e156faf27d03361ec401a65d05@18.138.54.118:26656,2ed997bbf6933d533f27dbdb5ff8e17faf8a9d0b@136.243.67.189:22956,93a8607309c391a5afcb21ccc8a125dcb4791357@51.81.167.60:13100,8d42bdcb6cced03e0b67fa3957e4e9c8fd89015a@34.87.86.195:26656,d1994d6f850252c801e89f2f574e9bcdf5b06ac6@95.217.110.43:26656,0c0cf64205a83ab6e78e231a712ca8eec288ca13@91.194.30.204:21656,d9d1b3aac53a852497bb310f63972453decbce68@194.60.201.251:2656,283718d8ff80c017df6b416c2da7cff5280c5a82@167.235.180.97:22956,f6efd41fc097f270bbb9e38bee76c7c3d0b28134@38.242.234.216:26656,79cd5885ec1efbc68e7807a1546deae627a44a7a@173.212.240.62:26656,40bcbde8554480ca021f8841890b4f2b936b92f0@15.160.38.21:26656,3da0d2906c049a6813a61372103243ec439e1312@35.187.224.251:26656,da5df8a66ff704798982245d1e77b24a1f5ab02b@18.176.159.242:26656,b8d63d9869018c9b4e53e02bd579d6c173cd7d1f@65.109.94.221:43656,34959257a5baf0cd0b4b300975ccdede3167b909@34.126.152.67:26656,4eb232f0d77d7120bc6a11aa7983f065f1c655d9@52.194.8.37:26656,fad4c8e1ea71e4b621692b1637444811e967e5ee@13.230.237.195:26656,5aa1405d22312a6213b7cf82d0e0e03164340eaa@162.19.171.122:26656,0af8609c1dd97ef1a40e13c7e4553d830f8c451b@109.70.113.105:41656,dfb1dfc76ae0f3b465cafecb8b7efb02c7e8f432@65.21.139.155:39656,79740837251bfb6523bccc944c2e9be111c07e62@65.109.92.241:11026,6513473d41b9caadc2d442ea9312561469642c7e@129.151.47.26:26656,02b4be4ba1c055956877a43a0a3b045eef0ed8ae@5.9.99.172:22956,eaa945a2ae43431c419eed87b1ee36b9dff43e5b@45.13.59.97:26656,fc4db9b04408868f082a9886ba65e3a0c9a6cca4@89.149.218.44:26656,83ef515801107dc47728aa87b50f94c816e7be4d@176.9.147.146:46656"
sed -i 's|^persistent_peers *=.*|persistent_peers = "'$peers'"|' ${HOME}/.band/config/config.toml

Fast Sync

Make sure you have parameter in $HOME/.band/config/config.toml

fast_sync = true
version = "v0"

Last updated