A PHP implementation of the Chain Bitcoin API