Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gorkemsandikci/achivio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Achivio - Blockchain Habit Tracker 🎯

Achivio Hero

Motivational habit tracking meets blockchain rewards and NFT achievements

Achivio is a comprehensive habit tracking application built on the Stacks blockchain that gamifies healthy habits through token rewards, streak bonuses, NFT achievement badges, and customizable 3D virtual rooms.

🎨 Visual Showcase

πŸ’Ž ACHIV Tokens

ACHIV Tokens

πŸ† Achievement System

Achievement Badges

πŸ”₯ Streak Rewards

Streak Counter

🏠 Virtual Room Customization

Modern Room Cozy Room Gaming Room
Modern Workspace Cozy Study Gaming Setup

πŸ“Š Dashboard & Analytics

Dashboard

πŸ… Leaderboard Competition

Leaderboard

🌟 Features

  • Daily Habit Tracking - Create and complete custom daily tasks
  • ACHIV Token Rewards - Earn fungible tokens for completing habits
  • Streak System - Bonus rewards for consecutive day completions
  • NFT Achievement Badges - Collectible badges for milestones
  • 3D Virtual Rooms - Customize your workspace with earned items
  • Social Leaderboards - Compete and compare with other users

πŸ—οΈ Architecture

Achivio consists of 6 interconnected smart contracts:

Contract Status Purpose Key Functions
achiv-token βœ… LIVE SIP-010 fungible token for rewards mint-reward, transfer, burn
task-tracker πŸ”§ Development Core habit tracking and completion create-task, complete-task
streak-system πŸ”§ Development Consecutive day bonuses and milestones update-user-streak, claim-streak-bonus
nft-badges πŸ”§ Development SIP-009 NFT badges for achievements mint-streak-badge, mint-task-master-badge
room-items πŸ”§ Development SIP-009 NFT virtual furniture/items purchase-item, place-item-in-room
leaderboard πŸ”§ Development User rankings and social features update-user-stats, compare-users

πŸ“± User Interface

Mobile App Screenshots

App Store Screenshots

Progress Tracking & Analytics

Progress Charts

Achievement Celebrations

Achievement Animation Milestone Celebration Success

Social Sharing

Social Sharing Card

Marketing Materials

Promotional Banner

πŸš€ Quick Start

🎯 Live Deployment

πŸ”— Deployed Contract: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM.achiv-token

🌐 Network: Stacks Testnet
πŸ“± Frontend: http://localhost:3000 (local development)

Smart Contracts

git clone https://github.com/gorkemsandikci/achivio.git
cd achivio
npm install

# Install Clarinet for contract development
brew install clarinet

# Check contracts
clarinet check

# Run tests
npm test

Frontend Application

cd frontend
npm install
npm run dev
# Open http://localhost:3000

Environment Setup

# Create .env file in frontend/
NEXT_PUBLIC_STACKS_NETWORK=testnet
NEXT_PUBLIC_CONTRACT_ADDRESS=ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM

Deployment

# Deploy contracts to testnet
clarinet deployments apply --testnet

# Deploy contracts to mainnet (⚠️ costs real STX)
clarinet deployments apply --mainnet

# Deploy frontend
cd frontend && npm run build

πŸ“– User Journey

  1. Create Habits - Set up daily tasks with custom rewards
  2. Complete Tasks - Earn ACHIV tokens for consistency
  3. Build Streaks - Get bonus rewards for consecutive days
  4. Earn Badges - Unlock NFT achievements for milestones
  5. Customize Room - Buy virtual furniture with earned tokens
  6. Compete Socially - Climb leaderboards and compare progress

πŸ§ͺ Testing

npm test                    # Run all tests
npm test achiv-token.test.ts # Run specific tests
npm run test:coverage       # Run with coverage

πŸ“Š Tokenomics

  • 70% User Rewards - Daily task completion
  • 15% Streak Bonuses - Consecutive achievements
  • 10% Development - Platform growth
  • 5% Reserve - Emergency fund

Deflationary Mechanics: Tokens burned through room item purchases

πŸ”’ Security Features

  • Daily completion limits prevent fraud
  • Authorized minter controls
  • Emergency pause mechanisms
  • Comprehensive access controls

πŸ“š Documentation

🀝 Contributing

  1. Fork and clone the repository
  2. Create a feature branch
  3. Write tests for new functionality
  4. Submit a pull request

πŸ“„ License

MIT License - see LICENSE file for details.

πŸ“ž Support


Built with ❀️ on Stacks blockchain

About

Motivational habit tracking meets blockchain rewards and NFT achievements

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published