mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
feat: add hway binary support and Homebrew formula
This commit is contained in:
Executable
+24
@@ -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"}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user