]>
Commit | Line | Data |
---|---|---|
5975bf1c SB |
1 | #include "zcash/JoinSplit.hpp" |
2 | ||
3 | #include <iostream> | |
4 | ||
5 | int main(int argc, char **argv) | |
6 | { | |
7 | if(argc != 3) { | |
8 | std::cerr << "Usage: " << argv[0] << " provingKeyFileName verificationKeyFileName" << std::endl; | |
9 | return 1; | |
10 | } | |
11 | ||
12 | std::string pkFile = argv[1]; | |
13 | std::string vkFile = argv[2]; | |
14 | ||
15 | auto p = ZCJoinSplit::Generate(); | |
16 | ||
17 | p->saveProvingKey(pkFile); | |
18 | p->saveVerifyingKey(vkFile); | |
19 | ||
20 | return 0; | |
21 | } |