spark-wallet
spark-wallet copied to clipboard
option for on-chain transactions
Would be nice to have GUI components to send and receive on-chain transaction for funding channels (or as a fallback method).
(A relevant comment copied from #50)
Integrating on-chain payments to the main "receive"/"pay" functionality is somewhat complicated, since c-lightning doesn't provide onchain transaction history and doesn't provide a way to get notifications about incoming onchain payments. Spark would have to implement its own onchain functionality and connect directly to bitcoind or some other data source.
Hopefully at some point in the future, c-lightning could allow associating an onchain address with invoices and automatically track payments to it, which would make implementing onchain in Spark much easier.
Hello @shesek, thank you for your answer.
I talked to cdecker from clightning project. He said we are welcome to open an issue with a description of what functionality is needed. I think you have a better overview of what this might be. Could you open an appropirate issue there ?
Thank you.
v0.2.4 was released with support for creating addresses and making on-chain deposits.
Keeping this issue open to keep track of more advanced on-chain support, including sending to bitcoin addresses and integrating this with the main send/receive functionality.
v0.2.4 was released with support for creating addresses and making on-chain deposits.
Keeping this issue open to keep track of more advanced on-chain support, including sending to bitcoin addresses and integrating this with the main send/receive functionality.
Excellent. I can see I can make on-chain deposits. I assume by 'including sending to bitcoin addresses' you mean withdrawing on-chain funds to another address? So at this stage, we can deposit funds, but can't withdraw. Am I correct?
Yes, the GUI allows making deposits, but not withdraws yet.
You can still withdraw using the RPC console though, by clicking the version number in the bottom-left to enable "expert mode", opening the "RPC Console" page, and typing withdraw <address> <amount_in_satoshis>
.