![adityapk@gmail.com](/assets/img/avatar_default.png)
10 changed files with 32 additions and 24 deletions
@ -1,17 +0,0 @@ |
|||||
#include <iostream> |
|
||||
#include <cstring> |
|
||||
|
|
||||
#include "zecpaperrust.h" |
|
||||
|
|
||||
using namespace std; |
|
||||
|
|
||||
int main() { |
|
||||
char * from_rust = rust_generate_wallet(true, 1, 1, "user-provided-entropy"); |
|
||||
auto stri = string(from_rust); |
|
||||
rust_free_string(from_rust); |
|
||||
|
|
||||
cout << stri << endl; |
|
||||
rust_save_to_pdf(stri.c_str(), "output.pdf"); |
|
||||
|
|
||||
return 0; |
|
||||
} |
|
@ -0,0 +1,2 @@ |
|||||
|
#define APP_VERSION "0.1" |
||||
|
#define APP_BUILD_DATE "20 Jun 2019" |
Loading…
Reference in new issue