nip60: make it work with emitting events to be published dynamically and stuff.

This commit is contained in:
fiatjaf
2025-01-28 19:11:18 -03:00
parent 07b9b3e439
commit 2244740f61
6 changed files with 304 additions and 202 deletions

View File

@@ -10,8 +10,9 @@ import (
)
type Token struct {
Mint string `json:"mint"`
Proofs cashu.Proofs `json:"proofs"`
Mint string `json:"mint"`
Proofs cashu.Proofs `json:"proofs"`
Deleted []string `json:"del,omitempty"`
mintedAt nostr.Timestamp
event *nostr.Event