From 600cd0c2ad51225273a404e5e787c8a5c4ae9d26 Mon Sep 17 00:00:00 2001 From: ZmnSCPxj Date: Fri, 12 Jan 2018 23:18:43 +0000 Subject: [PATCH] README: Update to latest behavior: we no longer need addfunds command. --- README.md | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) 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 +`lightningd` will register the funds once the transaction is +confirmed. -# Notifies `lightningd` that there are now funds available: -cli/lightning-cli addfunds -``` +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: -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). +``` +# 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 ``: +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 []