Skip to content

FaucetBot

Elaine Ou edited this page Feb 15, 2018 · 5 revisions

FaucetBot is a Testnet Lightning Faucet that will open a payment channel upon request. The payment channel can be opened with an initial balance.

FaucetBot Commands

OPENFAUCET

Create a payment channel with FaucetBot.

Parameters

  • amount (optional) - Number of satoshis to commit to the channel. Will default to maximum amount available if not specified.
  • balance (optional) - Initial balance in satoshis.

Returns

  • funding_txid - Transaction ID of funding transaction

GETBALANCE

Request FaucetBot's wallet balance.

Parameters

None.

Returns

  • wallet_balance - Balance of FaucetBot's lightning node wallet
  • channel_balance - Sum of channels balances denominated in satoshis

Example

Clone this wiki locally