π¦ ClawHub
Crypto Watcher
by @0xraini
Monitor ETH wallets and DeFi positions across chains with alerts for balance changes, gas prices, health factors, and large token transfers.
TERMINAL
clawhub install crypto-watcherπ About This Skill
crypto-watcher
Monitor crypto wallets and DeFi positions. Get alerts when things change.
Features
Usage
Setup
# Add a wallet to watch
crypto-watcher add 0x1234...abcd --name "main" --chains eth,arb,baseConfigure alerts
crypto-watcher config --gas-alert 20 --balance-change 5%
Commands
# Check all positions
crypto-watcher statusCheck specific wallet
crypto-watcher status mainGas prices
crypto-watcher gasDeFi positions (via DefiLlama)
crypto-watcher defi 0x1234...abcd
Heartbeat Integration
Add to HEARTBEAT.md:
### Crypto Check
Run crypto-watcher status --quiet
Alert if any position health < 1.5 or balance dropped > 10%
Check gas, alert if < 15 gwei (good time for L1 txs)
Config
~/.config/crypto-watcher/config.json:
{
"wallets": [
{
"address": "0x...",
"name": "main",
"chains": ["eth", "arb", "base"]
}
],
"alerts": {
"gasThreshold": 20,
"balanceChangePercent": 5,
"healthFactorMin": 1.5
}
}
Data Sources
Chains Supported
| Chain | ID | RPC | |-------|-----|-----| | Ethereum | eth | https://eth.llamarpc.com | | Arbitrum | arb | https://arb1.arbitrum.io/rpc | | Base | base | https://mainnet.base.org | | Optimism | op | https://mainnet.optimism.io | | Polygon | matic | https://polygon-rpc.com |
π‘ Examples
Setup
# Add a wallet to watch
crypto-watcher add 0x1234...abcd --name "main" --chains eth,arb,baseConfigure alerts
crypto-watcher config --gas-alert 20 --balance-change 5%
Commands
# Check all positions
crypto-watcher statusCheck specific wallet
crypto-watcher status mainGas prices
crypto-watcher gasDeFi positions (via DefiLlama)
crypto-watcher defi 0x1234...abcd
Heartbeat Integration
Add to HEARTBEAT.md:
### Crypto Check
Run crypto-watcher status --quiet
Alert if any position health < 1.5 or balance dropped > 10%
Check gas, alert if < 15 gwei (good time for L1 txs)
βοΈ Configuration
~/.config/crypto-watcher/config.json:
{
"wallets": [
{
"address": "0x...",
"name": "main",
"chains": ["eth", "arb", "base"]
}
],
"alerts": {
"gasThreshold": 20,
"balanceChangePercent": 5,
"healthFactorMin": 1.5
}
}