-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
57 lines (46 loc) · 1.71 KB
/
config.example.yaml
File metadata and controls
57 lines (46 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# SolMesh Configuration
# Copy this file to config.yaml and edit as needed.
# Meshtastic device connection
mesh:
# "serial" for USB or "tcp" for WiFi
connection_type: serial
# Uncomment for a specific serial device:
# device_path: /dev/ttyUSB0
# Uncomment for TCP connection:
# connection_type: tcp
# hostname: 192.168.1.100
# Solana network settings
solana:
# "mainnet-beta", "devnet", or "testnet"
network: devnet
# Custom RPC URL (overrides network):
# rpc_url: https://api.devnet.solana.com
# Gateway mode settings (only needed when running as gateway)
gateway:
# Wallet name for Mode 3 (gateway sends from its hot wallet)
# hot_wallet: gateway-wallet
# Solana public keys allowed to request transfers (Mode 3)
# Uses cryptographic identity (Ed25519 pubkey), not spoofable mesh IDs
# allowed_requesters:
# - "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
# - "DRpbCBMxVnDK7maPMoGQfFiMTO7VCJjUBUZasFHkcQXE"
# Maximum SOL per Mode 3 transfer request
max_transfer_sol: 0.1
# Maximum USDC per Mode 3 transfer request
max_transfer_usdc: 10.0
# Per-token limits by mint address (for tokens beyond USDC)
# token_limits:
# "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v": 10.0
# "92cRC6kV5D7TiHX1j56AbkPbffo9jwcXxSDQZ8Mopump": 100.0 # FXN
# Rate limiting (per sender)
max_requests_per_minute: 10.0
rate_limit_burst: 3
# Gateway beacon broadcast interval (seconds)
beacon_interval: 60
# HTTP API (optional, requires solmesh[http])
# Enable a REST API for programmatic access to gateway functions.
# Requires both http_port and api_key to be set.
# http_port: 8080
# api_key: "your-secret-api-key-here"
# Logging level: DEBUG, INFO, WARNING, ERROR
log_level: INFO