Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
api_ultra_honk.hpp
Go to the documentation of this file.
1#pragma once
2
4#include <filesystem>
5#include <string>
6
7namespace bb {
8
9class UltraHonkAPI : public API {
10 public:
11 bool check(const Flags& flags,
12 const std::filesystem::path& bytecode_path,
13 const std::filesystem::path& witness_path) override;
14
15 void prove(const Flags& flags,
16 const std::filesystem::path& bytecode_path,
17 const std::filesystem::path& witness_path,
18 const std::filesystem::path& vk_path,
19 const std::filesystem::path& output_dir);
20
21 bool verify(const Flags& flags,
22 const std::filesystem::path& public_inputs_path,
23 const std::filesystem::path& proof_path,
24 const std::filesystem::path& vk_path) override;
25
26 bool prove_and_verify(const Flags& flags,
27 const std::filesystem::path& bytecode_path,
28 const std::filesystem::path& witness_path);
29
30 void write_vk(const Flags& flags,
31 const std::filesystem::path& bytecode_path,
32 const std::filesystem::path& output_path) override;
33
34 void gates(const Flags& flags, const std::filesystem::path& bytecode_path) override;
35
36 void write_solidity_verifier(const Flags& flags,
37 const std::filesystem::path& output_path,
38 const std::filesystem::path& vk_path) override;
39};
40
41} // namespace bb
Definition api.hpp:7
void prove(const Flags &flags, const std::filesystem::path &bytecode_path, const std::filesystem::path &witness_path, const std::filesystem::path &vk_path, const std::filesystem::path &output_dir)
void write_vk(const Flags &flags, const std::filesystem::path &bytecode_path, const std::filesystem::path &output_path) override
bool verify(const Flags &flags, const std::filesystem::path &public_inputs_path, const std::filesystem::path &proof_path, const std::filesystem::path &vk_path) override
bool check(const Flags &flags, const std::filesystem::path &bytecode_path, const std::filesystem::path &witness_path) override
bool prove_and_verify(const Flags &flags, const std::filesystem::path &bytecode_path, const std::filesystem::path &witness_path)
void gates(const Flags &flags, const std::filesystem::path &bytecode_path) override
void write_solidity_verifier(const Flags &flags, const std::filesystem::path &output_path, const std::filesystem::path &vk_path) override
Entry point for Barretenberg command-line interface.
Definition api.hpp:5