Nostrduino
Loading...
Searching...
No Matches
Data Structures | Namespaces | Macros | Enumerations
NWC.h File Reference
#include <functional>
#include <memory>
#include <vector>
#include "ArduinoJson.h"
#include "Nip47.h"
#include "NostrEvent.h"
#include "NostrPool.h"
#include "NostrString.h"
#include "NostrTransport.h"
#include "NostrUtils.h"

Go to the source code of this file.

Data Structures

class  nostr::NWCResponseCallbackBase
 
class  nostr::NWCResponseCallback< T >
 
class  nostr::NWC
 

Namespaces

namespace  nostr
 

Macros

#define NWC_INFO_KIND   "13194"
 
#define NWC_RESPONSE_KIND   "23195"
 
#define NWC_NIP04_NOTIFICATION_KIND   "23196"
 
#define NWC_NIP44_NOTIFICATION_KIND   "23197"
 
#define NWC_DEFAULT_TIMEOUT   (60 * 10)
 
#define NWC_INFINITE_TIMEOUT   (0xFFFFFFFF)
 

Enumerations

enum class  nostr::NWCEncryptionPolicy { nostr::RequireNip44 , nostr::AllowLegacyNip04 }
 

Macro Definition Documentation

◆ NWC_DEFAULT_TIMEOUT

#define NWC_DEFAULT_TIMEOUT   (60 * 10)

◆ NWC_INFINITE_TIMEOUT

#define NWC_INFINITE_TIMEOUT   (0xFFFFFFFF)

◆ NWC_INFO_KIND

#define NWC_INFO_KIND   "13194"

◆ NWC_NIP04_NOTIFICATION_KIND

#define NWC_NIP04_NOTIFICATION_KIND   "23196"

◆ NWC_NIP44_NOTIFICATION_KIND

#define NWC_NIP44_NOTIFICATION_KIND   "23197"

◆ NWC_RESPONSE_KIND

#define NWC_RESPONSE_KIND   "23195"