Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type RelayURL = Text
- data Tag
- = ETag (EventId, RelayURL)
- | PTag (XOnlyPubKey, RelayURL)
- deriving (Eq, Show)
- -- note: I have FromJSON for EventId and XOnlyPubKey already, they are hex-encoded in the json value
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement