# strategy · FT4 Rell API · Chromia Docs (concept)

> @extendable function strategy(): map<text, _strategy > Returns a map of all possible strategies used to register accounts on this chain.
Can be extended to

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/strategy/

FUNCTION

# strategy

```signature
@extendable function strategy(): map<text, _strategy>
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/accounts/strategies/module.rell#lines-68)

Returns a map of all possible strategies used to register accounts on this chain.
Can be extended to add custom strategies and make them work seamlessly with the existing
`register_account` framework.

The map pairs up a strategy operation mount name and the `_strategy` struct representing it.
The name must be the mount name of `_strategy.op`

To avoid misconfiguring strategies, it is strongly recommended to add extensions to this
function using `add_strategy`.

Throws if any extension of this function throws.

**See Also**

* [add\_strategy](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/add_strategy/) — for example usage.

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.accounts.strategies/strategy.html)Generated API reference, mirrored from the live docs
