BlueWallet, a bitcoin wallet focused on usability and user experience, has announced its new mobile Lightning Network implementation based on the Lightning Dev Kit (LDK).
The rn-ldk implementation brings an open-source lightweight Lightning node to Reactive Native, a popular programming language for developing mobile applications. It is powered by LDK, a flexible Lightning implementation written in the Rust programming language.
One feature BlueWallet will provide its users with the new integration, which is demonstrated in the announcement, is the ability to open and fund a Lightning channel from their mobile phones directly from an offline, air-gapped hardware wallet — leveraging Partially Signed Bitcoin Transactions (PSBTs).
Another feature relates to backing up Lightning channels managed by the wallet. The company shared that encrypted backups can be stored in the cloud, allowing the user to more quickly restore their Lightning wallet and all of its channels on another device through a mnemonic backup phrase.
The go-to server infrastructure utilized by BlueWallet’s new implementation is Electrum, which it uses to quickly synchronize with the Bitcoin blockchain. Although Electrum is a reasonably popular and established solution, this process leaks user addresses to the Electrum server bridging the user’s mobile wallet with the Bitcoin peer-to-peer network. As a result, it effectively hurts user privacy and sovereignty as a third party would be in charge of validating transactions.
However, BlueWallet does give the user the option to use their own server, a typical setup in which they configure their own Electrum Personal Server (EPS). This works by having a Bitcoin node running on the user’s computer and a local EPS bridging it with a remote wallet such as BlueWallet. In such an arrangement, the user’s own full node would validate and broadcast their transactions while preserving their privacy and ensuring adherence to Bitcoin consensus rules.
But part of these Lightning Network benefits can be compromised if the user opts to utilize a custodial wallet, where the company would be in charge of handling the user’s funds, transactions and information. Only if the user chooses to use their own node to validate and broadcast transactions, such as using BlueWallet rn-ldk with an EPS, would they be better positioned to ensure individual sovereignty and privacy and adherence to Bitcoin consensus as an actual peer.