Skip to content

1 #1

Description

@ForestCoin

MEME Price Monitor

7x24 自动监控 MEME 代币涨幅,超过阈值自动发邮件通知。

设置步骤

1. 创建 GitHub 仓库

  • 登录 GitHub,创建一个新的 Private 仓库(例如 meme-monitor
  • 将本文件夹的所有文件推送到仓库

2. 设置 Secrets

在仓库页面 → Settings → Secrets and variables → Actions → New repository secret,添加:

Secret 名称
EMAILJS_SERVICE_ID service_pbyzn76
EMAILJS_TEMPLATE_ID template_83rwo5c
EMAILJS_PUBLIC_KEY gFqaUqHqCqYzn6B4N

3. 编辑 tokens.json 添加你要监控的代币

{
  "monitor": {
    "thresholds": [100, 200, 300],
    "email": "974299015@qq.com"
  },
  "tokens": [
    {
      "name": "FREEDOM",
      "chain": "sol",
      "address": "9jNLLxoBuXBmyPYxgRtAXAKqagRia3LxUv2j73gVQs7X...",
      "enabled": true
    },
    {
      "name": "FREEDOM",
      "chain": "bsc",
      "address": "0x72f033e62a316c2f545956311d0ec6c8f00d4444",
      "enabled": true
    }
  ]
}
  • chain: 填 sol / bsc / base
  • enabled: 设为 false 可暂停监控该代币
  • thresholds: 触发报警的涨幅百分比,会从高到低匹配

4. 启用 Actions

  • 推送代码后,进入仓库 → Actions 标签 → 启用 workflows
  • 每 5 分钟自动运行一次
  • 也可以手动点击 "Run workflow" 立即测试

报警规则

  • 24h 涨幅超过 100% / 200% / 300% 时触发邮件
  • 同一代币同一阈值每天只报警一次(次日自动重置)
  • 邮件发送到 974299015@qq.com

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions