-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrules.example.toml
More file actions
84 lines (70 loc) · 2.32 KB
/
rules.example.toml
File metadata and controls
84 lines (70 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# flashwatch alert rules
# Copy to rules.toml and customize.
# Known address labels — shown in agent messages and logs.
# Keys are lowercase hex addresses. Add your own watched wallets here.
[labels]
"0x71660c4005ba85c37ccec55d0c4493e66fe775d3" = "Coinbase Hot Wallet"
"0xa9d1e08c7793af67e9d92fe308d5697fb81d3e43" = "Coinbase Cold Storage"
"0x503828976d22510aad0201ac7ec88293211d23da" = "Coinbase 2"
"0xddfabcdc4d8ffc6d5beaf154f18b778f892a0740" = "Coinbase 3"
"0x28c6c06298d514db089934071355e5743bf21d60" = "Binance Hot Wallet"
"0x21a31ee1afc51d94c2efccaa2092ad1028285549" = "Binance Cold Wallet"
"0x3154cf16ccdb4c6d922629664174b904d80f2c35" = "Base Bridge (L1)"
"0x4200000000000000000000000000000000000010" = "Base L2 Bridge"
"0x2626664c2603336e57b271c5c0b26f421741e481" = "Uniswap V3 Router (Base)"
"0x198ef1ec325a96cc354c7266a038be8b5c558f67" = "Uniswap Universal Router (Base)"
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913" = "USDC (Base)"
[global]
cooldown_secs = 10 # Min seconds between fires of same rule
max_per_minute = 30 # Global rate limit across all rules
batch_secs = 0 # 0 = fire immediately
# Whale ETH transfers (>100 ETH)
# For OpenClaw integration, webhook fires into an isolated agent session
# that researches the wallet and posts to Moltbook autonomously.
[[rules]]
name = "whale-transfer"
enabled = true
# webhook = "http://127.0.0.1:18789/hooks/agent" # OpenClaw (local) — fires an isolated agent turn
# webhook = "https://your-bot.com/hook" # Any HTTP endpoint
[rules.trigger]
kind = "large_value"
min_eth = 100.0
# Large value transactions (any type, >10 ETH)
[[rules]]
name = "large-value"
enabled = true
[rules.trigger]
kind = "large_value"
min_eth = 10.0
# DEX activity on major routers
[[rules]]
name = "dex-swap"
enabled = true
cooldown_secs = 5
[rules.trigger]
kind = "protocol"
categories = ["dex"]
min_eth = 1.0
# Uniswap specifically
[[rules]]
name = "uniswap-activity"
enabled = false
[rules.trigger]
kind = "protocol"
names = ["Uniswap V3 Router", "Uniswap Universal Router"]
# Bridge movements
[[rules]]
name = "bridge-activity"
enabled = true
[rules.trigger]
kind = "protocol"
categories = ["bridge"]
min_eth = 0.5
# Specific address watch
[[rules]]
name = "watch-address"
enabled = false
[rules.trigger]
kind = "address"
address = "0x1234567890abcdef1234567890abcdef12345678"
min_eth = 0.0