lnd-desk is a cross-platform desktop application for managing and interacting with a Lightning Network Daemon (LND), built using the Wails framework and written in Go. This application supports Linux, macOS, and Windows, and provides a user-friendly interface to perform LND operations and monitor BTC node block synchronization.
- Paste LND configuration files: Quickly configure and launch an LND instance locally.
- Lightning Network support: Seamlessly integrates with Bevm-hub to use the Lightning Network.
- Lndcli support: Partial support for Lndcli operations, including:
create
: Create a new LND wallet.unlock
: Unlock an existing wallet.
- BTC node synchronization: Monitor the block synchronization status of the connected Bitcoin node.
- Cross-platform: Runs on Linux, macOS, and Windows.
Before you start developing lnd-desk
, ensure you have the following installed:
- Go: Version 1.19 or later is recommended.
- Wails Framework: Follow the instructions below to set up Wails.
-
Install Node.js and pnpm:
-
Install from the official Node.js website.
-
Install pnpm using npm:
npm install -g pnpm
-
-
Install Go:
- Follow the instructions on the official Go website.
-
Install the Wails CLI:
go install github.com/wailsapp/wails/v2/cmd/wails@latest
-
Verify the Wails CLI installation:
wails doctor
To build the application, clone the repository and run the build command with the required tags.
git clone https://github.com/btclayer2/lnd-desk.git
cd lnd-desk
Use the following command to build the application with all the necessary tags:
wails build -tags "autopilotrpc signrpc walletrpc chainrpc invoicesrpc neutrinorpc routerrpc watchtowerrpc monitoring peersrpc kvdb_postrgres kvdb_sqlite kvdb_etcd"
This will generate platform-specific binaries in the build/bin/ directory.
Download the release package for your platform from the Releases section.
- Since the app is not signed with a paid certificate, you need to allow installation of apps from “Unknown Developers”:
- Open System Preferences > Security & Privacy > General.
- If you see a message about lnd-desk, click Allow Anyway.
- You may encounter a SmartScreen warning. To bypass this:
- Click More Info.
- Click Run Anyway.
- Ensure the binary has execute permissions:
chmod +x ./lnd-desk
- Run the application:
./lnd-desk
If you don’t trust the release packages, you can clone the repository and build the app yourself (see Building the Application).
We welcome contributions to enhance lnd-desk. If you have feature requests, bug reports, or suggestions, please open an issue or create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or assistance, please open an issue in the repository.