Abstraction library for bitcoin exchanges