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

Function getOnionKeyPath

src/cli/utils/bootstrap.ts:37–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35export const getTorHostnamePath = (): string => getProjectPath('.nostr', 'tor', 'data', 'nostream', 'hostname')
36
37export const getOnionKeyPath = (): string =>
38 join(process.env.NOSTR_CONFIG_DIR ?? join(homedir(), '.nostr'), 'v3_onion_private_key')

Callers 1

getInfoPayloadFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected