1 stable release
Uses new Rust 2024
| 1.0.0 | Feb 4, 2026 |
|---|
#16 in #miner
22KB
379 lines
Snap Coin Windows CPU MINER
Snap Coin CPU miner for Windows is an optimized miner for Windows, working flawlessly, designed and written all in rust, 100% Open-Source, specialized for maximum hashrate and stability.
Features
- Full Windows compatibility and stability (Windows 10 and 11)
- High Performance
- Fully Open-Source, built 100% in Rust
Requirements
Minimum Windows version: Windows 10
Rust
Step 1: Download Rust installer (rustup)
Open CMD
Run this Command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
If curl doesn’t work for you, do this instead:
- Go to https://rustup.rs
- Download the rustup-init.exe
- Double click it
Step 2: Run the installer
When the installer starts, you’ll see options like:
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
Just press ENTER (Option 1)
This installs:
rustc(the Rust compiler)cargo(Rust package manager)rustup(Rust toolchain manager)
Step 3: Let it update your PATH (Important ⚠️)
The installer automatically adds Rust to your PATH.
Step 4: Verify installation
In an new CMD window, run:
rustc --version
Example Output:
rustc 1.75.0 (82e1608df 2024-01-01)
Then:
cargo --version
Example:
cargo 1.75.0 (1d8b05cdd 2024-01-01)
Then:
rustup --version
Example:
rustup 1.26.0 (5af9b9484 2023-04-05)
If all three work → 🎉 Rust is installed correctly
Instalation
Download via cargo by using this command:
cargo install snapcoin-cpu-miner-windows
Download via Github (Manually)
First download the latest release on Github (It will be an zip file) or by running (In Powershell):
curl -L `
-o snapcoin-cpu-miner-windows.zip `
https://github.com/MansyonDev/snapcoin-cpuminer-windows/releases/latest/download/snapcoin-cpu-miner-windows.zip
Then Extract it:
Expand-Archive snapcoin-cpu-miner-windows.zip
Make a Folder (ex. snapcoin) and move the miner to the folder:
mkdir snapcoin
Then move the miner to the folder:
mv snapcoin-cpu-miner-windows.exe snapcoin\
And the installation is compleated.
Running the miner
Via Cargo
After installing the miner, you can run it by running:
snapcoin-cpu-miner-windows
You will be prompted with an error that says
config.json was not found.
A default config.json has been created.
Please edit it and put your SnapCoin wallet address inside.
An config.json file will be made where you will need to put an Snap Coin wallet address. Also you will be able to change the amount of threads used etc.
How to install an Snap Coin wallet is described in this github repository:
https://github.com/snap-coin/snap-coin-wallet
After getting an public key, enter it in the config.json in the "miner" space. (Double check if you entered the wallet key correctly otherwise you will not earn any SNAP)
Via Github (Manually)
To run the miner you need to enter the directory where your miner is stored, then you can run it by (In Powershell!)
./snapcoin-cpu-miner-windows
You will be prompted with an error that says
config.json was not found.
A default config.json has been created.
Please edit it and put your SnapCoin wallet address inside.
An config.json file will be made where you will need to put an Snap Coin wallet address. Also you will be able to change the amount of threads used etc.
How to install an Snap Coin wallet is described in this github repository:
https://github.com/snap-coin/snap-coin-wallet
After getting an public key, enter it in the config.json in the "miner" space. (Double check if you entered the wallet key correctly otherwise you will not earn any SNAP)
Disclaimer
This software is provided “as is”, without warranty of any kind, express or implied.
I am not the creator, owner, or maintainer of Snapcoin, and I am not affiliated with, endorsed by, or associated with the Snapcoin project or its developers in any way.
This project is an independent, third-party CPU miner that communicates with a Snapcoin node using publicly available interfaces.
I do not take responsibility for any loss of funds, loss of data, system instability, hardware damage, increased power usage, or any other issues that may arise from using this software.
Use this miner at your own risk.
Dev Fee
I implemeted an 1% dev fee from each block mined using this software, it really supports the development and keeps the motivation up. The fee is calculated by 1 block goes to developer (me ;) per 100 blocks mined by the miner so 99 blocks stay with the miner If you don't agree with the 1% dev fee, feel free to just go down to 0%.
Snap Coin Website: https://snap-coin.net/
Donate
You can buy the dev a coffee and support further development:
Bitcoin: bc1ql2qvl40qwrlrr4f6lrtmlkut4gmnhz3svm6ssq
Ethereum: 0xe4937cEf33F76644e9099CC9f89cC2f019AA95e1
Solana: FnFmo1826UdUhivzw871Tgu4MWUaLvn4fzy8eoJDRf89
Thank You! README.md Displaying README.md.
Dependencies
~11–25MB
~307K SLoC