An api for making a bloocoin miner or client