Last version before deleting Makefile and CmakeLists.txt
This commit is contained in:
18
nostr_core/nip005.h
Normal file
18
nostr_core/nip005.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* NOSTR Core Library - NIP-005: Mapping Nostr keys to DNS-based internet identifiers
|
||||
*/
|
||||
|
||||
#ifndef NIP005_H
|
||||
#define NIP005_H
|
||||
|
||||
#include "nip001.h"
|
||||
|
||||
// Function declarations
|
||||
int nostr_nip05_parse_well_known(const char* json_response, const char* local_part,
|
||||
char* pubkey_hex_out, char*** relays, int* relay_count);
|
||||
int nostr_nip05_lookup(const char* nip05_identifier, char* pubkey_hex_out,
|
||||
char*** relays, int* relay_count, int timeout_seconds);
|
||||
int nostr_nip05_verify(const char* nip05_identifier, const char* pubkey_hex,
|
||||
char*** relays, int* relay_count, int timeout_seconds);
|
||||
|
||||
#endif // NIP005_H
|
||||
Reference in New Issue
Block a user