The alternative interface to interact with this Tari Network Reward Contract is using the nostr social network as input/output interface, in this case a RSPL-like interface is served.

The documentation for the RPSL commands mentioned earlier, adapted for the alternative input interface using Nostr social network:

New Task:

Command: Task Type: NEW

Parameters:

Task Subject: The topic or subject of the task (text)

Task Description: Detailed description of the task (text)

Task Time Limit in Months: The time limit in months for completing the task (number)

Bounty Start Value (XMR): The initial reward value in XMR (value)

Bounty TXID (Tari/Monero): The TXID (transaction hash) of the Tari/Monero transaction (tx-hash)

Bounty Escrow Account: The hash of the escrow account for the bounty (address-hash)

Outputs:

Task Registered under TaskID: The unique identifier assigned to the newly registered task (number)

Task Supporter:

Command: Task Type: Support

Parameters:

Task ID: The ID of the task to which the supporter wants to add a reward (number)

Bounty Add Value (XMR): The additional reward value in XMR (value)

Bounty TXID (Tari/Monero): The TXID (transaction hash) of the Tari/Monero transaction (tx-hash)

Bounty Escrow Account: The hash of the escrow account for the bounty (address-hash)

Outputs:

Task [TaskID] increased reward to [value] XMR total supporters [number]. New supporter: [supporterID]:[taskID]

Execution Candidate:

Command: Task Type: Candidate

Parameters:

Task ID: The ID of the task for which the candidate claims completion (number)

Candidate Proof URI: The URI (URL) providing proof of completion (URI)

Candidate Wallet: The candidate's wallet address (address)

Candidate Notes: Additional notes or comments from the candidate (text)

Outputs:

CandidateID [CandidateID:[TaskID]] registered. Supporters may now vote to accept or reject

Candidate Approval/Rejection:

Command: Task Type: CandidateApproval

Parameters:

CandidateID: The ID of the candidate along with the associated task ID (number:taskID)

Arbitration: The decision regarding the candidate's claim ("Approved" or "Rejected")

Outputs:

Candidate [CandidateID]:[TaskID] is "Approved" by supporter [supporterID]. Reward of [value] sent to supporter [SupporterID] due to Task [TaskID] approval.

Candidate [CandidateID]:[TaskID] is "Rejected" by supporter [supporterID]. No reward sent. Remaining bounty: [value]

Task List:

Command: Task Type: ListTasks

Outputs:

The list of available tasks with the following details:

TaskID / Subject / Total Value / Supporters Count

Task Details:

Command: Task Type: getTaskDetails

Parameters:

Task ID: The ID of the task for which detailed information is requested (number)

Outputs:

Detailed information about the task, including:

TaskID / Subject / Description / Total Value / Supporters Count / Time Limit / Escrow Account / Accepted Count / Rejected Count

Reply to this note

Please Login to reply.

Discussion

No replies yet.