feat: used sendDM method in contact form

This commit is contained in:
2024-06-19 11:49:56 +03:00
parent 36a1cad977
commit 99521fe8c7
8 changed files with 416 additions and 5 deletions

1
src/types/index.ts Normal file
View File

@@ -0,0 +1 @@
export * from './nostr'

14
src/types/nostr.ts Normal file
View File

@@ -0,0 +1,14 @@
export interface SignedEvent {
kind: number
tags: string[][]
content: string
created_at: number
pubkey: string
id: string
sig: string
}
export interface Keys {
private: string
public: string
}