.derupt-profile

Derupt users need their own .derupt-profile contract on Stacks Mainnet. (deployed & activated in app)

General:

  • A distinct .derupt-profile contract should be deployed and activated per user.

  • .derupt-profile contract calls the .derupt-core-yyyymmdd contract for application logic purposes

Warning:

  • users should deploy a .derupt-profilecontract in app to interact with 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 a users .derupt-profile 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-sentiments

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-sentiments (&.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-sentiments &.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-sentiments &.derupt-miners &.derupt-stackers)

Arguments:

  • ...

Responses:

  • Successful Stacks Transaction

  • Unsuccessful Stacks Transaction

Last updated