← Back to home

HashSplits

Trustless, automated revenue splitting protocol powered by Hedera

Problem Statement

HashSplits brings 0xSplits functionality to Hedera. Create trustless, automated revenue sharing smart contracts. Example usage: "HashSplits creates a 3-way split between Alice, Bob and Sam for 3 HBAR, deposit and distribute the split immediately"Our AI-powered agent understands natural language commands to create and manage revenue splits effortlessly. Whether you're distributing royalties, managing team payments, or sharing project revenues, HashSplits handles it all transparently on-chain.Key features: • Natural language interface - Describe splits in plain English • Immutable smart contracts - Trustless distribution logic • Multi-token support - HBAR and HTS tokens • Instant execution - Automated distribution upon deposit • Transparent audit trail - All transactions recorded on Hedera Consensus Service • ElizaOS integration - Conversational AI for complex split management

Solution

HashSplits leverages the unique capabilities of Hedera and integrates cutting-edge AI through ElizaOS to create a seamless revenue-sharing experience.ARCHITECTURE: The project follows a modular architecture with three main components:SMART CONTRACT LAYER (Solidity)The Orchestrator.sol contract that handles all on-chain logicImplements split creation with multiple recipients and customizable percentagesSupports both native HBAR and HTS token depositsFeatures allowance-based distribution for controlled payoutsRecords agreements on-chain via blob IDs for transparencyAI AGENT LAYER (ElizaOS + TypeScript)Built on ElizaOS framework for conversational AI capabilitiesCharacter-driven agent that understands revenue splitting contextNatural language processing for intuitive user commandsManages state and memory for ongoing conversationsIntegrated with multiple LLM providers (OpenAI, Anthropic, Groq)PLUGIN ECOSYSTEM (Custom Hedera Integration)Created two custom ElizaOS plugins: a) eliza-plugin-hedera: Core Hedera SDK integration b) hashsplits-orchestrator-plugin: Smart contract interaction toolsImplements Hedera Agent Kit for seamless blockchain operationsTools for createSplit, depositNative, depositToken, distribute, recordAgreementAutomatic transaction signing and gas managementTECHNOLOGIES USED: • Hedera Hashgraph - For fast, low-cost consensus and native services • Hedera Token Service (HTS) - Multi-token support • Hedera Consensus Service (HCS) - Immutable agreement recording • Solidity - Smart contract development • ElizaOS - AI agent framework • TypeScript/Bun - Fast JavaScript runtime • Viem - Ethereum library for contract interactions • Forge/Foundry - Smart contract testing and deploymentNOTABLE HACKS: • We bridged the gap between ElizaOS's Ethereum-focused tooling and Hedera's unique APIs by creating a custom plugin that translates between the two ecosystems • Implemented a stateful conversation system that remembers split contexts across messages • Used Hedera's native allowance system for gasless distributions • Leveraged HCS for off-chain data storage while maintaining on-chain referencesThis project showcases the power of combining Hedera's enterprise-grade blockchain with conversational AI, making complex financial operations as simple as having a chat.

Hackathon

ETHGlobal New Delhi

2025

Contributors