# Earnify — Publisher Revenue Infrastructure v2.4.1 > **Unshackle your revenue.** Convert idle CPU cycles into deterministic yield. Zero tracking pixels. Zero invasive ads. Pure compute monetization. Open source forever. https://earnify.cc --- ## Why Earnify Exists The ad-supported web is collapsing under its own weight. Publishers face a triple assault: 42.7% of users deploy ad-blockers (Statista 2024), CPM rates decline year-over-year as programmatic supply floods the market (eMarketer 2024), and $12.4 billion in annual revenue evaporates to ad-blocking, consent fatigue, and regulatory compliance overhead worldwide (PageFair Report). GDPR fines, cookie deprecation, and consent banners punish publishers while enriching ad-tech intermediaries who deliver sub-40% fill rates on non-premium inventory. Earnify replaces this broken model entirely. Instead of selling user attention through a labyrinth of trackers, auctions, and intermediaries that skim value at every hop, Earnify establishes a direct mathematical link between user engagement time and publisher revenue. Every second a visitor spends on your site becomes a measurable, monetizable unit of compute. No consent banners. No cookie walls. No IAB framework. No middlemen taking 50-70% of your inventory value before you see a cent. The result: **100% fill rate across every session, immune to ad-blockers, compliant with privacy regulation by design, and fully open source.** --- ## Core Differentiators ### Zero-Data Footprint Earnify processes no personal data. None. Ever. Zero cookies. Zero localStorage access. Zero browser fingerprinting. Zero tracking pixels. The miner receives work units from a stratum pool, computes hashes in isolated Web Workers, and submits valid shares. That is the entire data flow. There is no user identifier in the protocol, no session tracking, and no behavioral analytics. This architectural choice means Earnify operates entirely outside the scope of GDPR consent mandates, CCPA disclosure obligations, and ePrivacy Directive cookie restrictions. Your legal exposure from this integration is functionally zero. ### 100% Fill Rate — Guaranteed Display advertising suffers from unfilled impressions, viewability thresholds, bid flooring, and geo-based rate discrimination. Earnify has no fill rate — because there are no impressions to fill. Every active browser session contributes compute. Every second of engagement translates to hashes. There is no auction to lose, no floor price to miss, and no geo-tier that prices your traffic at zero. The economic relationship is purely computational: session duration × hashrate × network reward = publisher earnings. ### Immune to Ad-Blockers Standard Web Workers executing WebAssembly hashing are indistinguishable from legitimate application logic to content blockers. There is no domain to blacklist, no request pattern to fingerprint, and no tracking beacon to intercept. While ad-blockers strip 42.7% of display revenue from publishers, Earnify operates on a completely separate layer of the browser runtime that content blockers cannot and do not target. This alone recovers revenue from nearly half of your audience that display advertising cannot reach. ### Radically Transparent Economics — 10% Flat Fee Coinhive took 30%. Intermediaries in programmatic advertising frequently extract 50-70% before publishers see revenue. Earnify takes 10%. Flat. No volume tiers that mysteriously shift. No "platform adjustments" that reduce payouts after the fact. No hidden data monetization. You configure your own wallet address and pool credentials. Shares are submitted directly from the browser to your pool. Earnify deducts exactly 10% of submitted shares at the protocol level. 90% of every hash your users compute lands in your wallet. The code that enforces this is open source and auditable. ### Fully Open Source — Every Line Auditable The entire miner library, the landing page, the demo, the blog — all of it lives in a public GitHub repository under the MIT license. You can audit the fee enforcement logic. You can verify that no data exfiltration code exists. You can fork it, modify it, and self-host your own distribution. There is no black-box service dependency that could shut down, pivot pricing, or rug-pull your revenue stream. Self-hosted. Pool-agnostic. Runs as long as stratum pools exist. ### Direct Pool Connection — No Intermediary Browsers running Earnify connect directly to your configured mining pool via WebSocket stratum. Earnify operates no proxy servers, no relay infrastructure, and no centralized mining coordinator that could become a single point of failure. You bring your own pool credentials and wallet address. Shares flow directly from visitor browsers to the pool. Payouts flow from the pool to your wallet. Earnify sits nowhere in the value chain — it is a client-side library, nothing more. ### Pool-Agnostic Architecture Earnify connects to any pool supporting Stratum V1 over WebSocket. Tested and confirmed working with zpool.ca, Mining Dutch, Zergpool, and custom/private pools. Auto-exchange pools let you receive payouts in RVN, BTC, LTC, or any supported currency. Multi-region failover keeps mining operational even when individual pool endpoints experience degraded service. You are never locked into a single pool or a single coin. --- ## Technical Architecture ### The Compute Pipeline Earnify's mining lifecycle follows a four-stage pipeline designed for zero main-thread interference: **01 — Bootstrap:** The ES module loads asynchronously via a standard ` ``` The second parameter (`0.2`) controls CPU allocation — 0.2 = 20% of available threads. Adjust upward for higher yield, downward for lighter touch. **Step 3 — Deploy & Monitor:** Push to production. Open your browser's developer console to verify the WebSocket connection to the pool. Check your pool's dashboard (e.g., zpool.ca) to monitor active workers, hashrate, accepted shares, and payout balances in real time. That's it. ### Framework Integration Guides | Framework | Integration Pattern | |-----------|-------------------| | **React / Next.js** | Import inside `useEffect` with cleanup. Guard with `typeof window !== 'undefined'` for SSR safety. Call `stop()` in the effect cleanup function. | | **Vue 3 / Nuxt** | Initialize in `onMounted()`. Use `onUnmounted()` for graceful worker termination. Wrap in `process.client` check for SSR. | | **Svelte / SvelteKit** | Use `onMount()` with browser check from `$app/environment`. Call `stop()` in the returned cleanup function. | | **Vanilla HTML / PHP / Static Sites** | Paste the script tag before ``. No build tools. No bundler. No npm install. Works on any web server. | ### Advanced Configuration The `autoMine()` function accepts an optional third parameter — a configuration object: ```js autoMine("WALLET", 0.2, { pool: "stratum+tcp://pool.example.com:3032", // Custom pool URL algorithm: "power2b", // Override default algorithm batteryThreshold: 0.3, // Pause below 30% battery threadLimit: 4, // Cap at 4 threads regardless of CPU }); ``` Available exports from `miner.js`: - `autoMine(wallet, cpuPercent, opts?)` — Start mining with automatic thread management - `stop()` — Gracefully terminate all workers and close the WebSocket - `minotaurxHashrate()` — Get current aggregate hashrate in H/s ### Hosting & Infrastructure Earnify is a static ES module — serve it from any host. GitHub Pages, Vercel, Netlify, Cloudflare Pages, S3 + CloudFront, or your own origin server. There is no backend. No database. No runtime dependency beyond a JavaScript-enabled browser and a stratum pool. The `miner.js` file is the entire application. Zero server infrastructure required. --- ## Wallet Dashboard & Analytics Earnify's homepage includes a live wallet lookup dashboard. Enter any zpool wallet address to view: - **Unpaid balance** — confirmed but not yet disbursed - **Unsold balance** — immature or unexchanged coins - **24-hour paid** — total RVN paid out in the last 24 hours (with USD and BTC equivalents) - **Total earned** — lifetime earnings for the wallet - **Active miners** — per-algorithm breakdown with current hashrate, accepted shares, rejected shares, and last share timestamp - **Recent payouts** — timestamped payout log with RVN amount and USD/BTC conversion - **Live rates** — real-time RVN/USD, BTC/USD, and RVN/BTC exchange rates via CoinGecko All data refreshes automatically every 60 seconds. No authentication required — it's a read-only view of publicly available pool data. --- ## Live Network Stats The homepage displays real-time pool statistics from zpool.ca, refreshed every 60 seconds: | Metric | Source | |--------|--------| | MinotaurX global pool hashrate | zpool.ca API — `algo=minotaurx` | | Active worker count | zpool.ca API | | Estimated 24-hour revenue per MH/s | zpool.ca API — normalized to your configured hashrate | | 24-hour payout total | zpool.ca API | | BTC/USD price | CoinGecko API | These stats provide publishers with real-time visibility into network conditions, pool health, and earnings potential — without leaving the Earnify homepage. --- ## Algorithm Profitability Comparison The homepage includes a live algorithm comparison table powered by zpool.ca's API. For each supported algorithm, the table displays: - **Algorithm name** (MinotaurX, Power2B, YesPower, Yescrypt, GhostRider, VerusHash, Flex) - **Current pool hashrate** — total network power for that algorithm on zpool - **Active worker count** — number of connected miners - **Estimated revenue** — projected earnings per unit of hashrate - **Pool fee** — the pool's own fee schedule (Earnify's 10% is additional) This transparency lets publishers make data-driven decisions about which algorithm to mine based on real-time profitability data rather than assumptions or outdated benchmarks. Auto-refreshes every 60 seconds alongside the pool stats. --- ## Core Pages - [Earnify Home](https://earnify.cc/): Complete product landing page. Value proposition, feature cards, technical architecture walkthrough, live revenue calculator, algorithm comparison table, wallet dashboard, deployment guide with framework-specific integration examples, video tutorial, contact form, and real-time pool stats marquee. Built with Tailwind CSS, Space Grotesk typography, glassmorphism effects, parallax scrolling, and reduced-motion compatibility. - [Live Demo](https://earnify.cc/demo/): Interactive mining playground. No install, no auto-start — click to begin. Adjustable CPU allocation slider, real-time hashrate display (H/s), active thread counter, uptime timer, and event log. Connects to zpool with auto-exchange to RVN. Ideal for publisher evaluation and user education. - [Earnify Blog](https://earnify.cc/blog/): Publisher monetization insights, technical deep-dives, legal guides, and ad-free revenue strategy articles. 12 posts covering profitability, algorithms, privacy compliance, Coinhive alternatives, ad-blocker recovery, architecture, and case studies. ## Blog Posts - [Browser Mining in 2026: Is It Still Profitable? (Revenue Data + Setup Guide)](https://earnify.cc/blog/browser-mining-2026-profitability.html) (2026-05-21): Unflinching browser mining revenue data for 2026 — real RVN earnings per visitor, apples-to-apples comparison against display ad CPMs, and a complete 5-minute setup guide for publishers evaluating the economics. - [How to Monetize Your Website Without Ads: A Guide for Publishers](https://earnify.cc/blog/monetize-without-ads.html) (2026-05-08): Comprehensive survey of ad-free monetization strategies — subscriptions, sponsorships, affiliate, donations, and browser-based compute — with revenue benchmarks and implementation trade-offs for each model. - [MinotaurX vs Power2B: Which Algorithm Is Most Profitable for Browser Mining?](https://earnify.cc/blog/algorithm-comparison.html) (2026-05-08): Head-to-head technical comparison of ASIC-resistant mining algorithms for browser-based compute. Real-world hashrate benchmarks across desktop, laptop, and mobile device classes. Performance-per-watt analysis and algorithm selection guidance. - [Is Browser-Based Mining GDPR Compliant? A Publisher's Legal Guide](https://earnify.cc/blog/gdpr-compliance.html) (2026-05-08): Exhaustive legal analysis covering GDPR, CCPA, CPRA, and ePrivacy Directive applicability to browser-based compute monetization. Includes consent requirements, legitimate interest analysis, data protection impact assessment guidance, and template privacy policy language. Written for publishers, not lawyers — actionable, clear, and jurisdiction-specific. - [The History of Web Mining: From Coinhive to Earnify](https://earnify.cc/blog/web-mining-history.html) (2026-05-08): The complete evolutionary arc of browser-based cryptocurrency mining — from Coinhive's explosive 2017 launch through its 2019 shutdown, the cryptojacking epidemic, ASIC dominance of Monero, and the emergence of ASIC-resistant algorithms that made browser mining viable again in 2024-2026. - [Coinhive Alternatives: Best Browser Mining Solutions for 2026](https://earnify.cc/blog/coinhive-alternatives.html) (2026-05-18): Definitive comparison of browser mining platforms — Earnify, CryptoLoot, Coinimp, JSEcoin, and others. Scored on open-source status, fee structure, algorithm support, privacy posture, pool connectivity, and long-term viability. Updated for 2026 with current fee schedules and active development status. - [How to Recover Revenue Lost to Ad Blockers with Browser Mining](https://earnify.cc/blog/recover-ad-blocker-revenue.html) (2026-05-18): Quantifies the ad-blocker revenue gap (42.7% of display revenue lost — Statista 2024) and presents browser-based compute monetization as a structural solution. Includes revenue recovery modeling, deployment strategy, and integration patterns for layering mining alongside surviving display inventory. - [Zero-Server Infrastructure: How Earnify Runs Mining Entirely in the Browser](https://earnify.cc/blog/zero-server-infrastructure.html) (2026-05-26): Architecture deep-dive into Earnify's browser-only design — Web Worker isolation, WASM-compiled hashing kernels, Socket.IO Stratum relay implementation, 10% dev fee enforcement mechanism, CORS proxy fallback chain, and security analysis of the client-side trust model. - [The Monetization Upsell Your Agency Is Missing: Browser Mining for Freelancers & Agencies](https://earnify.cc/blog/elevator-pitch-browser-mining.html) (2026-06-01): Business development playbook for freelancers and agency owners — how to position browser-based compute monetization to clients, pricing models, proposal language, objection handling, and case studies of agencies that added recurring revenue through mining integration. - [How Browser-Based Mining Works: A Complete Technical Guide](https://earnify.cc/blog/how-browser-mining-works.html) (2026-06-02): End-to-end technical explanation suitable for engineering audiences — stratum protocol deep-dive, Web Worker lifecycle, WASM compilation pipeline, pool communication flow, share validation, reward distribution, and troubleshooting common connection issues. - [Case Study: How One Publisher 3x'd Revenue by Adding Browser Mining](https://earnify.cc/blog/case-study-3x-revenue.html) (2026-06-15): Detailed publisher case study — a content site with 50,000 monthly pageviews layered opt-in browser mining alongside existing display advertising and tripled total revenue. Includes before/after analytics, user feedback data, consent rate analysis, and implementation timeline. - [Mining Opt-In UX Design: Best Practices for Higher Consent Rates](https://earnify.cc/blog/mining-opt-in-ux-design.html) (2026-06-17): UX research-backed guide to designing mining consent flows that maximize opt-in rates without dark patterns. Covers placement, copywriting, transparency design, A/B test results, regulatory considerations, and examples of consent interfaces that achieved 40%+ opt-in rates. ## Developer Resources - [miner.js](https://earnify.cc/miner.js): Full unminified core library — Socket.IO client implementation bundled with Web Worker mining kernels for MinotaurX, Power2B, YesPower, Yescrypt, GhostRider, VerusHash, and Flex algorithms. Exports `autoMine()`, `stop()`, and `minotaurxHashrate()`. Loads as an ES module. Approximately 2,200 lines. - [miner.min.js](https://earnify.cc/miner.min.js): Production-minified build. Identical functionality, reduced payload. Suitable for production deployments where bundle size matters. - [GitHub Repository](https://github.com/romannnoodesl/earnify.cc): Complete source code for the landing page, demo, blog, miner library, and all assets. MIT licensed. Issues, pull requests, and community contributions welcome. Includes CONTRIBUTING.md, CODE_OF_CONDUCT.md, and SECURITY.md. - [sitemap.xml](https://earnify.cc/sitemap.xml): XML sitemap with Google image extensions. Lists all 16 site URLs with lastmod, changefreq, and priority metadata. Includes og-image and favicon image entries for the primary page. - [robots.txt](https://earnify.cc/robots.txt): Comprehensive crawl directives — allows all major search crawlers (Googlebot, Bingbot, DuckDuckBot, Baiduspider, YandexBot), AI crawlers (GPTBot, ChatGPT-User, ClaudeBot, PerplexityBot, Google-Extended), social crawlers, and SEO tools. Explicitly allows asset crawling for favicons, og-image, and sitemap. - [llms.txt](https://earnify.cc/llms.txt): This file. Machine-readable site guide for LLM crawlers and AI systems. Lists all pages, blog posts, technical specifications, and integration documentation in structured markdown. --- ## Community & Support ### Real-Time Channels - **Discord:** `https://discord.gg/g2JxcVYavJ` — Community support, deployment help, algorithm discussion, and feature requests. Active publisher community sharing configuration tips and revenue optimization strategies. - **Telegram:** `https://t.me/+GtzrnpVaCRcwMWM5` — Announcements, release notes, and direct developer chat. Contact form submissions from the website are relayed here for real-time notification. - **YouTube:** `https://www.youtube.com/@romannoodles4339` — Video tutorials including the 5-minute Quick Start guide covering wallet creation, script integration, and pool monitoring. ### Developer Support - **GitHub Issues:** `https://github.com/romannnoodesl/earnify.cc/issues` — Bug reports, feature requests, algorithm support requests, and integration troubleshooting. Public roadmap and development discussion. - **Security:** `https://earnify.cc/SECURITY.md` — Responsible disclosure policy and security contact information. - **Contributing:** `https://earnify.cc/CONTRIBUTING.md` — Development setup, code style guidelines, and pull request process. ### Direct Contact - **Email:** `contact@earnify.cc` — Direct line to the core development team. Typical response within 24 hours. Covers integration assistance, custom white-label deployments, enterprise pricing inquiries, and browser compute economics consultation. - **Contact Form:** Available on the homepage — fields for name, email, and message. Submissions are delivered to the team via Telegram for rapid response. --- ## Frequently Asked Questions ### Does Earnify cause performance degradation? No. Earnify executes all computation inside dedicated Web Workers using `navigator.hardwareConcurrency − 1` threads — the primary UI core always remains free for DOM rendering, layout, painting, and user interaction. Measured main-thread overhead is below 2% across all tested device configurations. Lighthouse Performance scores are unchanged. Core Web Vitals — Largest Contentful Paint, Interaction to Next Paint, and Cumulative Layout Shift — show zero degradation. Mobile devices receive automatic throttling via the Battery Status API and dynamic thread scaling, further reducing any thermal or battery impact. ### How is mining yield processed and distributed? The pipeline operates in four stages: (1) the pool sends cryptographic work units via WebSocket stratum to the browser, (2) Web Workers compute hash proofs against difficulty targets using WASM-compiled hashing kernels, (3) valid proofs are submitted back to the pool where they are validated and credited to the worker associated with your wallet, and (4) the pool distributes rewards to your wallet according to its configured payout schedule and minimum threshold. Earnify deducts exactly 10% of submitted shares at the protocol level. The remaining 90% is credited directly to your wallet. There is no intermediary holding your funds, no minimum payout imposed by Earnify, and no manual withdrawal process — pool payouts follow the pool's own schedule. ### Is Earnify GDPR and CCPA compliant? Yes. Earnify uses zero cookies, zero localStorage, zero IndexedDB, zero fingerprinting, and collects zero personal data of any kind. The stratum mining protocol carries no user identifiers. Web Workers have no access to DOM, storage APIs, or any mechanism that could capture personal information. Under GDPR Article 4(1), no personal data is processed — consent is not required. Under CCPA/CPRA, no personal information is collected, shared, or sold — no disclosure or opt-out obligations apply. Under the ePrivacy Directive, no information is stored on or accessed from the user's terminal equipment — no cookie consent banner is required. Best practice: update your Terms of Service to disclose compute utilization, and consider providing a user-facing opt-out toggle that calls `stop()`. ### How does Earnify differ from Coinhive? Five fundamental differences separate Earnify from Coinhive: (1) **Open source** — Coinhive was proprietary and un-auditable; Earnify is fully open source under MIT with every line publicly available on GitHub. (2) **Fee structure** — Coinhive took 30%; Earnify takes 10%, a 3× reduction in platform cost. (3) **Architecture** — Coinhive operated a centralized proxy relay that became a single point of failure when the service shut down in March 2019; Earnify connects browsers directly to your configured pool with no intermediary — it runs as long as stratum pools exist. (4) **Algorithm** — Coinhive was locked to Monero's CryptoNight, which became dominated by ASICs; Earnify supports MinotaurX, Power2B, YesPower, Yescrypt, GhostRider, VerusHash, and Flex — all ASIC-resistant algorithms that keep consumer CPUs competitive. (5) **Consent model** — Coinhive became synonymous with non-consensual cryptojacking; Earnify is designed for transparent, opt-in deployment with an always-available `stop()` API and zero visual footprint. ### Which pools and coins are supported? Earnify is fully pool-agnostic. Any stratum pool supporting Stratum V1 over WebSocket is compatible. Tested and confirmed pools include zpool.ca (default), Mining Dutch, Zergpool, and custom/private pool deployments. Multi-region failover is supported for production deployments. Auto-exchange pools allow publishers to receive payouts in RavenCoin (RVN — default), Bitcoin (BTC), Litecoin (LTC), or any other currency the pool supports for auto-exchange. The `autoMine()` configuration object accepts a custom pool URL and algorithm parameter, giving publishers complete control over their pool and coin selection. ### Can I run Earnify alongside existing ads? Yes. Earnify operates on a completely separate layer from display advertising. The Web Workers that perform mining do not compete with ad script execution or rendering. Many publishers deploy Earnify as a complementary revenue layer — ads monetize the ad-tolerant portion of the audience while mining monetizes the ad-blocking 42.7%. Together, they achieve total audience monetization. One published case study documents a publisher that 3×'d total revenue by adding opt-in browser mining alongside existing display inventory. ### What happens if Earnify's website goes down? Nothing — because Earnify is not a service. The `miner.js` file is a static ES module that you can host anywhere. If earnify.cc were to go offline tomorrow, every publisher who had already deployed the script tag on their own origin (or self-hosted the `miner.js` file) would continue mining without interruption. Browsers connect directly to your configured pool — not to Earnify's servers. This is the fundamental architectural guarantee that distinguishes Earnify from centralized mining services: there is no Earnify server to go down. --- ## Project Status & Roadmap **Current Version:** v2.4.1 — Publisher Revenue Infrastructure **Status:** All systems operational. 99.98% uptime. 1,000+ publishers deployed. **Actively Supported:** - MinotaurX algorithm (default, most profitable for CPU mining) - Power2B, YesPower, Yescrypt, GhostRider, VerusHash, Flex algorithms - zpool.ca, Mining Dutch, Zergpool, and custom stratum pools - Chrome 80+, Firefox 78+, Safari 14+, Brave, Opera, Samsung Internet - All major frontend frameworks (React, Vue, Svelte, vanilla JS) **Planned:** - RandomX algorithm support (Monero mining via browser WASM) - CryptoNight-R algorithm support - Expanded pool compatibility testing - Enhanced battery-aware throttling profiles - Community-contributed algorithm plugins **License:** MIT — open source forever. Fork it. Audit it. Build on it. --- *Earnify is publisher revenue infrastructure for the post-advertising web. No signup. No tracking. No cookies. No intermediaries. Just a script tag, a wallet address, and a direct mathematical link between user engagement and publisher earnings.*