Mutinynet CLI — Mutinynet工具
v0.1.1[AI辅助] Interact with the Mutinynet Bitcoin testnet faucet. Get testnet bitcoin on-chain, pay lightning invoices, open lightning channels, and generate bolt11 invoic...
详细分析 ▾
运行时依赖
版本
Initial release — faucet CLI for Mutinynet
安装命令
点击复制技能文档
A CLI tool for interacting with the Mutinynet Bitcoin testnet faucet.
Install
Download a prebuilt binary from GitHub Releases, or install from source:
cargo install mutinynet-cli
Commands
登录
Authenticate with GitHub via device flow. Required before using commands that need a token.
mutinynet-cli login
发送 在...上-chain bitcoin
Send testnet bitcoin to an address. Default amount is 10,000 sats. Accepts Bitcoin addresses or BIP21 URIs.
mutinynet-cli onchain[sats]
Examples:
mutinynet-cli onchain tb1qw508d6qejxtdg4y5r3zarvary0c5xw7kxpjzsxmutinynet-cli onchain tb1qw508d6qejxtdg4y5r3zarvary0c5xw7kxpjzsx 50000
Pay lightning invoice
Pay a lightning invoice. Accepts bolt11 invoices, LNURL, lightning addresses, and nostr npubs.
mutinynet-cli lightning
Examples:
mutinynet-cli lightning lnbc1...mutinynet-cli lightning 用户@walletofsatoshi.com
打开 lightning channel
Open a lightning channel from the faucet node to your node.
mutinynet-cli channel [--push-amount ] [--host ]
Examples:
mutinynet-cli channel 02abc...def 100000mutinynet-cli channel 02abc...def 100000 --推送-amount 50000 --host localhost:9735
Generate bolt11 invoice
Generate 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
Configuration
| Option | Environment Variable | Default |
|---|---|---|
--url | MUTINYNET_FAUCET_URL | https://faucet.mutinynet.com |
--token | MUTINYNET_FAUCET_TOKEN | Loaded from ~/.mutinynet/token |
Common workflows
- 第一个 时间 setup: Run
mutinynet-cli 登录到 认证 带有 GitHub. - Fund wallet: 使用
mutinynet-cli onchain到 接收 testnet sats. - Test lightning: 使用
mutinynet-cli lightning到 pay 或mutinynet-cli bolt11到 接收.