Last version before deleting Makefile and CmakeLists.txt
This commit is contained in:
17
nostr_core/nip019.h
Normal file
17
nostr_core/nip019.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* NOSTR Core Library - NIP-019: Bech32-encoded Entities
|
||||
*/
|
||||
|
||||
#ifndef NIP019_H
|
||||
#define NIP019_H
|
||||
|
||||
#include "nip001.h"
|
||||
#include "nip006.h" // For nostr_input_type_t enum
|
||||
|
||||
// Function declarations
|
||||
int nostr_key_to_bech32(const unsigned char* key, const char* hrp, char* output);
|
||||
nostr_input_type_t nostr_detect_input_type(const char* input);
|
||||
int nostr_decode_nsec(const char* input, unsigned char* private_key);
|
||||
int nostr_decode_npub(const char* input, unsigned char* public_key);
|
||||
|
||||
#endif // NIP019_H
|
||||
Reference in New Issue
Block a user