title: Are there any open source solutions for mining bitcoins using WebAssembly?
body: <p>I'm a little late to the game, but I just learned about Web Assembly and am considering using this to mine bitcoin instead of serving ads (which tend to expose a user's identity/data).  I have never mined bitcoin and haven't learned Web Assembly yet, so it would be convenient to have an open source solution for this to begin my learning.  Does anyone know of an open-source project for this?  (Preferably written in Java or C#)</p>
  
  <p>I did find this:  <a href="https://github.com/altermarkive/JavaScript-Emscripten-Bitcoin-Miner/blob/master/native/miner.c" rel="nofollow noreferrer">https://github.com/altermarkive/JavaScript-Emscripten-Bitcoin-Miner/blob/master/native/miner.c</a>   But honestly, I'm not sure if it's what I need and it doesn't seem to create a web assembly, but a javascript.</p>