Add Nostr Talk NIP-05

This commit is contained in:
Dennis Reimann
2023-09-23 12:02:57 +02:00
parent 7e78308507
commit 950d413263
2 changed files with 5 additions and 2 deletions

View File

@@ -2,12 +2,14 @@ const { mkdirSync, writeFileSync } = require('fs')
const { dirname, resolve } = require('path')
const { NDKUser } = require('@nostr-dev-kit/ndk')
const team = require('../content/team.json')
const { nostr: einundzwanzigNpub } = require('../content/meta.json')
const { nostr: einundzwanzigNpub, nostrTalk: nostrTalkNpub } = require('../content/meta.json')
const einundzwanzigHex = new NDKUser({ npub: einundzwanzigNpub }).hexpubkey
const nostrTalkHex = new NDKUser({ npub: nostrTalkNpub }).hexpubkey
const names = {
"_": einundzwanzigHex,
"einundzwanzig": einundzwanzigHex
"einundzwanzig": einundzwanzigHex,
"nostrtalk": nostrTalkHex
}
const relays = {
[einundzwanzigHex]: [