Skip to content

automatically open channels to deezy, push sats through, and earn

Notifications You must be signed in to change notification settings

jtymoszczuk/deezy-auto-earn

 
 

Repository files navigation

deezy-auto-earn

Automatically opens a channel to deezy, push sats through, and earn.

This is my first fork. I made some changes to the config.json and the index.js. The changes reflect the feature request I submitted here dannydeezy#12 (comment).

setup

git clone https://github.com/jtymoszczuk/deezy-auto-earn.git
cd deezy-auto-earn
cp sample-config.json config.json
# edit config.json with your custom values
npm i

run once

node index.js

run continously (recommended)

it is recommended to run this as a systemd service.

note you may want to make the following edits to the deezy-auto-earn-example.service file:

  • change username from ubuntu to your user
  • update RestartSec to your desired interval, which will determine how frequently the script runs
sudo cp deezy-auto-earn-example.service /etc/systemd/system/deezy-auto-earn.service
sudo systemctl enable deezy-auto-earn.service
sudo systemctl start deezy-auto-earn

note, doing enable means it will always start up when your machine restarts

to follow the logs:

journalctl -fu deezy-auto-earn -n 100

to stop the service:

sudo systemctl stop deezy-auto-earn

to restart the service:

sudo systemctl restart deezy-auto-earn

About

automatically open channels to deezy, push sats through, and earn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.8%
  • Dockerfile 2.2%
  • Shell 1.0%