HW6: Added bitcoin support