Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.13 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.13 KB

pocket-seeds

This repo holds the official lists of seeds for Pocket Mainnet and Testnet.

You can use this information to set up a new node.

MainNet Helpers

Update Config

Here's an example script to update the seed list in config.json for mainnet.

export SEEDS=$(curl -s "https://raw.githubusercontent.com/pokt-network/pocket-seeds/main/mainnet.txt" | tr '\n' ',' | sed 's/,*$//')
sed -i 's/"Seeds":.*$/"Seeds": "'${SEEDS}'",/' ${HOME}/.pocket/config/config.json

Echo MainNet Seeds

echo $(curl -s "https://raw.githubusercontent.com/pokt-network/pocket-seeds/main/mainnet.txt" | tr '\n' ',' | sed 's/,*$//')

Test MainNet Seeds

./mainnet_test.sh

TestNet Helpers

Echo TestNet Seeds

echo $(curl -s "https://raw.githubusercontent.com/pokt-network/pocket-seeds/main/testnet.txt" | tr '\n' ',' | sed 's/,*$//')