MCPcopy Create free account
hub / github.com/cameri/nostream / getEvents

Function getEvents

test/unit/data/events.ts:3–281  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import { Event } from '../../../src/@types/event'
2
3export const getEvents = (): Event[] => [
4 {
5 id: 'e527fe8b0f64a38c6877f943a9e8841074056ba72aceb31a4c85e6d10b27095a',
6 pubkey: '55b702c167c85eb1c2d5ab35d68bedd1a35b94c01147364d2395c2f66f35a503',
7 created_at: 1564498626,
8 kind: 0,
9 tags: [],
10 content:
11 '{"name":"ottman@minds.io","about":"","picture":"https://feat-2311-nostr.minds.io/icon/1002952989368913934/medium/1564498626/1564498626/1653379539"}',
12 sig: 'd1de98733de2b412549aa64454722d9b66ab3c68e9e0d0f9c5d42e7bd54c30a06174364b683d2c8dbb386ff47f31e6cb7e2f3c3498d8819ee80421216c8309a9',
13 },
14 {
15 id: 'cf8de9db67a1d7203512d1d81e6190f5e53abfdc0ac90275f67172b65a5b09a0',
16 pubkey: 'e8b487c079b0f67c695ae6c4c2552a47f38adfa2533cc5926bd2c102942fdcb7',
17 created_at: 1645030752,
18 kind: 1,
19 tags: [['r', 'https://fiatjaf.com']],
20 content: 'r',
21 sig: '53d12018d036092794366283eca36df4e0cabd014b6e91bbf684c8bb9bbbe9dedafa77b6b928587e11e05e036227598dded8713e8da17d55076e12242b361542',
22 },
23 {
24 id: '444b1e4cf4eea42d35c7f1be58ab9cf6a942153593251d66e0471084a3430dae',
25 pubkey: '32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245',
26 created_at: 1652470951,
27 kind: 2,
28 tags: [],
29 content: 'wss://relay.damus.io',
30 sig: '1d8625765364edffa42f83fa1e53bf3486e7fb94eec065dd0a00b48dd777702fafbfa1063ef27f1dd27b3892132e4d1703fb0da2bfb98b70045f826ee76d5526',
31 },
32 {
33 id: '0d684e8ec2431de586aa3cafbee2f6d308d19b28805e53deabcac3220e9136a5',
34 pubkey: 'f43c1f9bff677b8f27b602725ea0ad51af221344f69a6b352a74991a4479bac3',
35 created_at: 1660407625,
36 kind: 3,
37 tags: [
38 ['p', 'b34417513f66497d7b0e1a8406b6689ac32afb184027717e57d281ea19186315', 'wss://nostr-relay.untethr.me'],
39 ['p', '2ef93f01cd2493e04235a6b87b10d3c4a74e2a7eb7c3caf168268f6af73314b5', 'wss://nostr.rocks'],
40 ['p', '13e7f234ef71ffd63fdf3fec4eaec6fdea9bb850a37ba1a854a62b934c97855e', 'wss://nostr-relay.untethr.me'],
41 ['p', '40e162e0a8d139c9ef1d1bcba5265d1953be1381fb4acd227d8f3c391f9b9486', 'wss://nostr-relay.untethr.me'],
42 ['p', '42a0825e980b9f97943d2501d99c3a3859d4e68cd6028c02afe58f96ba661a9d', 'wss://nostr-relay.untethr.me'],
43 ['p', '3efdaebb1d8923ebd99c9e7ace3b4194ab45512e2be79c1b7d68d9243e0d2681', 'wss://nostr-pub.wellorder.net'],
44 ['p', 'ed04f9c719af697ac1c045bfff5f841cdf61a0b0d2170c9970f0ce0a04f708bf', 'wss://nostr-pub.wellorder.net'],
45 ['p', '76f5960d381e7146b7f374a4a65afa403038441b46933840c71e436facb82ae7', 'wss://nostr.bitcoiner.social'],
46 ['p', 'c697f7f5f59de8ddb93c6b74fdd759ab2dc654bc36315f39770c214607fcd65e', 'wss://nostr-pub.wellorder.net'],
47 ['p', 'd3fe840f672c191849f8500762d81af8a258e673b7ff07cf9ce1211c2d0f493d', 'wss://nostr-pub.wellorder.net'],
48 ['p', '14347702b99786cc0ee644620a5f71bc6a88e2882491f57c372f1deaed198701', 'wss://nostr-pub.wellorder.net'],
49 ['p', 'cbc5ef6b01cbd1ffa2cb95a954f04c385a936c1a86e1bb9ccdf2cf0f4ebeaccb', 'wss://nostr-pub.wellorder.net'],
50 ['p', '8ff7a6132ffe1bb3600aa20496ab648f1daf6b50ceaa8054a37e6a0b1f7ee491', 'wss://nostr.bitcoiner.social'],
51 ['p', '1f7dfb1b51bd4fb5d15245b28d86fab670a677580e2a0633a2cf76509d02471c', 'wss://nostr-pub.wellorder.net'],
52 ['p', 'f5424d002fd0d48fadd6e54879387714c54bfa46535976ff2b385843aaddf8e5', 'wss://nostr.rocks'],
53 ['p', '9aeb3bb495f09be3799048c3ef76649917efc46a8c8a69fefc31a7d012f6eccb', 'wss://nostr-pub.wellorder.net'],
54 ['p', 'c181af1aca3a13243a9ef9c302d5e988eaec25caa60c9923e5faed097e52cd69', 'wss://nostr-pub.wellorder.net'],
55 ['p', 'a4cb51f4618cfcd16b2d3171c466179bed8e197c43b8598823b04de266cef110', 'wss://nostr-pub.wellorder.net'],
56 ['p', '1221fd0054a6c8ebd07b39c5eeea388f7f0244409f8cd8649ac22fcd668d02f6', 'wss://nostr-pub.wellorder.net'],
57 ['p', 'f61abb9886e1f4cd5d20419c197d5d7f3649addab24b6a32a2367124ca3194b4', 'wss://nostr-pub.wellorder.net'],
58 ['p', 'b175db709771d32bbe7d8599e0c41f3f8768cc3a8333603d93c6d72d41c42f76', 'wss://nostr-pub.wellorder.net'],
59 ['p', '57225e0adcbad1fddf8d9ba1f5f36d657f134b7e0ea7aed6c0eb7013e4ef45f1', 'wss://nostr-pub.wellorder.net'],
60 ['p', '6446d04ecf9e0bb72c5ae218df9fc6c0a273149d9ecbfbe42519c53667b4405a', 'wss://nostr-pub.wellorder.net'],

Calls

no outgoing calls

Tested by

no test coverage detected