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.
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
| 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) |
// 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
}USER TAPS β Generates Hash β Contributes Shares to Pool
β
Block Discovered
β
βββββββββββββββββ΄ββββββββββββββββ
β β
70% to Finder 30% to Pool
(who found block) (divided by shares contributed)
- Real SHA-256 hashing algorithm
- Adjustable difficulty per pool
- Nonce generation for hash attempts
- Block height tracking
- Pending shares accumulation
- Multi-token balance tracking (MineX, tBTC, MRDN)
- NFT collection from Meridian pool
- Minimum claim threshold ($1 USD value)
- TON wallet validation
- Automatic payout transactions
- 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
- Telegram Mini App SDK integration
- TON Connect wallet support
- Serverless architecture (Vercel)
- Real-time state management
- Responsive mobile-first UI
- AutoTap System - Passive share generation
- Referral Program - Invite friends and earn bonuses
- Daily Rewards - Login streak multipliers
- Achievements - Unlock rewards by reaching milestones
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
π 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!
Cosa serve:
- Account Vercel (gratis)
- Database PostgreSQL (Vercel Postgres o Supabase, gratis)
- Bot Telegram (crea con @BotFather)
Add these to Vercel:
TOKEN_API_BOT=<your_telegram_bot_token># 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# 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- Open Mini App in Telegram
- Select Mining Pool (MineX, TonBitcoin, or Meridian)
- Tap to Mine - Each tap generates hash attempt
- Find Blocks - When hash < difficulty, earn reward!
- Accumulate Tokens - MineX, tBTC, MRDN + NFTs
- Claim Rewards - Enter TON wallet, claim when threshold met
TAP β Generate Nonce β Hash(userId+taps+nonce+block)
β
Check: hash < difficulty?
β
βββββββββββ΄βββββββββββ
β β
YES NO
BLOCK FOUND! Shares Added
70% Finder Keep Mining
30% Pool
- Contract:
EQCLQWTYtsNbk8bn7ed8hqpoxKwXQ1iMGadM8Lae6S-rzNfA - Holders: 4,466+
- Price: ~$0.0000013
- Listing: DeDust
- Contract:
EQBhF8jWase_Cn1dNTTe_3KMWQQzDbVw_lUUkvW5k6s61ikb - Features: Energy/Miner/Investor ecosystem + NFT equipment
- Bot: @tBTCminer_bot
- Contract:
EQCymLRXp1QYxZKek4CTInckB1ey5TkyAJQpPAlNetiO54Vt - Holders: 11,550+
- Price: ~$0.0006
- Listing: Ston.fi, DeDust
- NFT: Magnetic Meridian collection (on-chain generation)
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>
}- β TON wallet address validation
- β Minimum claim threshold ($1 USD)
- β Real hash verification
- β Nonce randomization
- β Anti-spam measures
- β Secure serverless functions
The app tracks:
- Total active miners
- Global hashrate across all pools
- Blocks found per pool
- Total rewards distributed
- Recent blocks feed
- Top miners leaderboard
- 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
npm install
vercel dev
# App runs on http://localhost:3000// 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
})
});
}- 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)
Pull requests welcome! For major changes, open an issue first.
MIT License - Free to use and modify
- GitHub: https://github.com/Marcone1983/FasTapMining
- Vercel: https://fas-tap-mining.vercel.app
- TON: https://ton.org
- MineX: https://t.me/MineXton_bot
- TonBitcoin: https://t.me/tBTCminer_bot
- Meridian: https://meridian.wtf
For issues or questions:
- GitHub Issues: https://github.com/Marcone1983/FasTapMining/issues
- Telegram: @FasTapMining (coming soon)
Built with β‘ by FasTapMining Team
Powered by TON Blockchain β’ Real Mining β’ Real Rewards