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: Smartcontract for Opensource platform AI Agent #287

Closed
chauanhtuan185 opened this issue Dec 3, 2024 · 6 comments
Closed

Proposal: Smartcontract for Opensource platform AI Agent #287

chauanhtuan185 opened this issue Dec 3, 2024 · 6 comments
Assignees
Labels
approved proposal is approved cleared submission is cleared for payout rotm rise of the machines submitted builder submitted and pending review

Comments

@chauanhtuan185
Copy link
Contributor

chauanhtuan185 commented Dec 3, 2024

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.
    • amountKAIA: The amount of KAIA paid as a challenge fee.
  2. Fee Distribution Logic

    The smart contract processes the amountKAIA 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-KAIA 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.

Bounty track

  • DeFi
@chauanhtuan185 chauanhtuan185 changed the title Proposal: Opensource AI Agent Platform Proposal: Smartcontract for Opensource platform AI Agent Dec 3, 2024
@zxstim zxstim added the approved proposal is approved label Dec 4, 2024
@zxstim
Copy link
Collaborator

zxstim commented Dec 4, 2024

Approved. Interesting proposal

@zxstim zxstim added the rotm rise of the machines label Dec 4, 2024
@chauanhtuan185
Copy link
Contributor Author

Hi this is repo for smart contract using in AI Agent :
https://github.com/chauanhtuan185/athena-contract

@zxstim zxstim added cleared submission is cleared for payout submitted builder submitted and pending review labels Dec 5, 2024
@chauanhtuan185
Copy link
Contributor Author

chauanhtuan185 commented Dec 7, 2024

@zxstim hi i has deploy to kairos testnet :
Contract address : 0xCC10B2ea0689253bE54c1Ef41A1aa6457B938493
Token address : 0x7a5E899E31348cd6bb9d31A0667c1C91bbd39D10
Pls review it . Tks so much

@zxstim
Copy link
Collaborator

zxstim commented Dec 9, 2024

Approved for 1500 KAIA

@zxstim
Copy link
Collaborator

zxstim commented Dec 9, 2024

closing

@zxstim zxstim closed this as completed Dec 9, 2024
@chauanhtuan185
Copy link
Contributor Author

Build on dorahack : https://dorahacks.io/buidl/20627
@zxstim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved proposal is approved cleared submission is cleared for payout rotm rise of the machines submitted builder submitted and pending review
Projects
None yet
Development

No branches or pull requests

2 participants