Skip to content
An experimental BitCoin miner, which uses WebCL for pooled block calculations.
PHP JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
mp @ 0298673
miner_exp.png Earliest dump from krad_miner source, dated 2011-05-29 Dec 30, 2011

Tumen Miner

An experimental BitCoin miner, which uses WebCL for pooled block calculations.


WebCL is an emerging web standard for accessing a computer's GPU (Graphics Processor Unit) for general purpose computation. At this time there are two open-source implementations: a Firefox 4 plugin from Nokia, and a Webkit prototype from Samsung.

Copyright & License

© 2011 T9 Productions

Licensed under the Apache License, Version 2.0 (the "License");

  • You may not use this file except in compliance with the License.
  • You may obtain a copy of the License at
  • Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  • See the License for the specific language governing permissions and limitations under the License.


Tumen Miner started life as Krad Miner, developed by oneman. Its development went into hiatus on June 2011; due, in part, to DDoS attacks made against the core infrastructure.

In December of 2011 the code was purchased by T9 Productions and released as open source.


The dark-hive theme is licensed from MagPress under CC-BY-SA 3.0.

The mining proxy is licensed from Chris Howie under the Affero GPL.

Original Author Notes, 2011/12/24

Here is the dump, I may have other versions, but this was the first thing I found, it maybe the best I have. I think the important javascript parts were miner_original.js and worker_original.js (which is missing) but you maybe able to de-minfy the worker.js file.

The whole client side of the system was just the index.html page, and those two javascript files. IIRC the 'web-worker' can't create an opencl context so all the work is done in the main javascript thread. The backend is just a proxy to a bitcoin miner, the reason it exists is just because of javascript security you have to connect to the same url/port, so that can be replaced by a modern mining proxy of some kind.

My advice would be to study how webcl works, and get a demo of that going in your own code, then learn how the mining process works, and try to load the opencl kernel using your own webcl javascript code. then look over the worker.js and miner.js files and pick out the pieces that actually do the work of converting the bytes around to the right formats and talking to the webcl kernel. Looking at the source of poclbm and diablominer should give you an idea of the various byte conversion functions needed, krad miner works in the same ways as these miners do, only the code is in javascript and you have to deal with the strange different world of javascript.

You can’t perform that action at this time.