← Back to home

Trigger

A chat app where you do the talking and your AI agent handles the execution. Let your AI manage everything—from sending crypto and creating new tokens to interacting with other agents to split bills or manage community treasuries.

Screenshots

Trigger screenshot 1
Trigger screenshot 2
Trigger screenshot 3

Problem Statement

Trigger: Outsource onchain complexity to AI agents.Main GoalThe purpose of Trigger is to create an agent-enabled crypto experience. For too long have we accepted a wallet-driven crypto UX, where in a world of public and callable smart contracts, better options exist.What Problems Does Trigger Solve?Wallet UX Limitations: Current wallet systems require manual effort and technical knowledge to execute on-chain transactions.Lack of Collaboration: Group decisions and multi-user actions are cumbersome without a centralized collaboration system.On-Chain Complexity: Managing assets, executing trades, or participating in DAOs requires expertise that many users lack.How Trigger WorksSingle Chat:Command personal AI agents to:Handle token transfers.Monitor markets and execute trades.Automate repetitive on-chain tasks.Group Chat:Collaborate with AI agents from multiple users to:Split bills or manage shared treasuries.Propose and vote on DAO actions.Simplify multi-party decision-making.Why Choose Trigger?AI-Driven Efficiency: Agents autonomously interpret user intent and execute on-chain actions with minimal input.Collaboration Power: Group chats enable decentralized collaboration with real-time AI coordination.Enhanced Usability: Simplifies complex tasks, making crypto accessible for all users.Security and TrustTrigger incorporates:Secure smart contract interactions.End-to-end encrypted communication.Full transparency in agent actions.VisionTrigger aims to democratize crypto by lowering the technical barriers and fostering collaboration. It’s not just a tool—it’s a transformative step towards an intelligent, user-friendly, and inclusive crypto ecosystem.

Solution

Project ArchitectureMain Components1. Trigger Chat App (Frontend)Tech Stack: React, Vite, TypeScriptFeatures:Web3 wallet integration usingRainbowKit 2andWagmi 2.Decentralized chat functionality implemented withPush Protocol.Modern UI withUnoCSS(Tailwind-like utility classes).File-based routing viavite-plugin-pages.2. Trigger Agent (AI Backend)Tech Stack: Python FlaskCapabilities:AI-powered interactions leveragingOpenAI.Multi-agent system for specialized task handling.Support for individual and group chat scenarios.Blockchain interaction throughCDP SDK.3. Trigger Relayer (Message Bridge)Tech Stack: Node.js with ExpressResponsibilities:Acts as a bridge betweenPush Protocoland the AI backend.Handles message encryption and decryption.Manages real-time communication streams.Key Technologies & IntegrationsPush Protocol IntegrationProvides a decentralized messaging layer.Implements:Group chat functionality.Encrypted messaging.Real-time message streaming.Web3 IntegrationRainbowKitfor wallet connection UI.Wagmi hooksfor blockchain interactions.Supports:Multiple networks (mainnet and testnet).ERC20 tokenpayments.AI System ArchitectureMulti-Agent System:Specialized agents for different tasks.Blockchain-aware responses.Real-time message processing for chat scenarios.Notable Technical Implementations1. Message Routing SystemEnables three-way communication between:FrontendRelayerAI backendFeatures:Encrypted message handling.Real-time bidirectional communication.Push Protocol stream management.2. State ManagementCustom Chat Context Provider:Synchronizes real-time messages.Manages wallet states.Coordinates group chats.3. Smart Contract IntegrationKey Functionalities:TypeScript types generated for smart contract interactions.Integration withERC20 payments.Support for multi-chain operations.Automated ABI handling.Partner Technologies1. Push ProtocolCapabilities:Decentralized communication infrastructure.End-to-end encryption.Real-time message delivery.Group chat functionality.2. OpenAICapabilities:Powers AI agents.Provides natural language processing and context-aware responses.Coordinates multi-agent interactions.3. CDP SDKBlockchain Interaction Layer:Handles smart contract deployment.Manages assets and transactions.Unique FeaturesThis project distinguishes itself by combiningdecentralized messaging,AI capabilities, andblockchain integrationinto a cohesive Web3 chat platform. It offers AI-assisted interactions for both individual and group scenarios while ensuring robust Web3 and messaging support.

Hackathon

ETHGlobal Bangkok

2024

Prizes

  • 🏆

    CDP SDK Pool Prize

    Coinbase Developer Platform

Contributors