]> Git Repo - VerusCoin.git/blame - src/zcash/GenerateParams.cpp
Rename ZCASH_ constants to ZC_.
[VerusCoin.git] / src / zcash / GenerateParams.cpp
CommitLineData
5975bf1c
SB
1#include "zcash/JoinSplit.hpp"
2
3#include <iostream>
4
5int 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}
This page took 0.023147 seconds and 4 git commands to generate.