diff --git a/README.md b/README.md index 1e269fd04..b8f19b797 100644 --- a/README.md +++ b/README.md @@ -67,19 +67,28 @@ cli/lightning-cli newaddr # Returns a transaction id bitcoin-cli -testnet sendtoaddress
- -# Retrieves the raw transaction -bitcoin-cli -testnet getrawtransaction - -# Notifies `lightningd` that there are now funds available: -cli/lightning-cli addfunds ``` -Eventually `lightningd` will include its own wallet making this transfer easier, but for now this is how it gets its funds. -If you don't have any testcoins you can get a few from a faucet such as [TPs' testnet faucet](http://tpfaucet.appspot.com/) or [Kiwi's testnet faucet](https://testnet.manu.backend.hamburg/faucet). +`lightningd` will register the funds once the transaction is +confirmed. -Once `lightningd` has funds, we can connect to a node and open a channel. -Let's assume the remote node is accepting connections at `` (and optional ``, if not 9735) and has the node ID ``: +If you don't have any testcoins you can get a few from a faucet +such as [TPs' testnet faucet](http://tpfaucet.appspot.com/) or +[Kiwi's testnet faucet](https://testnet.manu.backend.hamburg/faucet). +You can send it directly to the `lightningd` address. + +Confirm `lightningd` got funds by: + +``` +# Returns an array of on-chain funds. +cli/lightning-cli listfunds +``` + +Once `lightningd` has funds, we can connect to a node and open a +channel. +Let's assume the **remote** node is accepting connections at +`` (and optional ``, if not 9735) and has the node ID +``: ``` cli/lightning-cli connect []