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

channelninja/channel.ninja

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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