Experimentation in porting Bitpay's Bitcore lib to Haskell