Sean Bowe
8 years ago
3 changed files with 26 additions and 3 deletions
@ -0,0 +1,21 @@ |
|||
#include "zcash/JoinSplit.hpp" |
|||
|
|||
#include <iostream> |
|||
|
|||
int main(int argc, char **argv) |
|||
{ |
|||
if(argc != 3) { |
|||
std::cerr << "Usage: " << argv[0] << " provingKeyFileName verificationKeyFileName" << std::endl; |
|||
return 1; |
|||
} |
|||
|
|||
std::string pkFile = argv[1]; |
|||
std::string vkFile = argv[2]; |
|||
|
|||
auto p = ZCJoinSplit::Generate(); |
|||
|
|||
p->saveProvingKey(pkFile); |
|||
p->saveVerifyingKey(vkFile); |
|||
|
|||
return 0; |
|||
} |
Loading…
Reference in new issue