Skip to content

Commit

Permalink
Add seeds.txt for reticulum testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
yakud committed Apr 1, 2024
1 parent f6aeacf commit 4a0804d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions galactica_9301-1/seeds.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
2b590732225bca0f3f55db543861063c705bcd40@seed01-reticulum.galactica.com:26656
fe758700e25b59b6ba6e2784badcb6024ba1b760@seed02-reticulum.galactica.com:26656
028d8c875660f0e3fb1d893acd0b2220c619625f@seed03-reticulum.galactica.com:26656
5 changes: 5 additions & 0 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,10 @@ export KEYRING_BACKEND=file
```
Enter a mnemonic phrase when prompted. The script will import the mnemonic phrase into the keyring.

- **update-seeds.sh**: Update seeds in config.toml
```bash
./scripts/update-seeds.sh
```

Please refer to the individual scripts for more detailed usage instructions. The script will display the public addresses in different formats and the private key if prompted.

13 changes: 13 additions & 0 deletions scripts/update-seeds.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

source ./scripts/gala.sh

echo -e "Welcome to \e[32mGalactica Network\e[0m seeds update script"
echo -e "This script will update the seeds in config.toml"

SEEDS=`cat $NETWORK_PATH/seeds.txt | awk '{print $1}' | paste -s -d, -`
sed -i.bak -e "s/^seeds =.*/seeds = \"$SEEDS\"/" $GALACTICA_HOME/config/config.toml

echo "Seeds successfully updated in $GALACTICA_HOME/config/config.toml config file"
echo "Seeds:"
echo $SEEDS

0 comments on commit 4a0804d

Please sign in to comment.