nipB7 (blossom) and a generic signer interface.

This commit is contained in:
fiatjaf
2025-06-04 21:28:33 -03:00
parent 9132b722f3
commit 861a77e2b3
2 changed files with 209 additions and 0 deletions

6
signer.ts Normal file
View File

@@ -0,0 +1,6 @@
import { EventTemplate, VerifiedEvent } from './core.ts'
export interface Signer {
getPublicKey(): Promise<string>
signEvent(event: EventTemplate): Promise<VerifiedEvent>
}