A simple bitcoin currency library