Skip to content

PreStake is a mobile app that lets users simulate NEAR Protocol staking operations in a risk-free environment. Built with Flutter and Firebase, it features real-time portfolio tracking, reward calculations, and complete stake management

License

Notifications You must be signed in to change notification settings

JittoJoseph/PreStake-Paper-Staking-App

Repository files navigation

PreStake

PreStake Logo

PreStake is a Flutter-based mobile application that simulates NEAR Protocol staking operations. It provides a risk-free environment for users to learn and experiment with NEAR staking strategies through paper trading.

Demo

Features

Authentication

  • Simple and intuitive sign-in/sign-up interface
  • Firebase Authentication integration
  • Persistent login state management

Dashboard

  • Real-time portfolio overview
    • Total portfolio value
    • Staked NEAR balance
    • Available NEAR balance
    • Accumulated rewards
  • Live NEAR/USD exchange rate
  • Detailed visualization of active stakes
    • Individual stake amounts
    • Stake initiation dates
    • Real-time reward calculations
    • Current stake status

Core Functions

  • Simulate NEAR token staking
  • Manage unstaking operations
  • Automatic reward calculations based on:
    • Stake duration
    • Current average APY
  • User profile management
  • Complete transaction history
  • Total Portfolio Value

Data Management

  • Secure data storage with Firebase Firestore
  • Real-time transaction tracking
  • Separate balance management for:
    • Staked tokens
    • Available tokens
    • Accumulated rewards

Technical Stack

  • Frontend Framework: Flutter
  • Backend Services: Firebase
    • Authentication: Firebase Auth
    • Database: Cloud Firestore
    • Analytics: Firebase Analytics
  • State Management: Provider
  • API Integration: Meta pool sdk Analytics API endpoints
  • Development Tools:
    • Android Studio
    • VS Code
    • Flutter DevTools
  • Version Control: Git

Project Setup

Prerequisites

  • Flutter SDK (latest stable version)
  • Firebase CLI
  • Git

Installation Steps

  1. Clone the repository
git clone https://github.com/yourusername/prestake.git
cd prestake
  1. Install dependencies
flutter pub get
  1. Firebase Setup
  1. Run the app
flutter run

License

This project is licensed under Apache License 2.0 - see the LICENSE file for details.

Contact

Jitto Joseph - @JittoJoseph50

About

PreStake is a mobile app that lets users simulate NEAR Protocol staking operations in a risk-free environment. Built with Flutter and Firebase, it features real-time portfolio tracking, reward calculations, and complete stake management

Topics

Resources

License

Stars

Watchers

Forks