diff options
Diffstat (limited to '.env.example')
| -rw-r--r-- | .env.example | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/.env.example b/.env.example index 7545d03..95db3c2 100644 --- a/.env.example +++ b/.env.example | |||
| @@ -30,10 +30,16 @@ | |||
| 30 | # RELAY INFORMATION (NIP-11) | 30 | # RELAY INFORMATION (NIP-11) |
| 31 | # ============================================================================ | 31 | # ============================================================================ |
| 32 | 32 | ||
| 33 | # Owner's npub (optional, for relay info in NIP-11) | 33 | # Relay operator's nsec (private key) for signing and authentication |
| 34 | # CLI: --owner-npub <npub> | 34 | # Used for: |
| 35 | # Default: (none) | 35 | # - NIP-11 relay information document (pubkey field derived from this nsec) |
| 36 | # NGIT_OWNER_NPUB=npub1... | 36 | # - NIP-42 authentication when syncing from other relays |
| 37 | # - Future: signing events, WoT-based rate limiting of syncing relays | ||
| 38 | # | ||
| 39 | # CLI: --relay-owner-nsec <nsec> | ||
| 40 | # Default: Loaded from/saved to .relay-owner.nsec file in current directory | ||
| 41 | # If file doesn't exist, a new key is generated and saved automatically | ||
| 42 | # NGIT_RELAY_OWNER_NSEC=nsec1... | ||
| 37 | 43 | ||
| 38 | # Relay name shown in NIP-11 information document | 44 | # Relay name shown in NIP-11 information document |
| 39 | # CLI: --relay-name <name> | 45 | # CLI: --relay-name <name> |