Skip to content

feat: add configuration commands for telemetry and network settings#278

Open
fathiaoyinloye wants to merge 1 commit into
Nanle-code:masterfrom
fathiaoyinloye:feat/telemetry_privacy
Open

feat: add configuration commands for telemetry and network settings#278
fathiaoyinloye wants to merge 1 commit into
Nanle-code:masterfrom
fathiaoyinloye:feat/telemetry_privacy

Conversation

@fathiaoyinloye
Copy link
Copy Markdown

closes #264

Summary of Changes

🎯 Core Features Implemented

1. Config Command - New starforge config command with three operations:

  • starforge config show - Display all settings
  • starforge config get <key> - Get specific setting
  • starforge config set <key> <value> - Modify settings

2. Privacy Control - Three ways to disable telemetry:

# Permanently disable via config
starforge config set telemetry false

# Temporary: environment variable (for CI/CD)
STARFORGE_TELEMETRY=0 starforge deploy --wasm contract.wasm

# View current setting
starforge config show

3. Documentation - Created TELEMETRY_PRIVACY.md with:

  • ✅ Exact data collected (command, timestamp, duration, anonymous ID only)
  • ✅ Data NOT collected (wallet addresses, secret keys, personal info)
  • ✅ Three opt-out methods with examples
  • ✅ Privacy-first design principles
  • ✅ Future remote telemetry roadmap (opt-in only)

📝 Files Modified

File Changes
config.rs New module with get/set/show operations
main.rs Added Config command to CLI
telemetry.rs Added STARFORGE_TELEMETRY env var support
config.rs Added get_config_path() helper
README.md Added "Configuration commands" and "Telemetry & Privacy" sections
TELEMETRY_PRIVACY.md New comprehensive privacy documentation

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 1, 2026

@fathiaoyinloye Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a telemetry privacy opt-out mechanism and documentation

1 participant