Petfolio Guardian

A DeFi platform that combines automated DCA trading with virtual pet care.

Repo
Petfolio Guardian banner

About

Petfolio Guardian represents a paradigm shift in DeFi by making automated trading emotionally engaging and socially rewarding. It's not just another DCA platform - it's a complete ecosystem that combines the best of DeFi technology with gamification psychology to create sustainable, long-term trading behaviour.

The platform's unique approach addresses the fundamental challenge of user retention in DeFi while providing genuine financial value through sophisticated automated trading strategies. By making trading fun, social, and rewarding, Petfolio Guardian has the potential to bring DeFi to a much broader audience while helping users build wealth through consistent, emotion-free investment strategies.

How it's made

How It Works - The Complete Flow 1. Smart Contract Architecture The platform is built on a sophisticated smart contract system: TwapDcaHook: A custom hook that implements 1inch's interface for time-weighted recurring fills Permit2: Gas-efficient token approvals and transfers Keeper Bots: Automated execution of DCA orders at specified intervals

2. DCA Strategy Implementation

Users can set up various DCA strategies: Regular DCA: Standard dollar-cost averaging with custom intervals DCA Yield: Complex yield strategies with 13 different options DCA to Friend: Social trading where you help others invest Manual Swaps: One-time trades for immediate pet feeding

3. Pet Happiness System

Your hippo's health (0-10 scale) is directly tied to trading activity: DCA Yield: +3.0 health (highest reward) DCA to Friend: +2.0 health (social bonus) Regular DCA: +1.0 health (standard) Manual Swap: +0.5 health (basic) Decay: -0.5 health every 6 hours without activity

Technical Infrastructure

Frontend Architecture React + TypeScript: Modern, type-safe development Tailwind CSS: Responsive, beautiful UI Wagmi: Seamless wallet integration React Query: Efficient API state management

API Integration

The platform integrates with 1inch's complete API suite: Quote API (v6.0): Real-time swap quotes and price estimates Swap API (v6.0): Executable swap transactions Token API (v1.3): Token metadata, logos, and lists Balance API (v1.2): User token balances across networks Price API (v1.1): Live token prices in USD Gas Price API (v1.4): Current gas prices for optimisation Approval APIs (v6.1): Token allowances and approvals Limit Order SDK: Order creation and management

Data Layer

Supabase: PostgreSQL database for user data, feeds, and health records Real-time updates: Live portfolio tracking and health monitoring

Unique Value Propositions

1. Gamified Trading Unlike traditional DeFi platforms, Petfolio Guardian makes trading emotionally engaging. Users care about their hippo's happiness, which drives consistent trading behaviour. 2. Automated Excellence The keeper bot system ensures DCA strategies execute reliably without manual intervention, eliminating human error and emotional decisions. 3. Social Trading The "DCA to Friend" feature introduces a social element, allowing users to help others invest while earning health rewards.

Future Roadmap

Phase 2 Features Pet Evolution: Hippos can evolve based on trading performance Community Features: Pet parks, trading competitions, leaderboards Advanced Strategies: Options trading, yield farming integration Mobile App: Native iOS/Android applications Cross-chain Support: Expansion to Polygon, Arbitrum, Optimism

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

DeFi PulseX

A modern and gamified decentralized finance (DeFi) trading terminal

DefiVaultPro

DefiVault Pro is a portfolio management app that uses 1inch APIs for unified DeFi investments.

Defidvisor

AI-Powered DeFi Advisor: A secure, user-friendly platform that provides personalized investment advice, risk assessment, and portfolio management. Get real-time insights, track whale activity, and access AI-driven DeFi strategies—all with seamless World ID login.