A high-level wrapper around BCoin