Installation

bwick is the official command-line tool for bwickchain. Install it directly from the GitHub repo with npm, nothing to download by hand.
The bare interactive wallet (running bwick with no arguments) is currently under maintenance. The scriptable CLI commands documented in this section deliver the full set of wallet and chain functions in the meantime: query balances, manage keys, and send BWICK. See Interactive Wallet.

Prerequisites

  • Node.js 18+ - Download
  • git - npm uses it to fetch the repo

Install

git clone https://github.com/bwick-labs/bwick
cd bwick
npm install
npm link
npm link puts a bwick command on your PATH. (You can skip it and run node dist/cli.js <command> from the clone instead.) Verify:
bwick status
chain bwick-1 · height 278340 · https://rpc.bwick.fun
If you see a chain id and a height, the CLI is talking to the live network. By default it targets https://rpc.bwick.fun and https://rest.bwick.fun, no configuration needed.

One-line install

On most setups you can skip the clone:
npm install -g github:bwick-labs/bwick
If bwick isn’t found afterward (some npm versions mishandle global installs from a git source), use the clone method above.

Updating

Pull the latest and relink:
cd bwick && git pull && npm install && npm link

Commands at a glance

bwick balance <bwick1>     # account balance
bwick status                # chain id, height, reachability   (alias: ping)
bwick token                 # the BWICK token / mint info
bwick keys list             # list saved wallets
bwick keys add [label]      # create a new wallet
bwick keys import [label]   # import a mnemonic
bwick send --to <addr> --amount <n> [--from <label>] [--memo <m>]
bwick --version | --help
Add --json to any command for machine-readable output.

Next Steps

Configuration

Point the CLI at a different endpoint, or feed it credentials for scripts

Key Management

Create, import, and list wallets