Full Circle Demo of HTS Minting with HCS DAO Voting with Agents
This comprehensive demo showcases the complete workflow of our governance system, from initial token minting using Hedera Token Service (HTS) through decentralized voting with Hedera Consensus Service (HCS) to final execution by our governance agent.
Lynx Minting with HTS
The first step in our governance ecosystem involves minting LYNX tokens using Hedera Token Service. This process establishes the foundational assets that power our DAO governance system.
Video demonstration of LYNX token minting process using Hedera Token Service.
The minting process demonstrates how we leverage HTS's native capabilities to mint tokens by depositing the required composition tokens in the contract's treasury. The appropriate amount of Lynx is then sent to the minting user based on the ratio calculation.
Lynx DAO Voting with HCS
Once tokens are minted and distributed, community members can participate in governance through our HCS-powered voting system. This section demonstrates how consensus is achieved through our decentralized voting mechanism.
Interactive demonstration of the DAO voting process using Hedera Consensus Service.
Our voting system utilizes HCS's immutable consensus mechanism to ensure transparent and verifiable decision-making. The demo shows how community members can submit votes to the governance agent's topic leveraging the Standards SDK.
Governance Agent Execution
The final piece of our governance workflow demonstrated how the agent determines quorum and given the threshold is hit will execute the contracts adjust ratio function to change the minting requirements.
Live demonstration of governance agent executing community-approved decisions.
The governance agent serves as the bridge between democratic consensus and practical execution, automatically implementing approved proposals while maintaining full transparency and auditability throughout the process.
Agents and AI
Our governance ecosystem is powered by a multi-agent architecture that combines traditional automation with advanced AI capabilities. Each agent serves a specific role in maintaining and operating the decentralized system:
Governance Agent (Orchestrator)
The governance agent serves as the central orchestrator of our DAO system. This dummy agent handles interactions between various components and executes changes to the smart contract based on community decisions. It monitors the HCS topic for voting outcomes and automatically implements approved parameter values, ensuring seamless translation from democratic consensus to on-chain execution.
Rebalancer Agent (Portfolio Management)
The rebalancer agent maintains DAO determined portfolio allocations by calculating required trades to reach target distributions. This dummy agent analyzes the current treasury composition and executes necessary swaps on the contract treasury to maintain desired asset ratios. It ensures the portfolio remains balanced according to community-defined parameters.
Sentinel Agent (AI-Powered Monitoring)
The sentinel agent represents the AI-powered component of our system, providing intelligent market monitoring and analysis. It continuously monitors token prices through multiple data sources including SaucerSwap and Hedera APIs, detecting when the portfolio deviates from target allocations. The agent utilizes a RAG (Retrieval-Augmented Generation) system to analyze current market conditions and generate actionable insights, enabling proactive portfolio management decisions.
This multi-agent approach ensures robust, autonomous operation while maintaining the flexibility to adapt to changing market conditions through AI-driven insights.
The Complete Workflow
This full circle demonstration illustrates how our integrated approach creates a seamless governance experience:
- Token Foundation: HTS minting establishes the economic basis for governance participation
- Democratic Process: HCS voting ensures transparent and immutable consensus formation
- Automated Execution: Governance agents transform decisions into actions without human intervention
This end-to-end workflow represents a new paradigm in decentralized governance, where community decisions are not just recorded but automatically implemented, creating a truly autonomous organization powered by Hedera's robust infrastructure.
Resources
Live Demo
- LYNX DAO Dashboard (Staging): https://lynx-khaki-eight.vercel.app/
Interactive staging environment for minting and burning LYNX tokens on the Hedera network
Source Code
-
DAO Dashboard Repository: https://github.com/0xPrimordia/lynx
Frontend interface for the LYNX DAO governance and token management system -
Agents Container Repository: https://github.com/0xPrimordia/LynxAgent
Backend agents handling governance, rebalancing, and sentinel operations for the LYNX ecosystem
Smart Contract
- LYNX Minting Contract: 0.0.6216949
Smart contract handling LYNX token minting and treasury management on Hedera testnet