bitcoin: export builder function