bitcoin-inq is a small CLI for working with Bitcoin Core / Bitcoin Inquisition releases, local nodes, and chain detection.
bitcoin-inq detect-network— detect the active chain from an RPC connection or local cookie files.bitcoin-inq node start— startbitcoindorbitcoin-qtwith chain-aware defaults.bitcoin-inq node stop— stop a local node over RPC.bitcoin-inq node mine— mine spendable regtest blocks to a wallet or supplied address.bitcoin-inq inquisition— list releases or install an Inquisition release asset.bitcoin-inq kill— terminate a process by name or PID.bitcoin-inq list-processes— print running processes, optionally filtered by name.
node startdefaults to regtest because Inquisition builds reject unsupported networks like mainnet/testnet.--chain signetuses.bitcoin/signet/bitcoin.confby default and accepts--signetchallengefor custom signets.node mineis regtest-only; signet still requires a real miner.inquisition --installaccepts a release tag likev29.4-inqor29.4-inq. Omit the value to print the available releases.inquisition --pathinstallsbitcoin-qt-inq,bitcoind-inq, andbitcoin-cli-inqinto the first writable directory onPATH.
This repo uses cargo-dist for tagged releases (v*.*.*):
planrunsdist host --steps=createto compute the release manifest and matrix.build-local-artifactsbuilds per-platform archives and updater assets.macos-signingsigns and notarizes the macOS binary, then repacks the macOS.tar.xzso the packaged binary stays signed too.build-global-artifactsfinishes the cross-platform assets and checksums.hostrunsdist host --steps=upload --steps=releaseand publishes the GitHub Release.publish-homebrew-formulaupdates the tap when the release is eligible.
Published release assets are the packaged archives, checksums, update bundles, and installer scripts. The release job edits and re-uploads on reruns, so it is safe to retry a failed release tag without manually deleting the release first.
- Repository Actions permissions:
contents: write MACOS_DEV_CERTIFICATE: Base64-encoded Developer ID.p12MACOS_DEV_CERTIFICATE_PWD:.p12passwordAPPLE_ID: Apple Developer emailAPPLE_APP_SPECIFIC_PASSWORD: Apple app-specific passwordAPPLE_TEAM_ID: Apple Developer Team IDHOMEBREW_TAP_TOKEN: token with write access to the Homebrew tap repo
The release workflow uses the built-in github.token for GitHub Releases; no extra release PAT is needed unless you replace that token on purpose.
cargo run -- node start --chain regtest
cargo run -- node start --chain signet --signetchallenge <hex>
cargo run -- node mine --blocks 101
cargo run -- inquisition --install v29.4-inq -f
cargo run -- detect-network