Building
Ports and types
Six port types, one shape each. Only matching types snap.
| Type | Shape | Carries |
|---|---|---|
money | circle | An amount of one asset (hSOL, SOL, USDC or any SPL mint), in base units. |
person | diamond | A Solana wallet address: the visitor, the owner, a recipient or an auditor. |
list | square | Rows of person and amount, up to 15 per private transfer proof. |
event | triangle | Control flow: the moment the previous step finished. Every flow starts at a trigger. |
number | hexagon | A plain number, such as a count or a percentage. |
text | bar | A string: a form value, a mint, a memo, a receipt or a viewing key. |
Rules
- A wire runs from an output on the right of a block to an input on the left of another.
- Both ends must have the same type. A wrong drop bounces back with the reason, for example: text cannot plug into person.
- An input takes one wire, unless it is a list input marked many (the fields of a form).
- No loops: a flow runs one way, from its trigger to its last screen.
- Drop a wire on empty canvas to get the list of blocks that fit that port. Move a block near a free port and it snaps by itself.