Skip to content

About App Registry

Didi edited this page Oct 23, 2023 · 15 revisions

In order to activate a Super App, it needs to be registered in the host contract.
Only after this registration will its business logic be invoked via agreement hooks.

Registration is done by invoking the method registerApp of the host contract.

If the Super App registers itself, it can invoke registerApp(configWord). This will register the msg.sender as a Super App.
Alternatively, registration can be done by another account (e.g. an EOA) on behalf of the Super App, using registerApp(app, configWord).

Important: if you're registering a Super App on a network where Super App registration is permissioned, there's a few more constraints to be considered. Head over to Super App White listing Guide in order to learn how to find out if that's the case, and how to do it.

Clone this wiki locally