Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: AI game puzzle #7

Open
chauanhtuan185 opened this issue Dec 26, 2024 · 1 comment
Open

Proposal: AI game puzzle #7

chauanhtuan185 opened this issue Dec 26, 2024 · 1 comment
Assignees
Labels
approved approve proposal to proceed

Comments

@chauanhtuan185
Copy link

Description

  1. Generate and Share pHash :
  • The system generates a pHash using the formula: pHash = Hash(prompt).
  • Along with the pHash a transaction is prepared and sent to the smart contract
  1. Challenge Submission:

    The user calls the smart contract function challenge with the following parameters

    • pHash: The unique hash for the challenge.
    • amountDOT: The amount of DOT paid as a challenge fee.
  2. Fee Distribution Logic

    The smart contract processes the amountDOT fee as follows:

       70% of the fee is transferred to a prize pool wallet designated for the challenge winner.
       30% of the fee is used to zap into an AIToken-DOT liquidity pool to strengthen token utility.
    
  3. Reward Allocation
    Upon completing the challenge or contest, the winner is determined, and rewards are distributed from the prize pool wallet based on the challenge outcome.

@zxstim zxstim added the approved approve proposal to proceed label Jan 3, 2025
@zxstim
Copy link
Collaborator

zxstim commented Jan 3, 2025

Should do test deployment on Moonbeam. Will assist with some helper contracts soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved approve proposal to proceed
Projects
None yet
Development

No branches or pull requests

2 participants