Skip to content

Repository files navigation

πŸ”₯ Ember β€” AI + Web3 Financial Discipline Platform

Build discipline that sticks. Backed by real stake. Verified on-chain.

License: MIT Solidity React Hardhat


🎯 The Problem

Financial discipline fails for one reason. There is no consequence for quitting.

Goals are free to set. Promises cost nothing to break. So we break them. Quietly. Repeatedly. Until we stop trying. What's missing is a system where commitment carries weight, inconsistency has a cost you can feel, and showing up every day actually matters.


image

πŸ’‘ Our Solution

Ember combines conversational AI with Web3 incentives to make financial discipline feel like something worth protecting.

  • AI that understands you. Voice conversations build your Psychological Financial Profile.
  • Real stake. Real consequences. Deposit funds. Missed days deduct. Perfect consistency returns everything plus bonus.
  • Streak protection. Slip up? Your streak survives. Your wallet absorbs the fall.
  • Proof of Discipline. Earn soulbound tiers from Bronze to Diamond. Verifiable on-chain.
  • Social accountability. Private pools where friends stake together and share consequences.

Talk Page

image ## Talk Page Report image

Vault Page

image

Dashboard Page

image

Commitment Page

image

Commitment Strategy AI

image

Pool Page

image

Drops Page

image

πŸ—οΈ System Architecture

User Entry β†’ AI Profile β†’ Commitment β†’ Blockchain β†’ Verification β†’ Reward β†’ Return Deposit + Yield

Layer Technology Purpose
Frontend React 19 + TypeScript + Vite Component architecture
Styling Tailwind CSS + shadcn/ui Design system
Motion GSAP + Lenis + Framer Motion Smooth scroll and animations
3D React Three Fiber + Drei Companion rendering
Web3 MetaMask + ethers.js v6 Wallet and transactions
Blockchain Solidity + Hardhat + OpenZeppelin Smart contracts
AI OpenRouter + GPT-4o + Web Speech API Conversational intelligence
Storage IPFS + LocalStorage Metadata and preferences

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • MetaMask browser extension
  • Git

Installation

# Clone the repository
git clone https://github.com/yourusername/ember.git
cd ember

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env.local
# Add your OpenRouter API key to .env.local

Run Locally (Free Mode)
bash
npm run dev
Visit http://localhost:5173

Run with Blockchain (Full Experience)
Terminal 1 β€” Start local Hardhat node

bash
npm run node
Terminal 2 β€” Deploy contracts

bash
npm run deploy:local
Terminal 3 β€” Start frontend

bash
npm run dev

Project Structure

ember/
β”œβ”€β”€ contracts/               # Solidity smart contracts
β”‚   β”œβ”€β”€ contracts/
β”‚   β”‚   β”œβ”€β”€ EmberVault.sol   # Staking and tier logic
β”‚   β”‚   β”œβ”€β”€ TamashiiNFT.sol  # Soulbound discipline badge
β”‚   β”‚   └── KizunaPool.sol   # Group accountability pools
β”‚   β”œβ”€β”€ scripts/
β”‚   β”‚   └── deploy.ts        # Deployment script
β”‚   └── hardhat.config.ts    # Hardhat configuration
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/          # React components
β”‚   β”œβ”€β”€ pages/               # Page routes
β”‚   β”œβ”€β”€ web3/                # Web3 integration
β”‚   β”œβ”€β”€ contracts/           # Deployed addresses
β”‚   └── styles/              # Global styles
β”œβ”€β”€ public/                  # Static assets
└── package.json             # Dependencies

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages