@giveth:anchor
Resolve a Giveth project slug to its anchor contract on the current chain — the receiver of recurring donations, streamed with the superfluid module. Anchor contracts exist on Optimism and Base only.
Returns: address
Syntax
Section titled “Syntax”@giveth:anchor(slug)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
slug | giveth-project | Giveth project slug |
Examples
Section titled “Examples”# Stream a monthly recurring donation to a project's anchor contractload superfluid
switch optimismsuperfluid:stream 100e18/mo GIVx to @giveth:anchor(evmcrispr)Recurring donations
Section titled “Recurring donations”Giveth's recurring donations are Superfluid streams paid into the project's
anchor contract, which exists on Optimism and Base for projects that enabled
them. Prefer giveth:donate-recurring,
which opens the stream and records it in Giveth's database — a bare
superfluid stream to the anchor (as above) moves the funds but never shows
up in project totals or GIVbacks, because nothing indexes the chain on its
own. This helper remains useful for reading the anchor address or for
advanced stream setups (operators, scheduled flows) that
donate-recurring doesn't cover.