Install Earnify WP: Browser Mining for WordPress in 2 Minutes
Install the plugin, paste your RVN wallet address, flip a switch. That's it. No API keys, no accounts, no code — just two minutes and you're mining.
Most WordPress monetization guides start with "insert this script tag into your theme" and end with "then debug the console errors." We took a different approach: we built an actual WordPress plugin.
Earnify WP is a free, open-source plugin that connects your WordPress site to zpool.ca via Earnify's MinotaurX WebAssembly miner. You enter your RavenCoin wallet address, pick a CPU percentage, and toggle it on. That's the entire workflow. No functions.php edits, no header/footer plugin hacks, no Google Tag Manager workarounds.
Why a Plugin Instead of a Script Tag
We started with the script tag approach. It worked — but every WordPress user hit the same friction points:
- Where do I paste this? — Header/footer plugins add bloat. Theme files get overwritten on updates. GTM requires another account.
- How do I change the wallet later? — Dig through theme files again. Hope you remember where you put the snippet.
- How do I know if it's working? — Open the console. Cross your fingers.
- How do I turn it off temporarily? — Delete the script tag. Then re-add it. Painful.
The plugin solves all of this. Settings are stored in the WordPress database. Toggling is one click. Wallet changes take effect instantly. The status banner tells you exactly what's happening.
Step 1: Get the Plugin
Download earnify-wp.zip from the Earnify homepage or grab it directly from the GitHub repository. The zip contains a single folder — earnify-wp/ — with the plugin files, CSS, JS, and translation support.
No dependencies. No composer. No npm. Just a plain WordPress plugin.
Step 2: Install & Activate
- In your WordPress admin, go to Plugins → Add New → Upload Plugin.
- Select the
earnify-wp.zipfile and click Install Now. - Click Activate.
You'll now see "Earnify Miner" appear in your Settings menu.
<script type="module"> tag to your footer and nothing else on the frontend. Your PageSpeed scores won't budge.
Step 3: Enter Your Wallet & Configure
Go to Settings → Earnify Miner. You'll see four fields:
| Field | What to do | Example |
|---|---|---|
| RVN Wallet Address | Paste your RavenCoin wallet address | RXi399jsFYHLeqFhJ... |
| CPU Usage | Drag the slider (5%–100%) | 20% |
| Mine For | Pick your audience | All visitors |
| Enable Mining | Flip the toggle on | ON |
The wallet field validates your address automatically. If it starts with R and looks like a RavenCoin address, a "Check balance on zpool" link appears — click it to see your earnings in real time.
The CPU slider defaults to 20%, which is safe for most sites. If your visitors spend 5+ minutes per session (long-read articles, documentation, forums), you can bump it to 30–40%. If your site gets mostly quick bounces, keep it at 10–15%.
No RavenCoin wallet yet? Create one in under 2 minutes: download Zelcore or Trust Wallet on your phone, create a new RVN wallet, and copy the receiving address. That's it.
Step 4: Verify It Works
- Visit your site's frontend (the public-facing page).
- Open your browser's Developer Tools (F12 → Console).
- You should see:
[Earnify] Mining started — 2 thread(s) - The number of threads depends on your CPU setting and the visitor's hardware.
Behind the scenes, the plugin injected an ES module script that imported autoMine() from https://earnify.cc/miner.js and passed your wallet and CPU settings. The miner connects to zpool via WebSocket Stratum, and accepted shares start accumulating.
How the Plugin Works Under the Hood
The plugin is 4 files:
- earnify-wp.php — Registers activation hooks, stores default settings, boots the admin and frontend classes.
- class-admin.php — Renders the settings page, registers fields with WordPress Settings API, validates the wallet address format.
- class-frontend.php — Checks if mining should run (enabled? wallet set? right audience?), then prints the inline module script in
wp_footer. - assets/js/admin.js — Live-updates the range slider value and strips whitespace from wallet input.
Settings are stored as standard WordPress options (ewp_wallet, ewp_cpu_pct, ewp_enabled, ewp_audience). No custom tables. No external API calls. The plugin never phones home — it only injects the miner script which connects directly to zpool.
Tuning for Your Audience
| Site Type | Recommended CPU | Audience Setting | Why |
|---|---|---|---|
| News / blog | 15–20% | All visitors | Sessions are short; keep it light |
| Documentation / wiki | 25–35% | All visitors | Users stay for minutes; maximize yield |
| Membership / forum | 20–30% | Guests only | Don't mine your paying members |
| Tool / SaaS free tier | 15–20% | Guests only | Subtle monetization for free users |
| Portfolio / landing | 10% | All visitors | Small traffic; don't risk UX |
When Do You Get Paid?
Shares are submitted to zpool.ca in real time. zpool accumulates your unpaid balance and pays out automatically once you reach the threshold (typically 0.05 RVN). You can check your balance anytime at zpool.ca/wallet/YOUR_ADDRESS.
Earnify takes a flat 10% fee — implemented as one dev thread per mining session. The remaining threads mine to your wallet. This is fully transparent: the dev thread is visible in the console and uses the same zpool connection.
Common Questions
Do I need an earnify.cc account? No. The plugin is completely self-contained. You only need a RavenCoin wallet address.
Does this slow down my site? No. The miner runs in a Web Worker (off the main thread) so pages stay responsive. The plugin itself is <20 KB and adds no database queries on the frontend.
What if I change themes? Nothing breaks. The plugin is theme-independent and works with any WordPress theme.
Can I use this on WordPress.com? Only on Business or eCommerce plans that support third-party plugins. It works on all self-hosted WordPress.org sites.
Is this legal? Yes. The miner only runs when you enable it. It uses the visitor's CPU for computation — similar to JavaScript-heavy web apps. We recommend mentioning it in your privacy policy for full transparency.
Install Earnify WP — 2 Minutes to Revenue
Free WordPress plugin. Open source. Wallet address, CPU slider, one toggle. That's it.
Get the Plugin