Verifiably Mine Cryptocurrency for Charity 🌐
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Mined For Change

This repository exists to verify the Mined For Change website.

Mined For Change is a charity that exists to fill in the gaps of donation. People who may not have lots to give or wish for another way to give besides credit card payments can simply open the site and start mining cryptocurrency for charity. It may not be a lot individually but together with thousands of other equally generous people, we can raise impressive amounts of money for the Against Malaria Foundation.

Best of all, the entire process is verifiable. That is, anyone can verify that the funds they (and others) generate are actually being given to the right place. While the movement begins to grow, it is necessary for the funds to be held by someone. Mined For Change allows anyone to see the funds received and will publish all transactions to the AMF when a certain sum has built up. Hopefully one day we will be able to pay the mosquitto net manufacturers directly, eliminating all middlemen, and maximising each donation.

For more on Mined for Change and how we embody effective altruism, please see our blog.


This folder contains the following files:

β”œβ”€β”€ MinedForChange-Website/
β”œβ”€β”€ sha256sum.txt
└── sha256sum.txt.asc


To verify the website is as it was uploaded follow these steps:

Download the website

Linux or Mac

This can be done easily using wget:

wget -r --no-parent

The two mining scripts are missing since they are loaded asynchronously when someone starts mining. To get them:


The files should now be saved like this:

    β”œβ”€β”€ apple-touch-icon.png
    β”œβ”€β”€ css
    β”‚Β Β  └── style.css
    β”œβ”€β”€ favicon-16x16.png
    β”œβ”€β”€ favicon-32x32.png
    β”œβ”€β”€ img
    β”‚Β Β  β”œβ”€β”€ jared.jpg
    β”‚Β Β  β”œβ”€β”€ mfc-logo-transparent-light.png
    β”‚Β Β  β”œβ”€β”€ mfc-logo-transparent.png
    β”‚Β Β  β”œβ”€β”€ mfcmodal.jpg
    β”‚Β Β  β”œβ”€β”€ mosnet2.jpg
    β”‚Β Β  └── tom.jpg
    β”œβ”€β”€ index.html
    β”œβ”€β”€ js
    β”‚Β Β  β”œβ”€β”€ cryptonote.js
    β”‚Β Β  β”œβ”€β”€ m4c.js
    β”‚Β Β  β”œβ”€β”€ main.js
    β”‚Β Β  β”œβ”€β”€ NoSleep.min.js
    β”‚Β Β  β”œβ”€β”€ startMiner.js
    β”‚Β Β  └── worker.js
    β”œβ”€β”€ safari-pinned-tab.svg
    └── site.webmanifest

There are additionally some image files that are missing which you can save in a similar manner. From the root directory of the saved website:


cd img


If you don't want to use the above options for Linux or Mac, or you are using a Windows machine, you can use the HTTrack tool to save the files.

Clone or Download this Repository

Move the sha256sum.txt file from this repository into the folder with the website files.

This can be done by cloning the repo or manually by clicking on the file above, clicking Raw then press CTRL+S and save the file in the same place as the other documents.

Verify the Checksums

Mac or Linux

  1. On Mac or Linux, use the sha256sum command to compare the checksums of the files:
sha256sum --check sha256sum.txt

Which should result in:

sha256sum --check sha256sum.txt
./apple-touch-icon.png: OK
./browserconfig.xml: OK
./error.html: OK
./favicon-16x16.png: OK
./favicon-32x32.png: OK
./favicon.ico: OK
./index.html: OK
./mstile-150x150.png: OK
./safari-pinned-tab.svg: OK
./site.webmanifest: OK
./css/style.css: OK
./img/android-chrome-192x192.png: OK
./img/android-chrome-512x512.png: OK
./img/jared.jpg: OK
./img/mfc-logo-transparent-light.png: OK
./img/mfc-logo-transparent.png: OK
./img/mfcmodal.jpg: OK
./img/mosnet2.jpg: OK
./img/og-image.jpg: OK
./img/tom.jpg: OK
./js/cryptonote.js: OK
./js/m4c.js: OK
./js/main.js: OK
./js/NoSleep.min.js: OK
./js/startMiner.js: OK
./js/worker.js: OK

All the files that are downloaded should be marked as OK and are thus the same as they were uploaded. If there are files that are not ok, first check if they have all been downloaded otherwise go back to step 1.


On Windows, the process varies depending on your version. The simplest solution is to use a simple third party program such as HashCheck.

If you have Windows >= 7 you can use the following command from the command line to generate the hashes of each file:

certUtil -hashfile ./* SHA256

The hashes of each file that is saved should be marked as OK and are thus the same as they were uploaded. If there are files that are not ok, first check if they have all been downloaded otherwise go back to step 1.

Verify Hashfile with PGP

To verify the integrity of the hashfile, you can use the developer's PGP signature (that's me). The key used to sign the files is:

pub   rsa2048/6DA39F99 2018-07-05 [SC]
      Key fingerprint = 54DC 84E3 7FDD 0DFE BB8D  39B7 447E 1B93 6DA3 9F99
uid         [ultimate] Thomas Tumiel (Creating GPG key for Github.) <>
sub   rsa2048/B79173E7 2018-07-05 [E]

First download the sha256sum.txt.asc file from this repo and place it in the same folder as the sha256sum.txt file.

Then download the developer's PGP key from keyservers:

gpg --keyserver --recv-keys 54DC84E37FDD0DFEBB8D39B7447E1B936DA39F99

Resulting in:

gpg: requesting key 6DA39F99 from hkp server
gpg: key 6DA39F99: public key "Thomas Tumiel (Creating GPG key for Github.) <>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

On Mac or Linux, to verify the gpg signature of the sha256sum.txt file and thus proving its originality from Mined For Change, type the following:

gpg --verify sha256sum.txt.asc sha256sum.txt

This should result in something like the following:

gpg: Signature made Mon 24 Sep 2018 10:00:23 PM SAST using RSA key ID 6DA39F99
gpg: Good signature from "Thomas Tumiel (Creating GPG key for Github.) <>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 54DC 84E3 7FDD 0DFE BB8D  39B7 447E 1B93 6DA3 9F99

Do not worry about the trusted signature warning provided you see "Good signature".

On Windows, third party software is needed again. Some useful tools are Gpg4win or GPGShell

About the Verification Process


This is essentially a cryptographic technique that gives a unique fingerprint to any document. By looking at the fingerprint and seeing if it's the same, we can see that the file has not been altered.

For more explanation on checksums, see the following links:

PGP Signatures

A PGP signature is an encryption method that proves a message was signed by a specific person. By verifying that I signed the sha256sum.txt hashfile, you can be sure that the checksums provided are the ones that I created and not a third party.

For more about PGP signatures, see the following links:

The Mining Script

Anyone can inspect the open source mining script, found in the m4c.js, worker.js and cryptonote.js files. The public address below enables anyone to view the funds that have been generated. As a result of the choice of currency to mine (Monero) an additional private viewkey is required to view the funds of an account.

The public details of the Monero Wallet are as follows:

Public Address:


Private Viewkey:


Using these 2 pieces of information, anyone can see the funds coming into this address. This will occur periodically when the pool pays out to the address and will be published as time goes on.

For more information on the way Monero encrypts its data and how the private viewkey works, see here:

Sub-Resource Integrity

You will also notice that all files called from the index.html file reference the particular javascript and css files with integrity checks. This means that the only file that is really necessary to check is the index.html file as it already contains the fingerprints of all the other files.

Against Malaria Foundation

We support the Against Malaria Foundation - a high-impact charity. The AMF has a well researched and independently verified history of maximising the number of lives saved per dollar donated and thus they were chosen as the charity of choice at Mined For Change. In conversation with the AMF, it was decided, since they are a large organisation and aim to minimise administrative difficulty, that a donations page on with the AMF would be created to cross-verify Mined For Change.

See our Against Malaria Foundation donations page.

Simple click the more >> button to cross-validate the Monero wallet keys.

A Small Note on Browsers

For reasons beyond me, Chrome downloads websites with all .js and .css files as .min.js and .min.css whereas Firefox saves them as purely .js and .css. This happened both when the files are served as plain .js and .css or the minified extension .min.js and .min.css regardless of content. Furthermore, this does not place files in folders, breaking the naming pattern again.

For these reasons it is not recommended to save the page using CTRL+s in your browser but it is possible if you manually rename the files in the sha256sum.txt file to whatever they are saved as.

Questions or Comments

Please get in touch with us:

Thomas (@Tom2718) - thomas (at) minedforchange (dot) org

Jared (@jarry401) - jared (at) minedforchange (dot) org