Skip to content

Instantly share code, notes, and snippets.

@assafmo
Last active June 9, 2021 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save assafmo/dd2882cd22532bc1177af6c019ff7296 to your computer and use it in GitHub Desktop.
Save assafmo/dd2882cd22532bc1177af6c019ff7296 to your computer and use it in GitHub Desktop.
{secret,terra}cli setup for testnet
sudo wget -O /bin/secretcli https://github.com/enigmampc/SecretNetwork/releases/download/v1.0.4/secretcli-linux-amd64
sudo chmod +x /bin/secretcli
mkdir -p ~/.secretcli/config
echo 'chain-id = "holodeck-2"
indent = true
keyring-backend = "test"
node = "https://chainofsecrets.secrettestnet.io:26667"
output = "json"
trust-node = true' > ~/.secretcli/config/config.toml
# Faucet: https://faucet.secrettestnet.io
wget -O - https://github.com/terra-money/core/releases/download/v0.4.4/terra_0.4.4_Linux_x86_64.tar.gz |
sudo tar -C /bin -xzf - ./terracli
sudo chmod +x /bin/terracli
mkdir -p ~/.terracli/config
echo 'chain-id = "tequila-0004"
indent = true
keyring-backend = "test"
node = "http://15.164.0.235:26657"
output = json
trust-node = "true"' > ~/.terracli/config/config.toml
# Faucet: https://faucet.terra.money
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment