def sign_message_with_bls_key(message, seed): dependencies.install_module("mcl_signer") tool = path.join(dependencies.get_module_directory("mcl_signer"), "signer") try: signed_message = myprocess.run_process([tool, message, seed], dump_to_stdout=False) return signed_message except Exception: raise CannotSignMessageWithBLSKey()
def _get_llvm_path(self): return dependencies.get_module_directory("llvm")
def _get_soll_path(self): directory = dependencies.get_module_directory("soll") return path.join(directory, "soll")