-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
24 lines (24 loc) · 924 Bytes
/
Copy pathpackage.json
File metadata and controls
24 lines (24 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"name": "xannyblastr",
"version": "1.0.5-beta.3",
"description": "A DM only Nostr blast relay: accepts NIP-59 gift-wrapped DMs (kind 1059) and NIP-17 DM relay lists (kind 10050) from your web of trust, then forwards them to a list of downstream relays with health tracking.",
"type": "module",
"main": "src/index.js",
"bin": {
"blastr": "src/cli.js"
},
"scripts": {
"start": "node src/index.js",
"cli": "node src/cli.js",
"genkey": "node -e \"import('nostr-tools/pure').then(m=>{const sk=m.generateSecretKey();import('nostr-tools').then(t=>{console.log('nsec:',t.nip19.nsecEncode(sk));console.log('npub:',t.nip19.npubEncode(m.getPublicKey(sk)));console.log('hex sk:',Buffer.from(sk).toString('hex'));});});\""
},
"dependencies": {
"better-sqlite3": "^12.11.1",
"js-yaml": "^4.1.0",
"nostr-tools": "^2.23.12",
"ws": "^8.21.1"
},
"engines": {
"node": ">=18"
}
}