Lnd: Create a WalletController implementation for Bitcoin Core

Created on 26 Aug 2016  路  6Comments  路  Source: lightningnetwork/lnd

Within the daemon there exists an base-wallet interface called the WalletController which the LightningWallet uses in a composite manner to create a fully-fledged Lightning enabled wallet. The interface itself is rather minimal and should be able to accommodate easily dropping in an alternative wallet into the daemon.

The current, and only (at the time of writing this issue) concrete implementation of the WalletController is BtcWallet which is implemented by an embedded instance of btcwallet. Due to the current architecture of btcwallet an active btcd instance is required for the wallet to function correctly.

Due to popularity, a WalletController interface implementation for Bitcoin Core's wallet should be added. The implementation of the interface should be possible entirely over Bitcion Core's RPC interface. btcrpcclient is capable of connecting to Bitcoin Core instances and should be sufficient in helping to implement the interface. A simple layer of persistent storage within the WalletController implementation may be required in order to fully implement all the features of the interface.

This issue is dependent on #17 as the PR implements the necessary refactoring within the daemon to allow dropping in multiple/alternative wallets.

brainstorming enhancement intermediate wallet

Most helpful comment

Please make lnd usable with bitcoind as a backend. This will greatly increase your user base.

All 6 comments

Please make lnd usable with bitcoind as a backend. This will greatly increase your user base.

Does anyone work on this issue? If not, I'll try.

Sorry the assignment isn't updated, but I'm working on this issue. Thanks!

any update on this @aakselrod ?

would like to test lnd with bitcoin-core.

@gituser Awesome, you can help test following these instructions: https://gist.github.com/aakselrod/5644b9319041a796ba6ffca28062376e

Closed by #447.

Was this page helpful?
0 / 5 - 0 ratings