5.5.2 Algorand

This section describes an experimental feature of Reach.

The Algorand Reach connector generates a set of contracts that manage one instance of the DApp’s execution. It relies on the "Application" feature of the Algorand network. It uses two words of on-chain state in two application keys.

The connector provides a binding named ALGO to backends.

During compilation, the connector produces two intermediate outputs corresponding to each of these fields: "input.export.app.teal", containing the TEAL code implementing the contract as an "Application"-mode contract, as well as "input.export.lsp.teal", containing the TEAL code implementing a portion of the contract as a logic signature program.

It is not guaranteed to produce contracts that obey the size or cost limits of the Algorand network, nor does it produce any warning when it violates these limits.