Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.
/ channel.ninja Public archive

Get recommended channel recommendations for your lightning node.

Notifications You must be signed in to change notification settings

channelninja/channel.ninja

Repository files navigation

channel.ninja Logo

channel.ninja

channel.ninja is a tool to recommend channel partners for your lightning node.

channel.ninja is gone

I don't have the time and energy right now to keep maintaining this side project. If you found it useful and run your own LND node, just clone it and run it yourself :)

Installation

$ yarn

Environment variables

$ cp .env.example .env

Create a macaroon with the necessary permissions:

$ lncli bakemacaroon \
address:write \
invoices:write \
invoices:read \
info:read \
--save_to=~/.lnd/data/chain/bitcoin/mainnet/channel-ninja.macaroon

$ base64 -i ~/.lnd/data/chain/bitcoin/mainnet/channel-ninja.macaroon

Add your base64 encoded channel-ninja.macaroon to .env.

Change the rest of the .env file according to your needs.

Running the app

# development
$ yarn start:dev

# production mode
$ yarn build
$ yarn start:prod

Contributing

Please use Conventional Commits. Commit messages will be linted and rejected if they don't follow the convention.

To help with commit messages use:

$ yarn commit