An open souce sha-256 and scrypt miner