Bitcoin utility library