Skip to content
⚡️ LN terminal dashboard 📊
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
cli
cmd/lntop cli: init app Mar 15, 2019
config
docker
events
logging
network fix lnd: channel without ID Apr 13, 2019
pubsub pubsub: add more ticker Apr 15, 2019
ui fix cli, ui: add version Apr 16, 2019
vendor views: message.NewPrinter(language.English) Apr 4, 2019
.gitignore
.goreleaser.yml
LICENSE Initial commit Mar 15, 2019
README.md README: Compatibility Apr 16, 2019
doc.go add doc.go Apr 11, 2019
go.mod views: message.NewPrinter(language.English) Apr 4, 2019
go.sum

README.md

lntop

MIT licensed Go Report Card Godoc tippin.me

lntop is an interactive text-mode channels viewer for Unix systems.

lntop-v0.0.0 lntop-v0.0.0

Install

Require the go programming language (version >= 1.11)

git clone https://github.com/edouardparis/lntop.git
cd lntop && export GO111MODULE=on && go install -mod=vendor ./...

Config

First time lntop is used a config file .lntop/config.toml is created in the user home directory.

[logger]
type = "production"
dest = "/root/.lntop/lntop.log"

[network]
name = "lnd"
type = "lnd"
address = "//127.0.0.1:10009"
cert = "/root/.lnd/tls.cert"
macaroon = "/root/.lnd/data/chain/bitcoin/mainnet/admin.macaroon"
macaroon_timeout = 60
max_msg_recv_size = 52428800
conn_timeout = 1000000
pool_capacity = 3

Change macaroon path according to your network.

Docker

If you prefer to run lntop from a docker container:

cd docker

# now you should review ./lntop/home/initial-config.toml
# if you have an existing .lntop directory, you can export it
# export LNTOP_HOME=~/.lntop
# ! change path to files in .lntop/config with user current directory /root !

# point LND_HOME to your actual lnd directory
# we recommend using .envrc with direnv
export LND_HOME=~/.lnd

# build the container
./build.sh

# run lntop from the container
./lntop.sh

# lntop data will be mapped to host folder at ./_volumes/lntop-data

To see lntop logs, you can tail them in another terminal session via:

./logs.sh -f

To start from scratch:

./clean.sh
./build.sh --no-cache

Compatibility

lntop lightningnetwork/lnd
v0.0.1 v0.5.1
You can’t perform that action at this time.