A CLI tool for interacting with the Mutinynet Bitcoin testnet faucet.
Download a prebuilt binary from GitHub Releases, or install from source:
cargo install mutinynet-cli
Authenticate with GitHub via device flow. Required before using commands that need a token.
mutinynet-cli login
Send testnet bitcoin to an address. Default amount is 10,000 sats. Accepts Bitcoin addresses or BIP21 URIs.
mutinynet-cli onchain <address> [sats]
Examples:
mutinynet-cli onchain tb1qw508d6qejxtdg4y5r3zarvary0c5xw7kxpjzsxmutinynet-cli onchain tb1qw508d6qejxtdg4y5r3zarvary0c5xw7kxpjzsx 50000Pay a lightning invoice. Accepts bolt11 invoices, LNURL, lightning addresses, and nostr npubs.
mutinynet-cli lightning <invoice>
Examples:
mutinynet-cli lightning lnbc1...mutinynet-cli lightning user@walletofsatoshi.comOpen a lightning channel from the faucet node to your node.
mutinynet-cli channel <pubkey> <capacity> [--push-amount <sats>] [--host <host:port>]
Examples:
mutinynet-cli channel 02abc...def 100000mutinynet-cli channel 02abc...def 100000 --push-amount 50000 --host localhost:9735Generate a bolt11 invoice from the faucet node. Omit amount for a zero-amount invoice.
mutinynet-cli bolt11 [amount]
Examples:
mutinynet-cli bolt11 5000mutinynet-cli bolt11| Option | Environment Variable | Default |
|---|---|---|
| ----------- | -------------------------- | -------------------------------- |
--url | MUTINYNET_FAUCET_URL | https://faucet.mutinynet.com |
--token | MUTINYNET_FAUCET_TOKEN | Loaded from ~/.mutinynet/token |
mutinynet-cli login to authenticate with GitHub.mutinynet-cli onchain to receive testnet sats.mutinynet-cli lightning to pay or mutinynet-cli bolt11 to receive.共 1 个版本