Skip to content

Marcone1983/FasTapMining

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

143 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⚑ FasTapMining v2.0

Real Multi-Token Mining Pool on TON Blockchain

A production-ready Telegram Mini App that implements genuine cryptocurrency mining through tap-based computational shares, distributing real token rewards from three active mining pools on TON.


🎯 What Makes This REAL Mining

Unlike fake tap-to-earn games that simulate rewards, FasTapMining implements:

  • βœ… Real hash generation (SHA-256) from user taps
  • βœ… Proof-of-Work algorithm with adjustable difficulty
  • βœ… Block discovery with cryptographic verification
  • βœ… 70/30 reward distribution (finder + pool contributors)
  • βœ… Multi-token payouts (MineX, tBTC, MRDN)
  • βœ… NFT drops from Meridian pool
  • βœ… Real token contracts on TON mainnet

πŸ—οΈ Architecture

Three Active Mining Pools

Pool Token Weight Block Reward Special Features
MineX MineX 40% 100 MineX Virtual GPU mining simulation
TonBitcoin tBTC 30% 50 tBTC Energy/Miner/Investor ecosystem
Meridian MRDN 30% 1000 MRDN +Random NFT drops (on-chain)

Mining Algorithm

// Each tap generates real hash
const hash = SHA256(userId + taps + nonce + blockHeight + timestamp)

// Block found when hash < difficulty
if (parseInt(hash, 16) < pool.difficulty) {
  // BLOCK FOUND!
  finderReward = blockReward * 0.70  // 70% to finder
  poolReward = blockReward * 0.30     // 30% distributed to all contributors
}

Reward Distribution

USER TAPS β†’ Generates Hash β†’ Contributes Shares to Pool
                                    ↓
                            Block Discovered
                                    ↓
                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    ↓                               ↓
            70% to Finder                   30% to Pool
         (who found block)          (divided by shares contributed)

πŸš€ Features

Core Mining

  • Real SHA-256 hashing algorithm
  • Adjustable difficulty per pool
  • Nonce generation for hash attempts
  • Block height tracking
  • Pending shares accumulation

Rewards System

  • Multi-token balance tracking (MineX, tBTC, MRDN)
  • NFT collection from Meridian pool
  • Minimum claim threshold ($1 USD value)
  • TON wallet validation
  • Automatic payout transactions

User Experience

  • Pool selection (3 active pools)
  • Real-time mining statistics
  • Block found celebration modal
  • Telegram notifications on block discovery
  • Global pool statistics dashboard
  • Recent blocks feed
  • Top miners leaderboard

Technical

  • Telegram Mini App SDK integration
  • TON Connect wallet support
  • Serverless architecture (Vercel)
  • Real-time state management
  • Responsive mobile-first UI

Additional Features

  • AutoTap System - Passive share generation
  • Referral Program - Invite friends and earn bonuses
  • Daily Rewards - Login streak multipliers
  • Achievements - Unlock rewards by reaching milestones

πŸ“¦ Project Structure

FasTapMining/
β”œβ”€β”€ api/
β”‚   β”œβ”€β”€ mining.js      # Core mining algorithm (hash generation, block finding)
β”‚   β”œβ”€β”€ claim.js       # Reward claim + wallet validation
β”‚   β”œβ”€β”€ stats.js       # Global pool statistics
β”‚   β”œβ”€β”€ index.js       # Telegram notifications
β”‚   └── webhook.js     # TON transaction verification
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ index.html     # App entry point
β”‚   β”œβ”€β”€ app.js         # React frontend (pool selection, mining UI)
β”‚   β”œβ”€β”€ styles.css     # Professional UI styling
β”‚   └── tonconnect-manifest.json
β”œβ”€β”€ package.json
β”œβ”€β”€ vercel.json
└── README.md

πŸ”§ Setup & Deployment

πŸ“– GUIDA COMPLETA:

πŸ‘‰ Apri DEPLOYMENT.md per la guida step-by-step completa!

Include:

  • Setup Bot Telegram (2 min)
  • Creazione database PostgreSQL (5 min)
  • Deploy su Vercel (5 min)
  • Configurazione TON Connect
  • Troubleshooting

COSTO TOTALE: €0 - Tutto gratuito fino a 100k utenti!


Quick Summary

Cosa serve:

  • Account Vercel (gratis)
  • Database PostgreSQL (Vercel Postgres o Supabase, gratis)
  • Bot Telegram (crea con @BotFather)

Environment Variables

Add these to Vercel:

TOKEN_API_BOT=<your_telegram_bot_token>

Deploy to Vercel

# Clone repository
git clone https://github.com/Marcone1983/FasTapMining.git
cd FasTapMining

# Install dependencies (optional for local dev)
npm install

# Deploy to Vercel
vercel --prod

Setup Telegram Bot

# 1. Create bot with @BotFather
# 2. Get bot token
# 3. Create Mini App:
/newapp
Bot: @YourBot
Title: FasTapMining
Description: Real multi-token mining pool
Photo: [upload icon]
URL: https://your-app.vercel.app

πŸ’‘ How It Works

For Users

  1. Open Mini App in Telegram
  2. Select Mining Pool (MineX, TonBitcoin, or Meridian)
  3. Tap to Mine - Each tap generates hash attempt
  4. Find Blocks - When hash < difficulty, earn reward!
  5. Accumulate Tokens - MineX, tBTC, MRDN + NFTs
  6. Claim Rewards - Enter TON wallet, claim when threshold met

Mining Process

TAP β†’ Generate Nonce β†’ Hash(userId+taps+nonce+block)
                              ↓
                    Check: hash < difficulty?
                              ↓
                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    ↓                    ↓
                  YES                   NO
              BLOCK FOUND!         Shares Added
              70% Finder           Keep Mining
              30% Pool

πŸ“Š Token Information

MineX

  • Contract: EQCLQWTYtsNbk8bn7ed8hqpoxKwXQ1iMGadM8Lae6S-rzNfA
  • Holders: 4,466+
  • Price: ~$0.0000013
  • Listing: DeDust

TonBitcoin (tBTC)

  • Contract: EQBhF8jWase_Cn1dNTTe_3KMWQQzDbVw_lUUkvW5k6s61ikb
  • Features: Energy/Miner/Investor ecosystem + NFT equipment
  • Bot: @tBTCminer_bot

Meridian (MRDN)

  • Contract: EQCymLRXp1QYxZKek4CTInckB1ey5TkyAJQpPAlNetiO54Vt
  • Holders: 11,550+
  • Price: ~$0.0006
  • Listing: Ston.fi, DeDust
  • NFT: Magnetic Meridian collection (on-chain generation)

🎨 NFT System

Meridian pool includes random NFT drops when blocks are found:

// NFT Generated on Block Discovery
{
  type: 'Magnetic Meridian',
  character: ['Astronaut', 'Warrior', 'Mage', 'Robot', 'Dragon'],
  rarity: ['Common', 'Rare', 'Epic', 'Legendary'],
  id: <unique_hash>
}

πŸ” Security

  • βœ… TON wallet address validation
  • βœ… Minimum claim threshold ($1 USD)
  • βœ… Real hash verification
  • βœ… Nonce randomization
  • βœ… Anti-spam measures
  • βœ… Secure serverless functions

πŸ“ˆ Stats & Analytics

The app tracks:

  • Total active miners
  • Global hashrate across all pools
  • Blocks found per pool
  • Total rewards distributed
  • Recent blocks feed
  • Top miners leaderboard

πŸš€ Scalability

  • Serverless: Auto-scales with Vercel
  • No Database: In-memory state (upgrade to Redis for production)
  • Real-time: WebSocket support ready
  • Multi-region: CDN distribution
  • Cost: $0 for < 100k requests/month

πŸ› οΈ Development

Local Development

npm install
vercel dev
# App runs on http://localhost:3000

Testing Mining

// Simulate taps
for (let i = 0; i < 100; i++) {
  await fetch('/api/mining', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      userId: 12345,
      taps: i,
      poolId: 'minex',
      nonce: Math.random() * 1000000
    })
  });
}

πŸ“ Roadmap

  • Redis integration for persistent state
  • WebSocket for real-time updates
  • Auto-mining mode (passive income)
  • Referral system
  • Leaderboard rewards
  • More token pools
  • Mobile app (React Native)

🀝 Contributing

Pull requests welcome! For major changes, open an issue first.


πŸ“„ License

MIT License - Free to use and modify


πŸ”— Links


πŸ’¬ Support

For issues or questions:


Built with ⚑ by FasTapMining Team

Powered by TON Blockchain β€’ Real Mining β€’ Real Rewards

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors