Hush Full Node software. We were censored from Github, this is where all development happens now.
https://hush.is
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
564 B
26 lines
564 B
#include "zcash/JoinSplit.hpp"
|
|
|
|
#include <iostream>
|
|
#include "crypto/common.h"
|
|
|
|
int64_t MAX_MONEY = 200000000 * 100000000LL;
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
if (init_and_check_sodium() == -1) {
|
|
return 1;
|
|
}
|
|
|
|
if(argc != 4) {
|
|
std::cerr << "Usage: " << argv[0] << " provingKeyFileName verificationKeyFileName r1csFileName" << std::endl;
|
|
return 1;
|
|
}
|
|
|
|
std::string pkFile = argv[1];
|
|
std::string vkFile = argv[2];
|
|
std::string r1csFile = argv[3];
|
|
|
|
ZCJoinSplit::Generate(r1csFile, vkFile, pkFile);
|
|
|
|
return 0;
|
|
}
|
|
|