From decker.christian at gmail.com Fri Jan 19 11:31:49 2018 From: decker.christian at gmail.com (Christian Decker) Date: Fri, 19 Jan 2018 12:31:49 +0100 Subject: [Lightning-dev] How to use LN In-Reply-To: References: Message-ID: <87607yqe3e.fsf@gmail.com> Hi v e, in order to use Lightning Charge you will need the following: - A full bitcoind node sync'd with the network - A c-lightning node - npm + lightgning-charge running to give you access to the REST API We currently do not have (and may never have) bindings for bitcoinj. Re invoices: the invoices are tracked by c-lightning and you can store a reference to them in your store using the `payment_hash`. Customers will need to have their own Lightning client and some channels open to the network in order to send payments. Cheers, Christian v e writes: > Hi, > > I am building merchant app and consumer wallet app using > https://bitcoinj.github.io APIs for wallet creation. Now I want to use LN > built by your team. I am looking at this API > https://github.com/ElementsProject/lightning-charge > > and have few questions: > > * Do i need to run bitcoin core node? > * I see invoice apis, I assume that the invoice is generated at the > merchant wallet app. How do i tie the merchant wallet to the invoice? > > * similarly how do i send coins from consumer wallet to the created invoice? > > Sorry I am very new to this and apologize my assumptions. > > Any help is highly appreciated. > _______________________________________________ > Lightning-dev mailing list > Lightning-dev at lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev