This repository has been archived by the owner on Mar 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
235e817
commit 92e1899
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
#!/bin/bash | ||
set -e | ||
# Based on the work of Joe (Chorus-One) for Microtick - https://github.com/microtick/bounties/tree/main/statesync | ||
read -p "BCNA folder, your keys and config will be erased, proced? " -n 1 -r | ||
read -p "BCNA folder, your keys and config will be erased, proced (y/n)? " -n 1 -r | ||
if [[ $REPLY =~ ^[Yy]$ ]] | ||
then | ||
# BitCanna State Sync client config. | ||
rm -f bcnad #deletes a previous downloaded binary | ||
rm -rf $HOME/./bcnad/ #deletes previous installation | ||
rm -rf $HOME/.bcnad/ #deletes previous installation | ||
wget -nc https://github.com/BitCannaGlobal/bcna/releases/download/v0.2-beta/bcnad | ||
chmod +x bcnad | ||
./bcnad init New_peer --chain-id bitcanna-testnet-6 | ||
wget -nc https://raw.githubusercontent.com/BitCannaGlobal/testnet-bcna-cosmos/main/instructions/public-testnet/genesis.json | ||
mv genesis.json $HOME/.bcna/config/ | ||
rm -rf $HOME/./bcnad/config/genesis.json #deletes the default created genesis | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
RaulBernal
via email
Author
Contributor
|
||
wget https://raw.githubusercontent.com/BitCannaGlobal/testnet-bcna-cosmos/main/instructions/public-testnet/genesis.json > $HOME/.bcna/config/genesis.json | ||
# At this moment: config state sync & launch the syncing (all previous config need to be performed) | ||
|
||
|
||
|
There is a typo on L13 I think. Remove the
/
in./bcnad