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

Function getPrivateKeyFile

src/tor/client.ts:11–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9const logger = createLogger('tor-client')
10
11const getPrivateKeyFile = () => {
12 return join(process.env.NOSTR_CONFIG_DIR ?? join(homedir(), '.nostr'), 'v3_onion_private_key')
13}
14
15export const createTorConfig = (): TorConfig => {
16 return {

Callers 1

addOnionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected