A mazacoin library based on bitpay's bitcore