Skip to main content

Strategy flow

The canvas is where a strategy is built. Drag from the palette, or click a node to drop it. The palette is the only place nodes come from. Empty canvas means no watch. A busy canvas with draft nodes is also no watch — configure until the condition is not a draft, then connect it.

Palette​

GroupNodes
TriggersCondition
LogicIF, THEN, ELSE, AND, OR, NOT
ActionsAction

Triggers watch the chain. Logic combines or branches those watches. Actions send. You need a trigger and an action. Logic is optional until the watch is more than a straight line. The first session is condition → action. Add a tree (IF, AND, OR, NOT, ELSE) only when silence on the true path is not enough, or when two facts must be true together.

Condition​

A condition watches one thing on the chain:

  • a contract function
  • an event
  • a transfer (a plain transaction)

Open the node to set chain, contract or addresses, and the value rules that make it fire. A node stays a draft until it is configured. Without a configured condition, the strategy has nothing to watch — the rest of the canvas never runs.

Use more than one condition when the watch is “this and that,” or “this or that.” Connect them with AND or OR, not by hoping two unconnected conditions share a strategy. Unconnected nodes on one canvas are two questions you never asked together.

Insight does not fill this node for you. You still name the address. See From Insight to Monitoring.

IF, THEN, and ELSE​

IF branches on a condition or on a gate.

IFTHENELSE
  • THEN is the true path (blue edge).
  • ELSE is the false path (red edge).

Connect the IF then handle to what should run when the condition is true. Connect the IF else handle to what should run when it is false. ELSE is a live branch, the same as THEN. Use ELSE when silence on the true path is not enough — you still want an action when the condition misses (for example “tell me if it did fire, and tell me on a different channel if it did not”).

An IF with THEN wired and ELSE empty will not notify you on the miss. That is not a bug. That is an unwired handle.

AND, OR, NOT​

  • AND fires only when both inputs match.
  • OR fires when either input matches.
  • NOT inverts its input.

Connect handles from a condition or another gate. Drag from a handle to the next node. Use NOT when you care that something did not happen — for example a transfer that is not from a given address, or an event that did not include a value you set.

AND and OR need two inputs. NOT needs one. If a gate is sitting with an empty handle, the strategy is still a draft at that node. AND that never sees the second input will never fire. That shows up as empty history and a trader blaming credits. Check the handles.

THEN bridge​

THEN also exists as a bridge node: it connects the output of one IF expression to the input of another IF, so you can nest conditions. Use the bridge when the second IF should only be asked after the first IF already went THEN (or ELSE). Without the bridge, two IFs on the canvas are two separate questions, not a nested one.

Action​

An action sends the alert on a channel: Telegram, Discord, Slack, or a webhook. The message can carry the hash, who sent it, and the value. Those fields are what you will actually read in thirty seconds. Include hash. Include sender if the watch is about who moved.

Pick the channel on the action, not on the condition. One action, one channel. If you need two destinations, use two actions.

A complete strategy has at least one configured condition, the logic you need (including NOT or ELSE when the path requires them), and one action. Save. Deactivate before you edit a live one. Activate when the desk should run.