Introducing Zer0: The AI agent that gamify your wallet! Are you a Zen Holder or a Cooked Trader? Analyze your transactions and get a "Degen Score" NFT, and unlock a tool for Web3 loyalty.
Prize Pool
Presenting Zer0: Your Web3 Degenerate Scorekeeper & Loyalty Architect
What I Built (Hackathon Demo) Meet Zer0 – the witty AI agent that analyzes your wallet’s daily transaction frenzy to mint you a “Degen Score” NFT.
Are you a Zen investor or Cooked investor? Zer0 will check your latest 24h transactions and gives you a "Degen Score" with a Title and Description and will mint a generated image in the blockchain.
Tech Stack Agent logic: AgentKit CDP + LangChain tools On-chain data: BaseScan APIs Frontend: React chat interface Backend: Express.js API endpoints Deployment: Autonome
The Degen Score is a demonstration of an agent that checking if a user (wallet) is meeting certain criteria, it is eligible of triggering a certain action. It can be a powerful tool for loyalty programs, gaming and reward systems. Taking care of sybill attacks is necessary in this environment.
By leveraging the ability to check wallet activity against specific criteria and trigger actions, we open up a world of possibilities for enhancing user experiences, incentivizing behavior, and creating more engaging blockchain ecosystems.
Dynamic Loyalty Programs Example: DeFi platform Criteria: User provides liquidity for 30 consecutive days Action: Mint a "Liquidity Legend" NFT that grants reduced trading fees This system encourages long-term engagement and rewards consistent participation.
Gamified On-chain Achievements Example: Gaming metaverse Criteria: Player completes 5 unique quests within a week Action: Unlock exclusive "Weekly Warrior" character skin and temporary stat boost By tying in-game achievements to on-chain actions, we create a more immersive and rewarding gaming experience.
Community Contribution Recognition Example: Governance platform Criteria: Member participates in 10 successful proposal votes Action: Grant "Civic Leader" badge, increasing voting power by 1.5x for future proposals This incentivizes active participation in governance and helps identify committed community members.
Cross-chain Activity Rewards Example: Interoperability protocol Criteria: User bridges assets between 3 different supported chains within a month Action: Airdrop "Multiverse Explorer" tokens, redeemable for gas fee discounts on future bridge transactions Encouraging users to explore multiple chains can lead to a more interconnected and robust ecosystem.
These examples showcase how the core functionality of Zer0 – checking wallet activity and triggering actions – can be applied to create innovative, engaging, and user-centric experiences across various sectors of the Web3 ecosystem.
Tech Stack Overview Agent Logic: AgentKit CDP + LangChain tools On-chain Data: BaseScan APIs Frontend: React chat interface Backend: Express.js API endpoints Deployment: Autonome
Detailed Implementation
CDP AgentKit Integration Utilized CDP AgentKit as the foundational framework for building the Zer0 agent Implemented custom Agent Capabilities to handle wallet analysis and score calculation Integrated with BaseScan APIs and LangChain tools to enhance functionality
Wallet Analysis Process Leveraged BaseScan APIs to fetch ERC-20 transaction history for a given wallet address Implemented a custom algorithm to analyze transaction frequency, volume, and patterns Calculated a "Degen Score" based on predefined criteria (e.g., number of trades, token diversity).
Score Classification Developed a classification system to assign labels (e.g., "Zen", "Grilled", "Cooked") based on the calculated score.
Image Generation with DALL-E Integrated LangChain Tool for DALL-E image generation Created prompt templates that incorporate the user's Degen Score and Title
NFT Minting Process Utilized AgentKit CDP Smart Contract Deployment capabilities Implemented an ERC-721 smart contract for minting unique NFTs
Frontend Development Built a responsive React chat interface for user interaction
Backend Architecture Developed Express.js API endpoints to handle: Wallet address submission Triggering the agent's analysis process Returning results to the frontend
Deployment Deployed the Zer0 agent on Autonome.