A multithreaded DUCO Miner for the Nintendo Switch.
- Unzip
[release].zip
, copyswitch/
to the root of your SD card. - Set
config.txt
, explained below. - Launch the miner from HB menu.
Key | Type | Description |
---|---|---|
node |
str none |
The IP address of the node to connect to. Can be found manually here. If left empty the application will use https://server.duinocoin.com/getPool to find one. |
port |
int none |
The port of the node. If this is left blank, the application will find a node using the method above. Regardless if the node is set. |
wallet_address |
str |
The address/username of your duinocoin wallet. |
miner_key |
str none |
As specified in Wallet > Settings > Miner Key . Leave blank if not applicable. |
difficulty |
str |
The starting difficulty. The node will automatically negotiate the difficulty. Valid starting difficulties are LOW MEDIUM NET and EXTREME . LOW is recommended for this application. EXTREME is not used anywhere officially. More information on difficulties can be found here. |
rig_id |
str |
A friendly name for your miner which displays in the wallet. |
cpu_boost |
bool |
Either true or false .Using ApmCpuBoostMode with mode ApmCpuBoostMode_FastLoad . |
iot |
bool |
Either true or false . Upload IoT data to your wallet (Temperature, Battery charge). |
threads |
int |
Number of threads to mine on. Between 1 and 6. |
web_dashboard |
bool |
Either true or false . The web dashboard will run on port 8080 of the switch's IP address. |
- Install devkitpro with
switch-dev
,switch-curl
andswitch-zlib
using the Getting Started guide. For building releases you will needzip
. - Clone https://github.com/tbwcjw/nxducominer.git.
- Copy
config.sample.txt
toconfig.txt
and fill in the fields*. -
make (all)
- build the application and generate a release.
make build
- build the application.
make release
- builds and generate a release.
make clean
- removes build/build data. does not remove releases - Use NXLink to send
application.nro
and fptd to send theconfig.txt
, ensuring it is in the same directory asapplication.nro
.
Short term | Mid term | Long term |
---|---|---|
consoleExit() without error. |
|
|
Device/Version | App version | CFLAGS | CPU Boost | Threads | Node (address:port) | Shares /1hr | Avg. Hashrate (estimated) | Avg. Difficulty |
---|---|---|---|---|---|---|---|---|
HAC-001 18.0.1|AMS 1.8.0|E |
25.05.13_00.27 |
N/A (Release) |
true |
3 | 152.53.38.31:7070 | 1212 | 583.24 kH/s | 32000 |
Use benchmark_dirty.py for official benchmarking. Submit results by opening an issue. Benchmarks should at least be one hour long.
Argument | Description |
---|---|
-d --duration |
Duration to run the benchmark. (e.g., 10m, 1h, 30s).
Default: 1h |
--nx |
Path to nxlink/nxlink.exe. |
-ip |
Switch IP. |
--nro |
Path to application.nro. |
-o --output |
Path to benchmark results.
Default: nxducominer_benchmark.txt
|
-og --output-graph |
Path to benchmark result graph.
Default: nxducominer_benchmark_graph.png |
JSON Parser: zserge/jsmn, MIT License.
This software is licensed under the MIT License.