You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lntop/README.md

52 lines
1.6 KiB
Markdown

5 years ago
# lntop
5 years ago
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/edouardparis/lntop/blob/master/LICENSE)
5 years ago
[![Go Report Card](https://goreportcard.com/badge/github.com/edouardparis/lntop)](https://goreportcard.com/report/github.com/edouardparis/lntop)
5 years ago
[![Godoc](https://godoc.org/github.com/edouardparis/lntop?status.svg)](https://godoc.org/github.com/edouardparis/lntop)
5 years ago
[![tippin.me](https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@edouardparis/F0918E)](https://tippin.me/@edouardparis)
5 years ago
`lntop` is an interactive text-mode channels viewer for Unix systems.
5 years ago
![lntop-v0.0.0](http://paris.iiens.net/lntop-v0.0.0.png?)
5 years ago
*lntop-v0.0.0*
5 years ago
5 years ago
## Install
5 years ago
Require the [go programming language](https://golang.org/) (version >= 1.11)
5 years ago
```
git clone https://github.com/edouardparis/lntop.git
cd lntop && export GO111MODULE=on && go install -mod=vendor ./...
5 years ago
```
## Config
First time `lntop` is used a config file `.lntop/config.toml` is created
in the user home directory.
```toml
[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` and follow [`README`](docker/README.md) there.
## Compatibility
| lntop | lightningnetwork/lnd |
|--------|----------------------|
| v0.0.1 | v0.5.1 |