.derupt-core-yyyymmdd

Users call their own .derupt-profile which then calls .derupt-core-yyyymmdd

The core maybe require or receive upgrades/updates from time to time, for that we follow a simple date based naming convention to track versions.

General:

  • .derupt-core-yyyymmdd contract is for handling public message & action logic.

  • .derupt-core-yyyymmdd contract receives calls from .derupt-profile contracts and proceeds to process them accordingly.

Warning:

  • users should deploy a .derupt-profilecontract in app before using core features.

  • users should call.derupt-profile

  • users should not call.derupt-core-yyyymmdd (nor logging contracts)

  • users should only enable 1 extension per 1 key function at a time (eg up to 6 active extensions at a time)

Key Functions Process Transactions Overview:

What happens in a process depends on the function the user is calling.

  • gift-message: transfer of a variable sip-010 token is called during this process.

  • send-message: mine cryptocash is called during this process.

  • like-message: transfer cryptocash is called during this process.

  • dislike-message: stack cryptocash is called during this process.

  • favorable-reply-message: mine & transfer cryptocash is called during this process.

  • unfavorable-reply-message: mine & stack cryptocash is called during this process.

The 6 key functions and arguments in the .derupt-core-yyyymmdd contract:

gift-message

Broadcast Send Message to the Stacks Blockchain

Data Flow of the Function: 1).derupt-profile 2).derupt-core-yyyymmdd (&.derupt-ext if defined) 3).derupt-gifts

Arguments:

  • ...

Responses:

  • Successful Stacks Transaction

  • Unsuccessful Stacks Transaction

send-message

Broadcast Send Message to the Stacks Blockchain

Data Flow of the Function: 1).derupt-profile 2).derupt-core-yyyymmdd (&.derupt-ext if defined) 3).derupt-feed (&.derupt-miners)

Arguments:

  • ...

Responses:

  • Successful Stacks Transaction

  • Unsuccessful Stacks Transaction

like-message

Broadcast Like Message to Stacks Blockchain

Data Flow of the Function: 1) .derupt-profile 2) .derupt-core-yyyymmdd (&.derupt-ext if defined) 3) .derupt-sentiment

Arguments:

  • ...

Responses:

  • Successful Stacks Transaction

  • Unsuccessful Stacks Transaction

dislike-message

Broadcast Dislike Message to Stacks Blockchain

Data Flow of the Function: 1) .derupt-profile 2) .derupt-core-yyyymmdd (&.derupt-ext if defined) 3) .derupt-sentiment (&.derupt-stackers)

Arguments:

  • ...

Responses:

  • Successful Stacks Transaction

  • Unsuccessful Stacks Transaction

favorable-reply-message

Broadcast Favorable Reply Message to Stacks Blockchain

Data Flow of the Function: 1) .derupt-profile 2) .derupt-core-yyyymmdd (&.derupt-ext if defined) 3) .derupt-feed (&.derupt-sentiment &.derupt-miners)

Arguments:

  • ...

Responses:

  • Successful Stacks Transaction

  • Unsuccessful Stacks Transaction

unfavorable-reply-message

Broadcast Unfavorable Reply Message to Stacks Blockchain

Data Flow of the Function: 1) .derupt-profile 2) .derupt-core-yyyymmdd (&.derupt-ext if defined) 3) .derupt-feed (&.derupt-sentiment &.derupt-miners &.derupt-stackers)

Arguments:

  • ...

Responses:

  • Successful Stacks Transaction

  • Unsuccessful Stacks Transaction

Last updated