add bitcoin support, closes #8