Configuration

The CLI works with zero configuration out of the box - it targets the live network (https://rpc.bwick.fun / https://rest.bwick.fun). Everything below is optional, controlled entirely through environment variables.

Environment variables

VariablePurposeDefault
BWICK_RPCChain RPC endpointhttps://rpc.bwick.fun
BWICK_RESTREST endpointhttps://rest.bwick.fun
BWICK_CHAIN_IDChain idbwick-1
BWICK_PASSWORDKeystore password (non-interactive)-
BWICK_MNEMONICMnemonic for keys import (non-interactive)-
BWICK_SOLANA_RPCSolana RPC (for bridging)public mainnet RPC

Point at a different endpoint

export BWICK_RPC=https://rpc.bwick.fun
export BWICK_REST=https://rest.bwick.fun
bwick status
Or inline for a single command:
BWICK_RPC=http://localhost:26657 bwick status

Scripting (non-interactive)

Commands that touch a wallet normally prompt for a password. For automation, supply it through the environment instead so nothing blocks on a prompt:
BWICK_PASSWORD='…' bwick send --to bwick1… --amount 5 --from main --json
keys import can likewise take the mnemonic from BWICK_MNEMONIC:
BWICK_MNEMONIC='word1 word2 …' BWICK_PASSWORD='…' bwick keys import main
Passing secrets via environment variables can leak them into shell history and process listings. Prefer the interactive prompts for day-to-day use; reserve the env vars for controlled, ephemeral automation.

Where data lives

Wallets are stored as encrypted JSON keystores (scrypt + AES-256-GCM) under:
~/.bwick/keystore/
Your password never leaves your machine and is never written to disk.