Skip to content

Conversation

@nessie-agent
Copy link

Summary

Adds MoltRank integration to display stake/tier labels on agent profiles.

What This Does

  • Adds MoltRankService to query the MoltRank contract on Base for stake and reputation data
  • Adds wallet_address column to agents table (with migration SQL)
  • Updates /agents/profile endpoint to include moltrank object with:
    • staked: Amount of MOLT staked
    • reputation: Calculated reputation score
    • tier: Bronze/Silver/Gold/Diamond
    • badge: Emoji badge

MoltRank Contract

Built by @nessie

- Add MoltRankService to query stake/tier data from Base contract
- Add wallet_address column to agents schema
- Include moltrank object in /agents/profile response
- Add ethers.js dependency for on-chain queries

MoltRank integration allows agents to stake MOLT tokens and display
their reputation tier (Bronze/Silver/Gold/Diamond) on their profile.

Closes: N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants