boltz_lnd

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2020 License: MIT Imports: 11 Imported by: 0

README

Boltz LND

This repository contains a Boltz client for LND. It supports Normal Submarine Swaps (from onchain to Lightning coins) and Reverse ones (from Lightning to onchain coins).

TODO: channel creations

boltzd

boltzd is a daemon that should run alongside of your LND node. It connects to your LND node, and the Boltz API to create and execute Swaps.

The LND node to which the daemon connects to, has to be version v0.10.0-beta or higher. Also, LND needs to be compiled with these build flags (binaries from the official Lightning Labs releases include them):

  • invoicerpc (hold invoices)
  • routerrpc (multi path payments)
  • chainrpc (block listener)
  • walletrpc (fee estimations)

The daemon can be configured with CLI parameters, or a config file. A sample config file can be found below.

[Boltz]
url = "<URL to the Boltz API>"

[LND]
# Host of the LND gRPC interface
host = "127.0.0.1"
# Port of the LND gRPC interface
port = 10009
# Path to the admin macaroon of LND
macaroon = ""
# Path to the gRPC certificate of LND
certificate = ""

boltz-cli

boltz-cli is a cli tool to interact with the gRPC interface boltzd exposes.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig() *config

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL