+++ title = "Toxic Swamp" slug = "toxic-swamp" description = "Monero/Aeon Web Miner add-on module for After Dark." summary = "Monero/Aeon Web Miner." categories = ["addon"] tags = ["module", "monetization", "rewards", "cryptocurrency"] features = ["snippets", "related content"] [security.csp.directives] scriptSrc = [ "'sha512-TKVuLlCT8+a0Chpa6Pw3clhu9fhZ9JOzgblgxQaUQVP/z4lfPnrdyWDOgucORnS2qapWu/iPVG2d0ywyGH2NjA=='" ] [[copyright]] owner = "Josh Habdas" date = "2019" license = "agpl-3.0-or-later" +++ Monetize attention in one of more than 40 cryptocurrency mining pools with support for the March 2019 Monero hard fork. {{< hackcss-alert >}} {{< video controls="true" src="https://habd.as/code/toxic-swamp/assets/toxic-swamp-demo.mp4" preload="auto" poster="https://habd.as/code/toxic-swamp/images/after-dark-v6.15.0-homepage-fs8.png" width="100%" >}} {{< /hackcss-alert >}} # 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: - {{< external "https://www.npmjs.com/package/toxic-swamp" />}} - npm - {{< external "https://www.jsdelivr.com/package/npm/toxic-swamp" />}} - cdn - {{< external "https://git.habd.as/comfusion/toxic-swamp" />}} - git Extract module contents into site themes directory: ``` ├── static └── themes ├── after-dark └── toxic-swamp ``` Verify [Release Hash]({{< relref "release-hashes" >}}) and GPG signature: ```sh cd themes/toxic-swamp && \ npm install && npm run integrity && \ git tag --verify v1.0.0-beta.28 ``` Specify module in site config: {{< highlight toml "linenos=inline,linenostart=6" >}} # Controls default theme and theme components theme = [ "toxic-swamp", # sequence before "after-dark" "after-dark" ] {{< /highlight >}} Configure with payout address to start earning rewards: {{< highlight toml "linenos=inline,linenostart=36" >}} [params.modules.toxic_swamp] enabled = true # Optional, set false to disable module address = "your-address-here" {{< /highlight >}} # Earning Rewards Using [The Fire Swamp](#the-fire-swamp) with a configured payout address, you may view your hash metrics and payout information from the {{< external href="https://moneroocean.stream/?dark#/dashboard" text="MoneroOcean Dashboard" />}}: {{< figure alt="MoneroOcean Dashboard screenshots" src="/images/screenshots/monero-ocean-dashboard-fs8.png" caption="Monero Ocean Dashboard showing Toxic Swamp mining activity." >}} See the MoneroOcean {{< external href="https://moneroocean.stream/?dark#/help/faq" text="FAQ" />}} for more details. # The Fire Swamp After Dark provides upgrade incentives The Fire Swamp using {{< external href="https://moneroocean.stream/?dark" text="MoneroOcean" />}} to help you get started and as a fallback when custom proxies fail to connect. The proxy servers are located at `fs*.habd.as:80` and will be used by default until you [Create Your Own Proxy](#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% |
latest
version may be tracked programmatically using on the NPM registry and in JSON form {{< external href="https://registry.npmjs.org/-/package/after-dark/dist-tags" text="here" />}}.
{{< /hackcss-alert >}}
{{< hackcss-alert type="info" >}}
Note: After Dark updates are typically backwards compatible with existing modules though there may be cases where module updates are required.
{{< /hackcss-alert >}}
# 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:
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 | -- | -- |
Optional. Create Your Own Proxy before using.
{{< hackcss-formgroup name="servergroup" >}} {{< hackcss-label for="server" text="Proxy Server:" />}} {{< hackcss-textinput type="url" id="server" name="server" placeholder="wss://domain.example:80" >}} {{< hackcss-helpblock >}} Web Socket URL for custom proxy server. {{< /hackcss-helpblock >}} {{< /hackcss-formgroup >}} {{< hackcss-formgroup name="poolgroup" >}} {{< hackcss-label for="pool" text="Mining pool:" />}} {{< hackcss-select id="pool" name="pool" >}} {{< /hackcss-select >}} {{< hackcss-helpblock >}} Select a {{< external href="https://git.habd.as/comfusion/webminerpool/src/branch/master/server/pools.json" text="supported pool" />}} to mine with. {{< /hackcss-helpblock >}} {{< /hackcss-formgroup >}} {{< hackcss-formgroup name="poolpassgroup" >}} {{< hackcss-label for="poolpass" text="Password:" />}} {{< hackcss-textinput type="password" id="poolpass" name="poolpass" >}} {{< hackcss-helpblock >}} Password for your pool. Often not needed. {{< /hackcss-helpblock >}} {{< /hackcss-formgroup >}} {{< hackcss-formgroup name="throttlegroup" >}} {{< hackcss-label for="throttle" text="Throttle:" />}} {{< hackcss-textinput type="number" id="throttle" name="throttle" placeholder="Use 90 for 10% capacity" step="5" min="70" max="90" >}} {{< hackcss-helpblock >}} Override default of 70 (30% capacity). {{< /hackcss-helpblock >}} {{< /hackcss-formgroup >}} {{< hackcss-formgroup name="useridgroup" >}} {{< hackcss-label for="userid" text="User Id:" />}} {{< hackcss-textinput type="text" id="userid" name="userid" placeholder="Any string with a length < 200 characters" maxlength="200" >}} {{< hackcss-helpblock >}} Combine hash metrics for all users. {{< /hackcss-helpblock >}} {{< /hackcss-formgroup >}}