23 lines
392 B
C
23 lines
392 B
C
#include <stdarg.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
typedef struct CWallet {
|
|
char *public_key;
|
|
char *private_key;
|
|
char *public_addr;
|
|
} CWallet;
|
|
|
|
struct CWallet generate_cwallet(void);
|
|
|
|
void free_cwallet(struct CWallet cw);
|
|
|
|
void save_wallet(const struct CWallet *cw);
|
|
|
|
struct CWallet fetch_cwallet(void);
|
|
|
|
void sign(void);
|
|
|
|
void sss_sign(const char *msg);
|