About
OfflinePay:Kred is a offline-first Web3 transaction and credit scoring system that enables users to make blockchain transactions through SMS — without needing the internet.
The system bridges mobile communication (SMS) and on-chain execution (Hedera + Lit Protocol) through a multi-agent ASI (Artificial Super Intelligence) architecture that coordinates signing, transaction execution, and decentralized credit scoring via SoulBound Tokens (SBTs).
Our mission:
To bring Web3 financial access and credit systems to everyone — even those without internet.
⚙️ How It Works — Full Flow
🧩 Step 1: User Initiates (Offline)
A user, without internet, sends an SMS like:
PAY 50 PYUSD TO +15551234567
📞 Step 2: SMS Gateway (SMSMobileAPI)
The message is received by a gateway phone connected to the internet.
The SMSMobileAPI service detects the incoming message and automatically sends a webhook to the backend.
🌐 Step 3: Backend Receives Webhook (Flask/Node.js)
The backend parses the message using basic NLP to extract transaction intent:
Action: “PAY”
Amount: “50”
Token: “PYUSD”
Receiver: “+15551234567”
Then it triggers the ASI Multi-Agent System.
🤖 ASI Multi-Agent System (Intelligent Coordinator)
The ASI architecture has 3 tiers, with 1 core agent and 11 sub-agents communicating in real time through uAgents and MeTTa Knowledge Graphs.
🧠 Tier 1 — Core Coordinator
butler_agent.py
Acts as the brain of the system.
Receives SMS intent and orchestrates all other agents.
Decides transaction flow, invokes oracles, executes verification, and sends results.
🧩 Tier 2 — Oracle Agents
1. strategy_oracle_agent
Fetches yield rates and liquidity info from Hedera DeFi protocols.
Decides the most optimal route for PYUSD transfer.
- risk_oracle_agent.
Checks protocol safety using MeTTa knowledge graphs (audit scores, risk ratings).
Warns Butler Agent if transaction seems suspicious.
- gas_oracle_agent
Monitors HBAR gas prices in real time.
Suggests cheapest time or method for execution.
⚙️ Tier 3 — Functional Agents
goal_planner_agent
Helps users set financial goals or recurring payments via SMS commands.
eli5_agent
Educates users in simple language about what their transaction means (“You just sent stablecoins to X, this won’t affect your credit limit”).
risk_assessment_agent
Evaluates transaction risk per user history.
memory_agent
Stores user contact and transaction history (off-chain).
collector_agent
Queues offline transactions if gateway or internet fails.
executor_agent
Handles final transaction signing and on-chain push using Lit Protocol.
payroll_agent
Manages recurring salary disbursements or auto-payments.
gas_tank_agent
Ensures user wallets always have sufficient HBAR for fees (auto-refuels small amounts).
🔐 Step 4: PKP Signing with Lit Protocol
The executor_agent passes transaction data to Lit Protocol.
Using Programmable Key Pairs (PKP), Lit signs the transaction securely without exposing private keys.
Signed transaction is submitted to Hedera Network.
💰 Step 5: On-Chain Execution
Transaction executes on Hedera in PYUSD stablecoin.
Simultaneously, an SBT (SoulBound Token) is minted as a proof of successful transaction.
🪙 Each SBT acts as a credit history badge. After several SBTs, users qualify for on-chain micro-loans or DeFi credit access.
📤 Step 6: Confirmation SMS
Once confirmed, the backend sends an SMS reply back to the user:
✅ Transaction Successful! 50 PYUSD sent to +15551234567 TxID: 0.0.123456 Credit Badge Earned 🪙
🏗️ Architecture Diagram
📱 User (Offline SMS) ↓ 📞 SMS Gateway (SMSMobileAPI) ↓ 🌐 Backend (Flask / Node.js) ↓ 🤖 ASI:One (Butler + Oracle + Functional Agents) ↓ 🔐 Lit Protocol (PKP Signing) ↓ 💰 Hedera (PYUSD Transaction + SBT Mint) ↓ 📤 SMS Reply → User
🧩 Technologies Used
Layer Technology Purpose Frontend SMS / No UI Offline-first interface Middleware Flask / Node.js Webhook & Agent coordination AI System ASI:One + uAgents Multi-agent coordination Knowledge Graph MeTTa Reasoning and goal-based task planning Blockchain Hedera On-chain transaction & SBT mint Stablecoin PYUSD Medium of payment Identity & Signing Lit Protocol (PKP) Secure signing without private key exposure SMS Gateway SMSMobileAPI Communication bridge between offline users and online backend 💡 Innovation Highlights
✅ True Offline Web3 — No app, no internet, just SMS. ✅ AI Multi-Agent System — ASI coordinates real-time risk, strategy, and signing. ✅ Decentralized Credit System — SBTs act as immutable credit history. ✅ Secure Signing — PKP through Lit ensures keyless trust. ✅ Inclusive Finance — Users in rural areas or low-connectivity zones can use Web3.
📈 Real-World Impact
Financial Inclusion: Brings blockchain to people without smartphones or internet.
Decentralized Credit: Builds a transparent on-chain credit layer.
Automation via AI: Intelligent reasoning agents handle finance autonomously.
DeFi Education: Teaches users via SMS in simple ELI5 explanations.
🧠 Future Roadmap
🔗 Integrate with Hedera DeFi lending platforms for instant micro-loans.
🌍 Add multilingual SMS support.
🧾 Add AI-based spending insights and analytics.
🤝 Expand to missed call + voice interface for accessibility.
🪙 Create reputation-weighted lending DAO using SBT credit badges.
🧑💻 Team & Contributions
Developed by: Naveen RS
Core Work:
ASI Agent System Design
SMS → Blockchain Integration
Lit Protocol PKP Integration
Hedera + PYUSD On-Chain Logic
SBT Credit Badge System
Webhook + Backend Automation
🏁 Summary
OfflinePay:Kred merges the power of AI multi-agent reasoning, Lit Protocol security, and Hedera scalability — to create the world’s first offline Web3 transaction and credit scoring system using just SMS.
This is financial inclusion redefined — bringing DeFi to everyone, everywhere. 🌍
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






