💡 Inspiration

Social media is full of moments that spark laughter, reflection, and connection—but there's no native way to reward the people behind them. We wanted to measure a tweet’s social aura (its emotion, creativity, and resonance) and turn it into real value. Not just likes—on-chain rewards.

⚙️ What it does

  • Watches your @mentions in real time
  • Analyzes each tweet using GPT-4o to score:
    • Emotional expressiveness
    • Creative originality
    • Social resonance
  • Generates a witty insight + suggested reply
  • Calculates a reward between 1–15 $SAURA (Algorand ASA)
  • Sends the tokens to your Pera Wallet
  • Logs all activity in a Supabase-powered dashboard

🛠 How we built it

  • Frontend: Next.js 13 (App Router + Server Components), Tailwind CSS, shadcn/ui, Lucide
  • AI: GPT-4o with structured prompts + JSON parsing
  • Blockchain: Algorand SDK 3.3.1, Pera Wallet Connect 1.4.2, ASA transfers on TestNet
  • Data: Supabase PostgreSQL with RLS, auth, and real-time subs
  • Automation: Netlify Edge Cron (every 5 mins) + retry logic
  • Integrations: Twitter API v2 (reads), v1.1 (replies), rate-limit handling, and exponential backoff

🧩 Challenges we ran into

  • Algorand quirks: getting round fields and opt-in transactions right
  • Wallet UX: handling the dual signing approach of Pera Connect
  • Rate limits: OpenAI + Twitter both required custom error handling and retry logic
  • Sync vs latency: balancing instant feedback with chain confirmation delays

🏆 Accomplishments we’re proud of

  • Built a clean AI → Web3 pipeline in < 72 hours
  • Handled real-time data with zero data loss
  • Designed a modular bot system with hot-swappable backends
  • Created a live leaderboard + dashboard without external tooling

📚 What we learned

  • Reliable GPT prompting patterns for predictable JSON outputs
  • Nuances of Server Components + Client Hooks in Next.js 13
  • Deep Algorand TestNet mechanics and Pera Wallet session flows
  • How to orchestrate multiple async systems without lagging UX

🚀 What’s next for The Aura Engine | Social Aura

  • Smart analytics: visualize aura trends, impact scoring, and user performance
  • Multi-chain expansion: explore Polygon and Base for wider reach
  • Mobile drops: notifications when someone “charges your aura”
  • Community layer: DAO-based tuning of reward formulas + tipping

Built With

Share this project:

Updates