下载脚本
wget https://raw.githubusercontent.com/woniu336/open_shell/main/wallet_monitor.py
安装依赖
pip3 install requests
后台运行
nohup python3 wallet_monitor.py > monitor.log 2>&1 &
查看进程:
ps aux | grep wallet_monitor
终止进程,假设PID是426197:
kill 426197
监控新的地址需要删除缓存
rm wallet_cache.json
然后修改脚本中的地址,重新运行脚本。