Monetize attention in one of more than 40 cryptocurrency mining pools and take home 200% more per hash when compared to Coinhive.1
- Earn cryptocurrency while visitors browse your sites
- Reward effort during site development and publishing
- Transparent, unobtrusive multilingual user interface
- 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
Choose a module download source:
- www.npmjs.com/package/toxic-swamp - npm
- www.jsdelivr.com/package/npm/toxic-swamp - cdn
- git.habd.as/comfusion/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.16
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"
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*.habd.as: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|
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.
latestversion 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 git.habd.as/comfusion/webminerpool to stand up your own proxy server and reference the following to understand connection activity:
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
English translations available for toolbar display:
- Indonesian (id)
- Russian (ru)
- Greek (el)
Enable them with module
[params.modules.toxic_swamp] translations = ["id", "ru", "el"] # English translations enabled
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
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.