Configuration
Command Line Options
kayakd [options]Core Options
--listen
Address to listen on
0.0.0.0:4242
--bootstrap
Bootstrap node address
Required
--name
Node display name
anonymous
--data-dir
Data directory
./data
--config
Config file path
Auto-detect
Proxy Options
--proxy
Enable browser proxy
false
--http-proxy
HTTP proxy port
8118
--socks-proxy
SOCKS5 proxy port
8119
Network Options
--public-api
Expose API publicly
false
--api-port
Homepage/API port
8080
--max-peers
Maximum peer connections
50
Security Options
--onion-hops
Number of onion routing hops
3
--pow-difficulty
Proof-of-work difficulty
20
Configuration File
Create config.json in your data directory:
Environment Variables
KAYAKNET_DATA_DIR
Override data directory
KAYAKNET_BOOTSTRAP
Override bootstrap node
KAYAKNET_LOG_LEVEL
Logging level (debug/info/warn/error)
Examples
Basic Usage
Custom Name and Ports
Production Node
Bootstrap Node
Data Directory Structure
Identity Management
Your node's identity is stored in identity.key. This file contains:
Ed25519 private key
Node ID (derived from public key)
Important:
Back up this file to maintain your identity
If lost, you'll appear as a new node
Never share this file with anyone
Last updated

