| 1 | // Package nostr provides signed Nostr events, JSON filters, canonical wire |
| 2 | // encoding, signature validation, tag helpers and standard kind ranges. |
| 3 | // |
| 4 | // Validate and Parse check the event wire shape, ID and signature. They do not |
| 5 | // apply kind-specific schemas or decide whether a host should accept an event. |
| 6 | // Matches evaluates filter constraints and content search without enforcing |
| 7 | // visibility. Callers must apply authorization and private-content policy. |
| 8 | // |
| 9 | // Canonical encodes a complete wire object; Sign and Validate use the NIP-01 |
| 10 | // canonical array internally to derive and verify the event ID. Filter search |
| 11 | // uses case-insensitive content terms and ignores name:value tokens. It is not |
| 12 | // a ranked search engine. |
| 13 | package nostr |