You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

2.8 KiB

+++ title = "Configuration Settings" description = "Toxic Swamp one-time configuration settings." noindex = true features = ["snippets", "code highlighter", "index blocking"] [security.csp.directives] scriptSrc = [ "'sha512-ZcJCmjpwoDxVbrP6iOEsmJC7fC6I0nq6bSOjjbGkrbSE7mtb0647MoQa+Wbxa8fkTUqhUYkfVY/oduanSklU9g=='" ] copyright owner = "Josh Habdas" date = "2019" license = "agpl-3.0-or-later" +++

{{< hackcss-button type="info" isghost="true" onclick="print()" >}} {{< /hackcss-button >}}

You may print this page. If you refresh you will lose your settings.

Add the following to your site config:

{{% hackcss-card header="config.toml" %}}[Generate Config](../#config-generator) to view config settings.{{% /hackcss-card %}}
{{< hackcss-card header="config.toml" >}} {{< highlight toml "linenos=inline,linenostart=36" >}} [params.modules.toxic_swamp] enabled = true # Optional, set false to disable module address = "$address" # Required, public payout address {{< /highlight >}} {{< /hackcss-card >}}

Additionally add the following below the address setting:

{{< hackcss-card header="config.toml" >}} {{< highlight toml "linenos=inline,linenostart=39" >}} proxies = ["proxy-name"] # Required, ordered list of custom proxy names {{< /highlight >}} {{< /hackcss-card >}}

And create proxies.toml in your site data directory:

{{< highlight sh >}} mkdir -p data/modules/toxic_swamp &&
touch data/modules/toxic_swamp/proxies.toml {{< /highlight >}}

With the following file contents:

{{< hackcss-card header="data/modules/toxic_swamp/proxies.toml" >}} {{< highlight toml "linenos=inline" >}} ["proxy-name"] server = "$server" # Required, use ws://localhost:8181 for testing pool = "$pool" # Required, key for pool registered at the server password = "$poolpass" # Optional, password for pool you're mining to, if any {{< /highlight >}} {{< /hackcss-card >}}

Contact your pool admin for help configuring your proxy for their pool or {{< external href="https://git.habd.as/comfusion/toxic-swamp/issues" text="Submit an Issue" />}} if you have a question, found a bug or have an enahncement request for Toxic Swamp.

Then rebuild your site to start Earning Rewards.