.derupt-ext

Developers can extend the functionality of Derupt by creating Extensions for user to use.

More Details Coming Soon

(sample extensions coming soon)

Extension Metadata looks like:

{
  "name": "ExtensionName",
  "description": "A Derupt Extension Description",
  "image": "https://cdn.derupt.io/extensions/ExtensionLogo.png"
}

Extension Metadata can be updated via calling update-metadata

(everything lives on chain except image file)

Extension argument ext must follow the.derupt-ext-trait function schema

Extension execution is done per the exec-ext-func function, which takes extras as an argument. Extension(s) contract calls are made in the .derupt-core-yyyymmdd.

Users can have only 1 extension enabled, per key function call. eg..

  • can have 1 ext allowed in gift-message

  • can have 1 ext allowed in send-message

  • can have 1 ext allowed in like-message

  • can have 1 ext allowed in dislike-message

  • can have 1 ext allowed in favorable-reply-message

  • can have 1 ext allowed in unfavorable-reply-message

(note: users can change the enabled extension over time)

Last updated