Tool for Hive witnesses to automatically publish feed prices using @hiveio/wax and @hiveio/beekeeper.
🙏 Credits: This project is a fork of enrique89ve/hivefeedprice, originally created by @enrique89ve. Thank you for building such a great tool for the Hive witness community!
This fork adds several improvements to make the tool even easier to use:
- 🧙 Interactive Setup Wizard - No more manual
.envediting! The install process now guides you through configuration step-by-step - ⏰ 6-Hour Interval Option - Added support for
6hourfeed publishing interval for witnesses who prefer minimal updates - 🔧
./run.sh setupCommand - Reconfigure your settings anytime with the interactive wizard - 📝 Better Documentation - Improved README and help text
git clone https://github.com/menobass/hivefeedprice.git
cd hivefeedprice
./run.sh install # Install Node.js, pnpm, dependencies AND run interactive setup
./run.sh start # Start the applicationThe install command now includes an interactive setup wizard that will guide you through configuring your witness account, private key, and feed interval - no manual .env editing required!
./run.sh install # Install complete environment + interactive setup
./run.sh setup # Run interactive configuration wizard (reconfigure anytime)
./run.sh start # Start application
./run.sh stop # Stop application
./run.sh restart # Restart application
./run.sh logs # View real-time logs
./run.sh status # Show status
./run.sh clean # Clean logs and PID files
./run.sh clean-wallet # Remove Beekeeper wallet (when changing signing key)If you need to change HIVE_SIGNING_PRIVATE_KEY in your .env file:
./run.sh stop # Stop the application
./run.sh setup # Run setup wizard (or manually edit .env)
./run.sh clean-wallet # Remove old wallet
./run.sh start # Start with new keyMinimum runtime versions:
- Node.js: >= 20 (recommended 22; the installer will use NVM and set 22 by default)
- pnpm: managed via Corepack (installed/enabled automatically)
The easiest way is to run ./run.sh setup which will create the .env file for you interactively.
Alternatively, you can start from .env.example:
cp .env.example .env
# then edit .env with your account and keyHIVE_WITNESS_ACCOUNT=your-witness-account
HIVE_SIGNING_PRIVATE_KEY=5J7cSr3Yv4nKwYour1PrivateKey2Here3...
FEED_INTERVAL=10min # 3min, 10min, 30min, 1hour, 6hour
HIVE_RPC_NODES=https://api.hive.blog,https://api.deathwing.me- Binance, Bitget, Huobi, MEXC, Probit
- Configurable in
src/providers/static-providers.ts
pnpm dev # Development with hot reload
pnpm build # Compile TypeScript
pnpm test # Run tests
pnpm lint # Linter
pnpm typecheck # Type checking- ✅ Interactive setup wizard - Configure everything without editing files
- ✅ Automatic installation with NVM and Node.js (targets 22; works with >= 20)
- ✅ Flexible intervals - 3min, 10min, 30min, 1hour, or 6hour
- ✅ 100% TypeScript with strict types
- ✅ Path mapping
@/*tosrc/* - ✅ Secure key management with @hiveio/beekeeper
- ✅ Multi-exchange with configurable weights
- ✅ Retry logic and error handling
- ✅ Background process with nohup
- Private keys handled with @hiveio/beekeeper (encrypted)
- Environment variables with Node.js native support (.env)
- Temporary in-memory wallets for maximum security
MIT License - See LICENSE for details.
- Original Repository: enrique89ve/hivefeedprice
- This Fork: menobass/hivefeedprice