Add protected chapter

This commit is contained in:
Jon Staab
2026-05-20 12:27:22 -07:00
parent f0d49c6fb8
commit 8ad0bc393b
8 changed files with 675 additions and 5 deletions
+3 -1
View File
@@ -12,7 +12,9 @@ fn fixed_secret() -> SecretKey {
}
fn test_event() -> OwnedEvent {
EventContent::new("hello nostr", Tags::new())
EventContent::new()
.content("hello nostr")
.tags(Tags::new())
.kind(1)
.stamp(1_700_000_000)
.own(fixed_secret().public_key())