Skip to content


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?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Habibitcoin / Rebalancing Tool

This application is a tool to automate liquidity operations to earn fees from Huge shoutout to @dannydiekroeger! operates a service where if you open a channel to Deezy, and move liquidity to Deezy's side, he'll pay you ~1000 ppm (variable) when you close your channel. Read more at

At a high level, this application automates the following flow in an endless loop:

  1. Checking if we have enough onchain funds to open a channel with Deezy
  2. Continuously attempting liquidity operations
  3. Closing our channel with Deezy once our local balance is exhausted

The application utilizes the LND REST API, and Chrome Driver to automate Kraken's Lightning Functionality (their API does not support lightning yet)


You will need:

  • an LND node that you have REST access to
  • an account with Kraken OR Strike (get $5 signup bonus to Strike if you use my referral code
  • (in the future, will be adding NiceHash and others)


Easy Setup: download one of the binaries, run the file, and visit localhost:1323 to get started! Watch the video below. Mirror at Watch the video

Advanced Setup: If you've never used golang before, you'll want to install Go 1.19, then download this project, open the habibitcoin directory and run go run server.go

What It Looks Like

Once you get running, you can update/save your configurations, and hit "Start Earning" when you are ready to start.