feat: add hway binary support and Homebrew formula

This commit is contained in:
Prad Nukala
2024-12-09 11:49:20 -05:00
parent b7a40ac3d7
commit 7806c07381
24 changed files with 174 additions and 1435 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/env bash
set -e
export KEY="user1"
export KEY2="user2"
export CHAIN_ID=${CHAIN_ID:-"sonr-testnet-1"}
export MONIKER="florence"
export KEYALGO="secp256k1"
export KEYRING=${KEYRING:-"test"}
export HOME_DIR=$(eval echo "${HOME_DIR:-"~/.sonr"}")
export BINARY=${BINARY:-sonrd}
export DENOM=${DENOM:-usnr}
export CLEAN=${CLEAN:-"true"}
export RPC=${RPC:-"26657"}
export REST=${REST:-"1317"}
export PROFF=${PROFF:-"6969"}
export P2P=${P2P:-"26656"}
export GRPC=${GRPC:-"9090"}
export GRPC_WEB=${GRPC_WEB:-"9091"}
export ROSETTA=${ROSETTA:-"8420"}
export BLOCK_TIME=${BLOCK_TIME:-"5s"}
+1
View File
@@ -124,6 +124,7 @@ from_scratch () {
# check if CLEAN is not set to false
if [ "$CLEAN" != "false" ]; then
echo "Starting from a clean state"
from_scratch
fi