Skip to content

About App Registry

Miao ZhiCheng edited this page Jul 17, 2023 · 15 revisions

Super apps compose agreements and business logic together.

A contracts may opt-in being a super app through the app registry provided by the host contract.

There are different ways of having app registered:

  • [deprecated] registerApp, same as registerAppWithKey with an empty key.
  • registerAppWithKey, and usually the key also has an expiration date.
  • registerAppByFactory, a factory contract whitelisted by the governance that has unlimited quota to create new apps.

In a host contract deployment where APP_WHITE_LISTING_ENABLED is set to true, you will need to provide an non-empty key, or have your app factory whitelisted by the governance.

More example of how to use them can be found in https://docs.superfluid.finance/superfluid/developers/developer-guides/super-apps/super-app.

Note on whitelisting:

  • It is enabled on mainnets, but we intend to remove it as soon as possible.
Clone this wiki locally