⚡ Official Technical Whitepaper

A-Network
Technical Whitepaper

A multi-phase ecosystem spanning Web2 proof-of-time session mining, Web3 visibility on BNB Chain, planned Web4 Layer 1 settlement, and ANET Core. Version 1.0.3 builds on the ANTS-first mining ledger with production backend hardening and wallet continuity controls: smart login OTP risk detection, trusted device management, one-time scheduled-account restore by email OTP, wallet PIN protection, encrypted seed phrase reveal with OTP verification, concurrent session claim protection via atomic transactions, BigInt-safe ANTS accounting, multilingual API responses (English + Filipino), a 2-hour grace period claim window, and a live notification worker.

Version — 1.0.3
Published — April 2026
Token — $ANET
Ledger Model — ANTS-first → ANET conversion after eligibility
Max Supply — 21,000,000 ANET
Smallest Unit — Ant (1 ANET = 100,000,000 Ants)

Abstract

A-Network v1.0.3 defines the Web2 mining backend as a hardened, production-grade proof-of-time system. Users do not mine ANET directly at session completion. They mine ANTS, the smallest accounting unit of ANET, during validated 6-hour sessions. ANET becomes claimable only after a miner reaches the eligibility threshold of 1,000 completed sessions.

The native currency is $ANET, capped at a hard maximum of 21,000,000 ANET. The smallest indivisible unit is one Ant, where 1 ANET = 100,000,000 Ants. Web2 mining therefore uses ANTS as the operating ledger unit and ANET as the delayed settlement unit. This avoids precision loss, supports future fee economics, and keeps the supply engine compatible with long-term Layer 1 settlement.

The network reward schedule follows a Bitcoin-style halving direction: the session reward starts at 0.048828125 ANET per session and halves as the network's total completed session count reaches global milestones. Halving is not triggered by registration count, referrals, or wallet balance. It is triggered only by total verified sessions across the network.

A-Network deliberately excludes referral reward amplification. The live backend supports F1 tracking plus a narrow activation credit: when a referred user completes their first successful mining session, the referrer receives exactly +1 credited session once. There are no coin bonuses, no percentage commissions, and no multi-level trees. This preserves a merit-based ledger while still rewarding real user activation.

21M
Max Supply (ANET)
100M
Ants per ANET
6h
Session Duration
4
Reward Stages (0-3)
500k
Sessions per Halving
4
Ecosystem Phases

Introduction — The Problem

The Failure of Web2

Web2 — the internet most users interact with today — is a closed-loop value extraction machine. Corporations harvest user data, attention, and behavioral signals, converting them into advertising revenue. Users are the product. They generate enormous value and receive nothing. Facebook, Google, and TikTok collectively extract hundreds of billions of dollars annually from unpaid human attention.

Web2 platforms have no scarcity model, no exit rights for participants, and no on-chain verifiability. Users cannot own their data, cannot monetize their contributions, and have no stake in the infrastructure they build with their time.

The Partial Solution of Web3

Web3 introduced ownership through tokenization and smart contracts — a monumental step forward. However, most Web3 systems suffer from speculative tokenomics, Sybil attacks via referral farming, and technical complexity that excludes billions of potential participants who do not own crypto wallets, understand gas fees, or can afford hardware mining equipment.

Web3 says "You are the owner" — but the entry barrier often ensures the same early-capital advantage that Web2 companies enjoy.

The A-Network Proposal

A-Network proposes a complete stack: beginning with a zero-cost, smartphone-accessible mining phase (Web2 App), transitioning through BNB Chain token infrastructure (Web3), graduating to a community-built Layer 1 blockchain that rewards every registered miner with transaction fees (Web4), and ultimately culminating in ANET Core — a self-sovereign, AI-augmented identity and application layer (Web5).

In this model: You are the value creator. Every action — every 6-hour session completed — contributes to a shared ledger that will persist across all future phases of the network.

The Vision

A-Network is not a short-term token project. It is a multi-decade infrastructure commitment. The roadmap is designed to grow with the technology landscape, from today's mobile app to a fully sovereign blockchain with its own consensus mechanism, validator economy, and application ecosystem.

Core Principles

  • Absolute Scarcity: 21,000,000 ANET will ever exist. Not one more. Once the last Ant is mined, the issuance engine halts permanently and block-reward mining transitions to fee-only sustenance.
  • Participation-First: No purchasing required. No GPU required. Every smartphone on Earth is a valid mining device. Mining is time-based, not compute-based.
  • Anti-Farming: No multi-level referral rewards. No whale accumulation through referral pyramids. Referral tracking exists purely for network growth transparency, not reward amplification.
  • Ledger Continuity: Every Web2 miner is a genesis participant. When Web4 Layer 1 launches, the Web2 ledger is migrated on-chain. No one is left behind. No one's sessions are erased.
  • Micro-Economic Precision: The Ant denomination (1/100,000,000th of an ANET) ensures the network remains economically viable even when ANET is highly valued — enabling micro-payments, gas fees, and nano-transactions without rounding errors.

Web2 vs Web3 vs Web4 vs ANET Core

Feature
Web2 (Legacy)
Web3 (Crypto)
Web4 / ANET Core
Control
Corporations
Decentralized DAOs
Smart + Community
Earnings
Companies earn
Users can earn
Users earn by activity
Focus
Ads & data
Tokens & ownership
Real contribution
Mining
N/A
PoW / PoS (hardware)
Time-Based PoW (smartphone)
Entry
Free (data cost)
Capital required
Free (time only)
Identity
Platform-owned
Pseudonymous
Self-sovereign (ANET Core)
Fees model
N/A
Gas (ETH/BNB)
Ants (transaction fees)
Example
Facebook
Ethereum
A-Network
ℹ️
Key Insight from the Comparison Web2: You are the product.  Web3: You are the owner.  Web4: You are the value creator.  ANET Core: You are the network itself.

Tokenomics — $ANET

The ANET token is the universal currency across all four ecosystem phases. It is not pre-mined, not VC-allocated, and not team-reserved. Every single ANET in existence has been or will be earned through real mining activity by real participants.

ParameterValueNotes
Token NameA-Network TokenOfficial full name
Ticker Symbol$ANETTraded symbol
Maximum Supply21,000,000 ANETHard cap, identical philosophy to Bitcoin
Smallest Unit1 AntLike Bitcoin's Satoshi
Unit Ratio1 ANET = 100,000,000 Ants8 decimal places of precision
Precision8 decimal placesStored as DECIMAL(20,8) in ledger
Pre-mine0 ANETNo team allocation, no VC reserve
Distribution100% via miningANTS accumulate per session; ANET is claimed after eligibility
NetworkBNB Chain (Web3)Contract: 0x791055A7d52AA392eaE8De04250497f33807E46A
Web4 NetworkANET Layer 1Designed — in development post max-supply
Issuance ModelANTS-first with delayed conversionSession mining credits ANTS first; ANET claim is supply-controlled

⚡ Ants — The Smallest Unit of ANET

In Bitcoin, the smallest indivisible unit is called a Satoshi (or Sat), where 1 BTC = 100,000,000 Satoshis. A-Network adopts the identical precision model but with its own cultural identity.

Definition: Ant

An Ant is the smallest indivisible unit of $ANET.

// Unit conversion 1 ANET = 100,000,000 Ants 1 Ant = 0.00000001 ANET // (1 × 10⁻⁸ ANET) // Total supply in Ants 21,000,000 ANET × 100,000,000 = 2,100,000,000,000,000 Ants // = 2.1 Quadrillion Ants total // Example rewards expressed in Ants 0.048828125 ANET/session = 4,882,812 Ants/session 0.0244140625 ANET/session = 2,441,406 Ants/session 0.006103515625 ANET/session = 610,351 Ants/session

Transaction fees on the Web4 Layer 1 will be denominated in Ants — enabling sub-cent fee structures even at high ANET valuations. On-chain amounts will always display with full 8-decimal precision.

A-NetworkEquivalentBitcoin
$ANETBTC
AntSatoshi (Sat)
100,000,000 Ants= 1 ANET100,000,000 Sats = 1 BTC
21,000,000 ANET max21,000,000 BTC max

Supply Exhaustion & Hard Cap Enforcement

The MAX_SUPPLY constant is hardcoded in the mining engine at exactly 21,000,000 ANET. Session completion adds only ANTS to the user ledger. Supply protection becomes critical during claim, where a user's convertible ANET is capped so that totalANETClaimed can never exceed 21,000,000.

// Safe conversion protection (from v1.0.2 model) if (user.totalSessions < requiredSessionsForEligibility) { claimableANET = 0; } claimableANET = user.totalANTS / antsPerAnet; if (global.totalANETClaimed + claimableANET > MAX_SUPPLY) { claimableANET = MAX_SUPPLY - global.totalANETClaimed; } claimableANET = max(claimableANET, 0);
⚠️
Irreversible Hard Cap Once the combination of claimed ANET and remaining claimable supply reaches the hard cap, no further ANET conversion can occur. This preserves absolute scarcity across Web2 accounting and future chain settlement.

Web2 Phase — Time-Based Mobile Mining

The Web2 phase is the entry point into the A-Network ecosystem. It requires only a smartphone and internet access. There is no GPU mining, no staking capital, and no specialized hardware. In v1.0.3, the Web2 backend acts as a server-validated ledger that records time-based contribution, ANTS accumulation, eligibility progress, delayed ANET conversion, wallet continuity controls, and migration-ready account state.

The 6-Hour Session Model

Mining in A-Network is structured around fixed 6-hour sessions. Each session is a discrete unit of validated participation. A user initiates a session, waits 6 hours, and completes it. On completion, the ledger credits ANTS rather than immediately issuing ANET. The session duration cannot be shortened, and instant completion attempts are rejected.

Session Lifecycle

  1. Prerequisites Met: User must have verified email + created ANET wallet identity (and may optionally set a Web4 migration wallet address).
  2. Session Start: User taps "Start Mining". The server records last_mining_start = NOW(), writes a mining_sessions row, and sets is_mining = TRUE.
  3. Active Phase (0–6 hours): Session runs server-side. App tracks countdown timer. Push notification is scheduled for the 6-hour mark.
  4. Completion Eligible (≥ 6 hours): The server validates elapsed time. Only sessions where NOW() - last_mining_start ≥ 21,600 seconds are accepted.
  5. Reward Calculation: Halving stage is computed from total network sessions. Reward is calculated as an ANET-equivalent session reward, then credited to the user ledger in ANTS.
  6. Session Reset: is_mining = FALSE. User can immediately start next session.
// Session validation (server-side) const diffHours = (NOW() - last_mining_start) / 3600000; if (diffHours < 6) return { error: "Mining not complete" }; // One session per 6 hours per account // One active session at a time (is_mining flag) // Maximum 4 sessions per day // Unique device binding prevents session duplication

Session Capacity Rules

Daily and Account Limits

  • Max cycles per day: 4 completed sessions per account per calendar day.
  • Session duration: exactly 6 hours of server-observed elapsed time.
  • No overlap: an account cannot begin a second session while one is active.
  • Eligibility threshold: users become eligible to convert ANTS into ANET after 1,000 completed sessions.
  • Timestamps tracked: the backend stores per-session start and completion records for audit, analytics, and abuse detection.

Prerequisites for Mining

RequirementPurposeEnforcement
Email VerificationSybil resistance — one real person per accountOTP verification required before first session
Wallet SetupBind each miner to a unique ANET wallet identity and optional Web4 migration addressGenerate Wallet is required before mining; migration wallet can be saved for future Layer 1 migration
Device BindingReduce duplicate-account and automation abuseDevice ID is required before mining is allowed
Single Active SessionPrevents parallel session farmingis_mining flag; duplicate start returns error
Daily Cycle CapStops 24/7 API farming and keeps mining cadence predictable4 sessions per day enforced at the database/session log level
Rate LimitingAPI abuse preventionGlobal limit baseline 100 requests / 15 minutes per IP, with stricter route-level limits on sensitive actions

Session Halving — The v1.0.3 Reward Formula

A-Network v1.0.3 uses a Bitcoin-style halving schedule at the application ledger layer. The reward starts at 0.048828125 ANET per completed 6-hour session and halves each time the network reaches another 500,000 total completed sessions. The trigger is not user count. The trigger is network activity.

This design makes the reward curve predictable, analytics-friendly, and resistant to vanity metrics. A user cannot unlock a higher reward tier through referrals, token purchases, or wallet size. The only driver is aggregated proof-of-time from the network as a whole.

Dashboard interpretation: current mining output can be displayed in ANTS because ANTS is the smallest live accounting unit of ANET. Users may also see an estimated ANET equivalent, but the ledger source of truth during Web2 remains ANTS accumulation until claim eligibility is reached.

The Halving Level Formula

// === HALVING STAGE COMPUTATION === // Step 1: Read the total completed sessions in the network totalSessions = SUM(users.successful_sessions); // Step 2: Advance stage every 500,000 sessions halvingStage = floor(totalSessions / 500,000); halvingStage = min(halvingStage, 3); // Step 3: Apply Bitcoin-style halving to the base session reward baseReward = 0.048828125; rewardPerSession = baseReward / (2 ^ halvingStage); rewardPerSessionAnts = floor(rewardPerSession × 100,000,000);
💡
Why Session-Based Halving? Session-driven halving is easier to audit, harder to manipulate, and cleaner for analytics. It ties the reward schedule to actual throughput of the protocol instead of ambiguous growth metrics such as sign-ups or social expansion.

Important metric distinction: Eligibility and halving are now separate concepts. A user becomes eligible to convert after 1,000 sessions, but halving progression is driven only by totalSessions at the network level.

Threshold Milestones to the Next Halving Stage

// To advance from Stage N to Stage N+1: Required Total Sessions = (N+1) × 500,000 // Example: Stage 0 → Stage 1 // Needs: 500,000 total completed sessions network-wide // Example: Stage 2 → Stage 3 // Needs: 1,500,000 total completed sessions network-wide // Stage 3 is the capped final halving stage in v1.0.2

Complete Reward Table

The v1.0.2 reward table is intentionally compact and predictable. There are four stages, from Stage 0 to Stage 3, with each stage halving the session reward. This allows a clean public API, simpler frontend interpretation, and easier data warehousing for analytics.

Halving Stage Total Sessions Threshold Trigger Rule ANET / Session Ants / Session Direction Status
Stage 0 0 - 499,999 Total sessions below 500,000 0.04882813 ANET 4,882,812 Ants Initial launch reward Launch Rate
Stage 1 500,000 - 999,999 Total sessions reach 500,000 0.02441406 ANET 2,441,406 Ants First halving Upcoming
Stage 2 1,000,000 - 1,499,999 Total sessions reach 1,000,000 0.01220703 ANET 1,220,703 Ants Second halving Upcoming
Stage 3 1,500,000+ Total sessions reach 1,500,000 0.00610352 ANET 610,351 Ants Final capped halving stage Capped

Sessions Required to Exhaust Supply

// Theoretical example using Stage 0 only sessionsAtInitialRate = 21,000,000 / 0.048828125 ≈ 430,080,000 // In practice, the reward halves as total network sessions increase. // So issuance is the weighted sum of all completed sessions across // stages 0, 1, 2, and 3, plus claim timing and supply truncation. // The hard cap applies at the ANET claim boundary, not only at session crediting.

Anti-Gaming & Security Rules

Mining apps are high-value targets for automation abuse. A-Network implements multiple overlapping defenses:

Attack VectorDefense Mechanism
Bot sessions6-hour server-validated timer + heartbeat verification + risk scoring and audit logs
Multiple accounts per personEmail OTP verification + device binding with configurable device account cap (default: 2)
Parallel session farmingis_mining boolean prevents starting second session
Daily farming loopsMaximum 4 sessions per user per day
Referral reward farmingReferrals are tracking-only; zero reward amplification
Instant completion attemptsServer rejects completion before the full 6-hour window and flags suspicious behavior
Over-mintingHard supply cap enforced during ANET conversion; conversion truncates to remaining supply
Wallet ownership integrityEach account has a unique ANET wallet identity and can save a migration wallet for Web4
Unverified accountsemail_verified check on start/complete; suspicious attempts are flagged and logged
Session spoofing / inactivityServer validates last_heartbeat gap and minimum heartbeat count before reward completion
Risk-heavy claimsClaim is blocked if account is flagged or risk score exceeds configured threshold
Login from new device or IPSmart OTP risk detection: unrecognized device_id, new IP address, or is_trusted_device = FALSE triggers a 6-digit email OTP before JWT is issued
OTP brute forceMaximum 5 OTP attempts per OTP code; 5-minute expiry; account locked from OTP after exceeding limit
Concurrent session double-claimSELECT ... FOR UPDATE row lock inside a database transaction on every session claim prevents parallel requests from crediting ANTS twice
Late claim abuse2-hour grace window: claims after 8h from session start are rejected as missed sessions

Web3 Phase — BNB Chain Integration

Web3 is the visibility bridge between the A-Network mining economy and the decentralized financial world. In the current product, Web2 remains the source of truth for session mining and ANTS accumulation, while the BNB Chain presence provides public token visibility, wallet references, and ecosystem discovery.

ANET Token Contract

Contract Details

Contract Address0x791055A7d52AA392eaE8De04250497f33807E46A
NetworkBNB Smart Chain (BSC) — Chain ID: 56
StandardBEP-20
Decimals8 (matching Ant precision)

Wallet Identity & Migration Address

Each account can create a unique ANET wallet identity in-app. This wallet is linked to the miner profile and is used to display the user's currently claimed ANET while also preserving tracked ANTS for migration visibility.

Users can also save a separate migration wallet address for future Web4 Layer 1 migration. This allows migration planning ahead of chain launch while preserving mining continuity and future identity portability.

In the current release, wallet custody is protected by layered controls: an optional wallet PIN, encrypted server-side seed storage, email OTP verification before seed reveal, and backward-compatible local fallback support for older users whose legacy seed was never migrated to encrypted storage.

Current Wallet Behavior

  • Generate Wallet: Generates a unique ANET wallet identity for each user account.
  • Check Balance: Shows claimed ANET balance and tracked ANTS derived from the Web2 ledger.
  • Set Migration Wallet: Optional address field for future Web4 migration routing.
  • Wallet PIN: Users can set, change, or recover a 4-8 digit wallet PIN through email OTP verification.
  • Seed Recovery Flow: Seed phrase reveal requires a valid wallet PIN and an email OTP; legacy plaintext seed records are migrated on-demand into encrypted vault fields before reveal.
  • Legacy Device Fallback: If no encrypted server seed exists, the app can fall back to older local device backups after verification.
  • Web3 Role: BNB Chain contract remains the ecosystem visibility layer while Web4 Layer 1 is prepared.
⚠️
Seed Phrase Warning Your seed phrase grants full access to your wallet. A-Network staff will NEVER ask for your seed phrase. Store it offline in at least two physical locations.

Web4 Phase — ANET Layer 1 Blockchain

When the 21,000,000 ANET maximum supply is fully mined in the Web2 phase, A-Network activates its most transformative milestone: the launch of the ANET Layer 1 blockchain — a purpose-built distributed ledger that extends the time-based mining concept into a full Proof-of-Work consensus system, while migrating every Web2 miner's ledger balance on-chain.

This is not a token swap. This is a ledger synchronization and chain genesis. Every ANET balance, every completed session, and every wallet address recorded in the Web2 database becomes part of the genesis block of the Web4 chain.

Time-Based Proof-of-Work (TPoW)

Traditional Proof-of-Work (Bitcoin) requires computational work — hash calculations demanding specialized hardware (ASICs). This concentrates mining power with wealthy hardware operators and excludes the majority of Earth's population.

A-Network's Time-Based Proof-of-Work (TPoW) replaces computational work with committed time. The "work" is a verified 6-hour active node participation window. This preserves Bitcoin's core properties — permissionless participation, verifiable contribution, block-reward issuance — while democratizing access to any participant with a mobile device.

TPoW vs Traditional PoW Comparison

PropertyBitcoin PoWA-Network TPoW
Work UnitHash computation (SHA-256)Time commitment (6 hours verified)
HardwareASIC miners ($10k–$100k)Any smartphone
EnergyEnormous (gigawatts)Negligible (background app)
Sybil resistanceHash rate costEmail verification + time cost
Block time~10 minutes6 hours (one session = one block contribution)
Reward modelBlock reward + feesBlock reward (Web2) → fees only (Web4)
DecentralizationHardware-limitedSmartphone-universal

Block Structure on ANET Layer 1

Each block on the ANET Layer 1 chain represents a 6-hour epoch. All miners who completed their session within that epoch are credited as the block's contributors. The block contains:

// ANET Layer 1 Block Structure (Conceptual) Block { blockNumber: uint64, epochStart: timestamp, // 6h window start epochEnd: timestamp, // 6h window end miners: address[], // all who completed TPoW transactionRoot: bytes32, // Merkle root of txns stateRoot: bytes32, // account state hash totalFees: uint64, // in Ants feePerMiner: uint64, // totalFees / miners.length prevBlockHash: bytes32, blockHash: bytes32 }

Transaction Fees — Paid in Ants

After the max supply of 21,000,000 ANET is reached, no new ANET is created. The network transitions from a block-reward model to a fee-only model — identical to Bitcoin's long-term economic design. This is where the Ant denomination becomes critical.

How Transaction Fees Work in Web4

  1. Any ANET transfer on the Layer 1 chain requires a small fee denominated in Ants.
  2. Fees accumulate in a block fee pool during each 6-hour epoch.
  3. At epoch close, all miners who completed TPoW in that block are eligible to split the fee pool equally — regardless of when they registered or how many total sessions they have.
  4. Pro-rata distribution: If 10,000 miners completed TPoW in a block and 5,000,000 Ants were collected in fees, each miner receives 500 Ants for that block.
  5. No minimum stake required. Every verified miner with a completed session is eligible.
  6. Full ANTS role: Ants are the unit for fees, block-level accounting, micro-payments, and miner payout settlement across Layer 1.

In the application dashboard, ANET supply and ANTS supply can both be shown side by side. This gives users a clear view of whole-token economics and smallest-unit accounting at the same time.

// Block fee distribution formula feePerMiner = totalBlockFees (Ants) / activeMinerCount // Example calculation // Block epoch collects: 10,000,000 Ants in fees // Active miners: 50,000 feePerMiner = 10,000,000 / 50,000 = 200 Ants // = 0.000002 ANET per miner per block // At 4 blocks per day (6h/block) = 800 Ants/day // = 292,000 Ants/year per consistently active miner // = 0.00292 ANET/year (at 50k miners and current estimate) // Fee income scales with ANET value × network activity
Why Ants make this work At a hypothetical $100 ANET price, 200 Ants = $0.0002. This is economically viable as a micro-reward for network participation. At $10,000/ANET (long-term), 200 Ants = $0.02 per block — meaningful daily income from fee mining alone, especially for participants in lower-cost economies.

Web2 → Web4 Migration Specification

The migration from the Web2 PostgreSQL ledger to the Web4 Layer 1 blockchain is the most critical operation in A-Network's history. It must be transparent, verifiable, and zero-loss. Every wallet identity, migration wallet, ANTS balance, claimed ANET total, and session count must be preserved exactly.

Migration Process — Step by Step

  1. Migration Snapshot Window: The Web2 ledger exports a signed snapshot of all participating users, including wallet_address, migration_wallet_address, ant_balance, claimed_anet, and successful_sessions.
  2. Eligibility Mapping: Users who have reached the migration threshold of 1,000 sessions can be marked as fully eligible migration participants, while lower-session accounts remain auditable in the snapshot for future governed treatment.
  3. Genesis Block Construction: The ANET Layer 1 genesis block is constructed from the signed snapshot. Each user's approved migration mapping, ANTS-derived state, and claimed ANET settlement become part of the initial state tree.
  4. Chain Launch: The genesis block is sealed, hashed, and broadcast to the initial validator set (early miners who meet node eligibility thresholds).
  5. Verification Period: A 30-day public verification window allows any participant to audit their balance against the published snapshot.
  6. Full Activation: After verification, the Layer 1 chain is opened for transactions, smart contracts, and fee mining.

Ledger Re-Organization — Last Miner First

The genesis state of the Web4 chain can be populated from the Web2 database using a recent-activity-first synchronization order. This favors the latest verified state while minimizing downtime for miners who remain active near migration.

Why Reverse-Chronological Sync?

The design rationale is threefold:

  • Activity Incentive: Miners who are still actively participating at the moment of max-supply are most likely to be the foundation of the Web4 validator set. They are synchronized first to minimize their downtime.
  • Chain Integrity: The most recent balances represent the most up-to-date, accurate state of the ledger. Starting from the latest state and working backward ensures the genesis block reflects reality.
  • Sybil Protection: Long-dormant accounts with zero recent activity (suggesting bot or abandoned accounts) are synchronized last, reducing their influence on the initial chain state.
// Sync order query (conceptual) SELECT wallet_address, balance, successful_sessions FROM users WHERE balance > 0 ORDER BY updated_at DESC // most recently active first // All miners with balance > 0 are included // (regardless of when they first registered)
🔗
Migration Principle Web2 is the canonical source of mining history. The published snapshot must preserve account existence, wallet links, ANTS accumulation, claimed ANET, and session history. The exact migration treatment of sub-threshold accounts remains a governed policy matter, but no valid ledger record should be silently lost.

ANET Core — Web5 Layer

ANET Core is the fifth and final phase of the A-Network ecosystem. Where Web4 built the infrastructure (the chain), Web5 builds the intelligence and identity layer on top of it. ANET Core is not simply a product — it is a protocol for self-sovereign identity, decentralized AI services, and community governance.

The codename "ANET Core" reflects its role: the nucleus of the A-Network universe. All other phases — mining, token, chain — converge here.

Core Features

1. Decentralized Identity (DID)

Every A-Network participant who has completed at least 1,000 mining sessions qualifies for a self-sovereign identity — a cryptographically verifiable on-chain identity linked to their mining history. This DID is:

  • Not controlled by any company or platform
  • Portable across all ANET Core applications
  • Backed by on-chain session history (proof-of-participation)
  • Used for governance voting, dApp access, and reputation scoring

2. Community Governance

Mining history becomes governance weight. Miners with more completed sessions (and by extension, more ANET earned through genuine participation) have proportionally more influence in protocol upgrades, parameter changes, and ecosystem fund allocation.

  • Proposal threshold: Minimum 100 successful sessions to submit governance proposals
  • Voting weight: Proportional to verified session count (not raw token balance, preventing whale dominance)
  • Timelock: All approved protocol changes include a minimum 7-day timelock before execution

3. dApp Ecosystem

ANET Core functions as an application platform. Developers can deploy decentralized applications that:

  • Use ANET as native currency (fees in Ants)
  • Verify user identity through DID without centralized data storage
  • Access the ANET Core identity graph for reputation-gated features
  • Integrate with the mining history ledger for proof-of-participation requirements

AI Integration Layer

ANET Core includes a protocol-level AI layer that enables:

  • Personal AI agents — owned by the user, not a corporation. AI models run on the user's data without exporting it to centralized servers.
  • Federated learning — AI models improve from participant contributions without centralizing training data.
  • On-chain AI inference market — Participants can offer AI compute services and earn Ants for processing inference requests.
  • ANET Support Bot — An initial AI assistant built on the ANET Core identity layer, accessible to all miners for ecosystem guidance.
🧠
The Web5 Philosophy Web2: You are the product. Web3: You are the owner. Web4: You are the value creator. ANET Core / Web5: You are the network itself. Your identity, your computation, your data — all sovereign.

F1 Referral System — Tracking First, Activation Credit Only

A-Network includes a single-level (F1) referral system primarily for network growth transparency. The live backend does not implement pyramid rewards, commissions, or multi-level earnings. It does, however, grant one narrow activation credit: when a referred miner completes their first successful session, the referrer receives exactly +1 credited session once.

What the Referral System Does

  • Tracks who invited whom (one level deep, F1 only)
  • Grants a one-time +1 successful session to the referrer when the referred user finishes their first successful mining session
  • Counts how many of your F1 referrals have completed ≥ 1,000 sessions
  • Displays your personal session progress toward the 1,000-session level milestone
  • Will be used in ANET Core governance weighting as a social graph signal

What the Referral System Does NOT Do

  • ❌ No coin rewards for referring
  • ❌ No recurring session rewards per referral activity
  • ❌ No session multipliers
  • ❌ No multi-level (F2, F3...) chains
  • ❌ No influence farming via referral counts

Why this design? Because A-Network believes that fake growth is worse than slow growth. A one-time first-session credit rewards real activation without opening the door to exponential referral farming. The system recognizes successful onboarding, but the ledger still depends overwhelmingly on the miner's own verified session history.

Security Model

🔐
Email Is The Primary Recovery Rail A-Network enforces email verification by OTP during registration as the account activation step and uses the same email channel for sensitive recovery actions. In the current release, scheduled account deletion can be reversed exactly once through an email OTP restore flow before final deletion is completed. In the Web4 migration model, ownership remains anchored to Email + Wallet Address together.

Authentication Architecture

  • JWT Tokens: All API endpoints require Bearer token authentication. Tokens expire and are refreshed on session activity.
  • Email OTP (Registration): Account activation requires OTP verification during registration — one-time ownership confirmation that works globally without SMS cost.
  • Smart Login OTP (v1.0.3): On every login attempt, the server evaluates risk signals — unrecognized device_id, new IP address, or is_trusted_device = FALSE. If any risk factor is detected, a 6-digit OTP is sent to the user's email and the login is held pending OTP verification via POST /auth/verify-login-otp. Successful verification marks the device as trusted for future logins.
  • Trusted Device Management (v1.0.3): Each device is flagged as trusted after first successful OTP verification. Subsequent logins from the same device bypass OTP unless a new IP is detected. OTP attempts are capped at 5 per token; exceeded attempts lock the OTP and require re-login.
  • One-Time Account Restore: If an account is in the scheduled-deletion state, the owner can request an email OTP through POST /auth/account-restore/request and confirm it through POST /auth/account-restore/confirm. This recovery path is intentionally single-use.
  • Rate Limiting: Global baseline 100 requests per 15 minutes per IP, with additional route-specific throttles for auth/mining actions.
  • IP Logging: Last IP recorded per user for anomaly detection (not persisted in history, only current).
  • Multilingual Responses (v1.0.3): All API error and success messages are localized to the user's preferred_language. English (en) and Filipino (tl) are the launch locales. Users can update their language preference via POST /auth/set-language.

Database Security

  • Passwords stored as bcrypt hashes (minimum 10 rounds) — plaintext never stored.
  • Wallet identity is generated and linked at account level with server-validated uniqueness constraints.
  • Wallet PIN values are stored only as bcrypt hashes; plaintext PINs are never stored.
  • Seed phrase vault data is stored encrypted at rest using encrypted seed, IV, and authentication tag fields; legacy plaintext seed values are migrated on-demand and then removed.
  • Seed reveal requires both the wallet PIN and a time-limited email OTP, with retry caps enforced server-side.
  • Seed phrase should still be stored offline by the account owner after initial backup; server-assisted recovery is a continuity control, not a substitute for self-custody discipline.
  • PostgreSQL with parameterized queries throughout — SQL injection surface is zero.

Ledger Integrity

  • DECIMAL(20,8) balance type for legacy ant_balance field; v1.0.3 introduces parallel ants_balance stored as BIGINT for precision-safe integer arithmetic using BigInt literals.
  • All session claim operations are wrapped in a database transaction with row-level locking (SELECT ... FOR UPDATE) to prevent concurrent double-credit of ANTS from parallel API calls.
  • Backward-compatible ledger repair: on login and migration, ants_balance is set to GREATEST(existing, sessions × 4888) — never reduced, never overwritten unsafely.
  • Database-level triggers ensure updated_at is always accurate.
  • Cascade delete protections on mining session foreign keys.
  • All balance changes are atomic SQL transactions — partial credit is impossible.

Session Lifecycle (v1.0.3)

  • Session End Time: Every session claim sets session_end_time = NOW() + 6h for the next session window, enabling exact grace-period enforcement.
  • Grace Period: 2-hour grace window after the 6h session window closes. Claims received between 6h and 8h are accepted. Claims after 8h are flagged as missed sessions.
  • Notification Worker: A 60-second server interval worker polls for users whose session_end_time ≤ NOW() and notification_sent = FALSE, triggering completion push notifications and dashboard failsafe updates.

Roadmap

Phase 1 — Completed
Web2 Mining App Launch
Launch of the Android mining application with 6-hour time-based sessions, ANTS-first mining ledger, email OTP verification, leaderboard, referral tracking, and push notifications. Backend deployed on cloud infrastructure with PostgreSQL ledger.
Android App ✓ Mining Engine ✓ Referral System ✓ Leaderboard ✓ Push Notifications ✓ Web3 Wallet Module (Staged)
Phase 1b — Completed
App Stability & Bug Fixes
Resolution of notification spam, mining state lock issues, balance sync improvements, and ad optimization. App published on Google Play Store. Version 1.0.2 introduced session-based halving, migration progress visibility, ANTS-first accounting, and staged wallet UX.
Play Store ✓ Notification Fix ✓ Balance Sync ✓ Ad Stability ✓ Strict ANTS Rule ✓
Phase 1c — Completed
Production Backend Hardening (v1.0.3)
Complete security and reliability overhaul of the Web2 backend. Introduced smart login OTP risk detection — new device, new IP, or untrusted device triggers a 6-digit email OTP before JWT is issued. Trusted device management with 5-attempt OTP lockout. Concurrent session double-claim is fully prevented by SELECT…FOR UPDATE database transactions. ANTS balance uses BigInt arithmetic throughout, eliminating any precision risk. A 2-hour grace period window allows late session completion claims. Multilingual API responses in English and Filipino. 60-second notification worker processes expired sessions server-side. User dashboard endpoint with failsafe notification trigger. Comprehensive PostgreSQL schema migration with backward-compatible ledger repair.
Smart OTP Login ✓ Trusted Device ✓ Atomic Claim TX ✓ BigInt ANTS ✓ Grace Period ✓ i18n (en/tl) ✓ Notification Worker ✓ Dashboard API ✓
Phase 1d — Completed
Account Continuity, Wallet Recovery & Open-Test Readiness
Release-ready update for closed-test expansion and open-testing preparation. Added one-time scheduled account restore by email OTP, wallet PIN set/change/reset flows, encrypted server-side seed phrase protection with OTP-gated reveal, backward-compatible legacy seed fallback handling, optional migration wallet persistence, and a refined investor-facing wallet and Web4 presentation inside the app.
Account Restore ✓ Wallet PIN ✓ Seed OTP Reveal ✓ Migration Wallet ✓ Open-Test Ready ✓
Phase 2 — In Progress
iOS App Launch & User Growth
Publication of the iOS version on the Apple App Store. Expansion of the global session ledger toward the first 500,000-session halving milestone. Community building, international outreach, ecosystem education content, and live network statistics dashboards.
iOS App 500k Sessions Target Community Growth Network Dashboard
Phase 3
Web3 Token Activation & DEX Listing
Full activation of the BEP-20 ANET token on BNB Chain. Integration with decentralized exchanges (DEX). On-chain wallet balance verification within the app. ANET token visible and tradable on PancakeSwap and BSC explorers. Token price oracle integration.
BEP-20 Active DEX Listing PancakeSwap BSCScan Price Oracle
Phase 4
Stage 3 Halving & Supply Maturity
Network reaches the capped stage-3 halving range after 1,500,000 total sessions. Reward stabilizes at the final configured session level for v1.0.2, supply countdown becomes more visible, and Web4 migration planning intensifies.
1.5M Sessions Stage 3 0.00610352 ANET/Session Web4 Planning
Phase 5 — Key Milestone
Max Supply Reached — Web4 Layer 1 Activation
The most important milestone in A-Network's history. When the 21,000,000 ANET hard cap is reached, Web2 mining halts permanently. The Web2 PostgreSQL ledger snapshot is taken, cryptographically signed, and published. The ANET Layer 1 genesis block is constructed from this snapshot. The node network (comprised of active Web2 miners) bootstraps the chain. Time-Based Proof-of-Work begins on Layer 1 — all miners earn transaction fees in Ants for every block they participate in.
Max Supply Reached Ledger Snapshot Genesis Block TPoW Consensus Fee Mining Begins Re-Org Sync
Phase 6
Web4 Layer 1 — Full Ecosystem
Full Layer 1 operations: smart contracts, ANET dApps, developer tooling (SDK, RPC, explorer), token bridges (BNB ↔ ANET Layer 1), and Ants-denominated gas market. ANET Layer 1 becomes a fully independent, self-sustaining blockchain. External developer grants issued from the ecosystem fund (funded by a portion of genesis block transaction fees).
Smart Contracts dApps Platform SDK / RPC ANET Explorer Cross-Chain Bridge Developer Grants
Phase 7 — Long-Term Vision
ANET Core (Web5) — Identity, AI & Governance
Deployment of the ANET Core protocol: decentralized identity (DID) for all ≥1,000-session miners, on-chain governance weighted by participation history, personal AI agents owned and controlled by users, federated learning marketplace, and a self-sovereign application ecosystem. ANET Core represents the culmination of the A-Network vision: an internet where users are the network.
DID Protocol On-Chain Governance Personal AI Agents Federated Learning AI Inference Market Web5 Complete