Toxic Swamp
Monero/Aeon Web Miner add-on module for After Dark.
Monetize attention in one of more than 40 cryptocurrency mining pools with support for the March 2019 Monero hard fork.
Features
- Mine cryptocurrency while visitors browse your sites
- Reward effort during site development and publishing
- Transparent, unobtrusive multilingual user interface
- Does not use cookies or connect to any third-parties
- Obfuscates end-user IPs and other connection details
- Automatically starts when external power is detected
- Suspends operation during loss of power or attention
- Optimized for low-bandwidth high-latency connections
- Cannot be detected by MinerBlock extension at 1.2.12
Installation
Choose a module download source:
- www.npmjs.com/package/toxic-swamp - npm
- www.jsdelivr.com/package/npm/toxic-swamp - cdn
- codeberg.org/vhs/toxic-swamp - git
Extract module contents into site themes directory:
├── static
└── themes
├── after-dark
└── toxic-swamp
Verify Release Hash and GPG signature:
cd themes/toxic-swamp && \
npm install && npm run integrity && \
git tag --verify v1.0.0-beta.28
Specify module in site config:
6# Controls default theme and theme components
7theme = [
8 "toxic-swamp", # sequence before "after-dark"
9 "after-dark"
10]
Configure with payout address to start earning rewards:
36[params.modules.toxic_swamp]
37 enabled = true # Optional, set false to disable module
38 address = "your-address-here"
Earning Rewards
Using The Fire Swamp with a configured payout address, you may view your hash metrics and payout information from the MoneroOcean Dashboard:
See the MoneroOcean FAQ for more details.
The Fire Swamp
After Dark provides upgrade incentives The Fire Swamp using MoneroOcean to help you get started and as a fallback when custom proxies fail to connect.
The proxy servers are located at fs*.vhs.codeberg.page:80
and will be used by default until you Create Your Own Proxy or fall more than two major versions behind.
To maximize your rewards while using the Fire Swamp proxy you must try to keep your After Dark version up-to-date as illustrated here:
Latest Version | Your Version | Upgrade Incentive |
---|---|---|
7.0.0 | 7.0.0 | None |
7.0.2 | 7.0.1 | 2.2% |
7.1.0 | 7.0.2 | 13.6% |
8.0.0 | 7.1.0 | 34.1% |
To describe in more detail:
-
If a bugfix, documentation update, refactoring or other patch release occurs your upgrade incentive is 2.2% of your total combined mining hash power.
-
If an enhancement, feature or other minor release occurs your upgrade incentive is 13.6% of your total combined mining hash power.
-
If a breaking change, license update or other major release occurs your upgrade incentive is 34.1% of your total combined mining hash power.
-
If you fall more than one point release behind any minor or patch release the upgrade incentive will remain the same as if you were only one release behind.
-
If you fall more than two majors behind your miner may continue to function but you will be required to upgrade to maintain your upgrade incentive.
Maximize your incentive with reduced effort by using the Upgrade Script to check for and automatically update After Dark to the latest available version.
latest
version may be tracked programmatically using on the NPM registry and in JSON form
here.
Create Your Own Proxy
Advanced users may wish to configure their own proxy servers. To do so select Advanced Settings when generating configuration after standing-up your proxy server described in more detail here:
Expand to view details
Use the instructions in codeberg.org/vhs/mirrors/webminerpool to stand up your own proxy server and reference the following to understand connection activity:
Device | Toolbar | Miner | Proxy | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Charging | Online | Cores | Visible | Powered | Throttle | Status | Socket | Workers | Load | Online | Pool | Allow |
-- | -- | -- | -- | Off | -- | I | -- | -- | -- | -- | -- | -- |
Yes | Yes | 8 | No | On | Any | S | C | 8 | 0 | -- | -- | -- |
Yes | No | 8 | Yes | On | Any | S | E | 8 | 0 | -- | -- | -- |
No | Yes | 16 | Yes | On | 25 | I | C | 16 | 4 | Yes | K | Yes |
Yes | Yes | 16 | Yes | On | 25 | A | O | 16 | 12 | Yes | K | Yes |
Yes | Yes | 32 | Yes | On | 50 | A | O | 32 | 16 | Yes | K | Yes |
Yes | Yes | 32 | Yes | On | 75 | A | O | 32 | 24 | Yes | K | Yes |
Yes | Yes | 64 | Yes | On | Any | S | E | 64 | 0 | Yes | U | No |
Yes | Yes | 64 | Yes | On | Any | S | E | 64 | 0 | No | -- | -- |
Generate configuration with Advanced Settings
specified:
Enable debugging to output detailed socket messages from the proxy to the browser console by adding the following to your site config:
[params.modules.toxic_swamp]
debugging = true
Internationalization
English translations available for toolbar display:
- Indonesian (id)
- Russian (ru)
- Greek (el)
- German (de)
- Polish (pl)
- Italian (it)
Enable them with module translations
whitelist:
[params.modules.toxic_swamp]
translations = ["id", "ru", "el", "de", "pl", "it"] # English translations enabled
Use languageCode
site config to control which is displayed:
languageCode = "en-US" # English (United States) or English by default
languageCode = "id-ID" # Indonesian (Indonesia) or Indonesian, if available
languageCode = "ru-RU" # Russian (Russia) or Russian, if available
languageCode = "el-GR" # Greek (Greece) or Greek, if available
languageCode = "de-DE" # German (Germany) or German, if available
languageCode = "pl-PL" # Polish (Poland) or Polish, if available
languageCode = "it-IT" # Italian (Italy) or Italian, if available
Modify translations from inline.jsonld.html
in your site layouts
directory. If the file doesn’t exist yet, copy it from module default:
mkdir -p layouts/partials/modules/toxic-swamp/ && \
cp themes/toxic-swamp/layouts/partials/modules/toxic-swamp/inline.jsonld.html $_
Remove config and customizations to return to module defaults.