AutoCompounder
Auto compound script for DefireX pools
Install / Use
/learn @DeFireX/AutoCompounderREADME
Installation
-
Install Node.js (nodejs.org)
We recommend to use Ubuntu and install nodejs via package manager.
Node.js v12.x:
# Using Ubuntu curl -fsSL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt-get install -y nodejs # Using Debian, as root curl -fsSL https://deb.nodesource.com/setup_12.x | bash - apt-get install -y nodejs -
Run npm install in project directory
npm i -
Create .env file (nano ./.env) and add required information
USER_ADDRESS= USER_PK= WITH_PROFIT_ONLY=1USER_ADDRESS is a wallet address like 0xc8F595E2084DB484f8A80109101D58625223b7C9
USER_PK is a private key for USER_ADDRESS, private key is required to automated sending transactions
WITH_PROFIT_ONLY indicates that we send trx only when user has a profit
Make sure you have some BNB on your USER_ADDRESS balance (not less than 0.03 BNB).
Don't use you main wallet, just create empty one and send some BNB.
-
Run the script, check it runs properly without any errors
node ./index.js -
Install pm2 process manager
npm i pm2 -g -
Add script to pm2 to loop the process
pm2 start ./index.js --name DefireXAutoCompounderYou may check the logs via
pm2 logsStop the script
pm2 stop DefireXAutoCompounderor
pm2 stop 0 -
Enable to restart script on server reboot
pm2 save pm2 startup
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
