Military-Grade Secure Messaging with Quantum-Resistant Encryption
- Overview
- Key Features
- Security Features
- Quick Start
- Deployment Guide
- Building for Production
- Project Structure
- Contributing
- License
DigitalValut Chat is an open-source, military-grade secure messaging application that provides true end-to-end encryption with quantum-resistant cryptography. Unlike traditional messaging apps, DigitalValut offers:
- β True Privacy: No servers, no data collection, no tracking
- β Quantum-Resistant: Post-quantum cryptography ready for the future
- β P2P Communication: Direct peer-to-peer messaging via WebRTC
- β Secure Voice Calls: End-to-end encrypted voice calling with military-grade encryption
- β Ephemeral Messages: Self-destructing messages that leave no trace
- β Blockchain Identity: TON blockchain wallet integration
- β Local AI: On-device LLM for translation and spam detection
- β Open Source: Fully auditable code under MIT License
- Hybrid Cryptography: Combines X25519 key exchange with AES-256-GCM
- End-to-End Encryption: Messages encrypted on your device, decrypted only by recipient
- Forward Secrecy: Each session uses unique encryption keys
- Secure Key Storage: Biometric-protected keychain storage
- No Central Server: Direct device-to-device communication
- WebRTC Data Channels: Real-time encrypted messaging
- NAT Traversal: STUN/TURN support for global connectivity
- Offline Mode: Messages queued and synced when back online
- End-to-End Encrypted Audio: Military-grade encryption for all voice streams
- WebRTC Voice Channels: High-quality peer-to-peer voice calls
- Advanced Audio Processing: Echo cancellation, noise suppression, auto-gain control
- Call Controls: Mute, speaker toggle, and end call functions
- Connection Indicators: Real-time call status and duration display
- Public STUN/TURN Servers: Reliable connectivity across all network conditions
- Self-Destructing: Set messages to auto-delete after viewing
- Customizable Timers: 10 seconds to 30 days
- Secure Deletion: Encryption keys wiped from memory
- No Traces: Messages permanently deleted
- Decentralized Identity: Use TON wallet address as user ID
- Micropayments: Send cryptocurrency in messages
- NFT Verification: Mint important messages as NFTs
- Spam Prevention: Stake required to message new contacts
- Auto-Translation: Real-time message translation (50+ languages)
- Spam Detection: AI-powered phishing/malware detection
- Chat Summaries: Instant conversation summaries
- Smart Replies: Contextual quick response suggestions
- Screenshot Blocking: Prevent screen capture
- Biometric Authentication: Face ID / Touch ID / Fingerprint
- Encrypted Database: Local SQLite database with AES-256
- Screen Recording Detection: Alerts when recording detected
DigitalValut implements defense in depth with multiple security layers:
- Transport Layer: WebRTC DTLS 1.3 encryption
- Key Exchange: X25519 elliptic curve Diffie-Hellman
- Message Encryption: AES-256-GCM authenticated encryption
- Local Storage: Encrypted SQLite database
- Key Management: Flutter Secure Storage with biometric protection
- UI Security: Screenshot blocking and screen recording detection
Before you begin, ensure you have the following installed:
- Flutter SDK (3.0 or higher): Install Flutter
- Android Studio (for Android development): Download Android Studio
- Xcode (for iOS development, macOS only): Download Xcode
- Git: Install Git
# Clone this repository to your local machine
git clone https://github.com/digitalvalut/digitalvalut_chat.git
cd digitalvalut_chat# Get all Flutter packages
flutter pub get# List available devices
flutter devices
# Run the app
flutter run# Open iOS simulator
open -a Simulator
# Run the app
flutter runThis guide will help you build DigitalValut Chat from source and install it on your device without using app stores.
Windows:
- Download Flutter SDK from https://docs.flutter.dev/get-started/install/windows
- Extract the zip file to
C:\src\flutter - Add Flutter to your PATH:
- Search "Environment Variables" in Windows
- Edit "Path" variable
- Add
C:\src\flutter\bin
- Open Command Prompt and run:
flutter doctor
macOS:
- Open Terminal
- Run:
brew install flutter(install Homebrew first if needed) - Run:
flutter doctor
Linux:
- Download Flutter SDK from https://docs.flutter.dev/get-started/install/linux
- Extract to
/usr/local/flutter - Add to PATH:
export PATH="$PATH:/usr/local/flutter/bin" - Run:
flutter doctor
- Download from https://developer.android.com/studio
- Install Android Studio
- Open Android Studio
- Go to Settings β Appearance & Behavior β System Settings β Android SDK
- Install latest Android SDK
- Install Android SDK Command-line Tools
Android:
- Enable Developer Options on your phone:
- Go to Settings β About Phone
- Tap "Build Number" 7 times
- Enable USB Debugging:
- Go to Settings β Developer Options
- Turn on "USB Debugging"
- Connect phone to computer via USB
- Run:
flutter devices(should see your phone listed)
iOS (macOS only):
- Open Xcode
- Go to Preferences β Accounts β Add Apple ID
- Connect iPhone via USB
- Trust the computer on your iPhone
- Run:
flutter devices
For Android (APK):
# Navigate to project folder
cd digitalvalut_chat
# Build APK
flutter build apk --release
# APK will be at: build/app/outputs/flutter-apk/app-release.apkFor iOS (IPA - macOS only):
# Build iOS app
flutter build ios --release
# You'll need to sign with your Apple Developer account
# Open in Xcode: ios/Runner.xcworkspace
# Select your team in Signing & Capabilities
# Archive and export IPAAndroid:
- Copy
app-release.apkto your phone - Open the APK file
- Allow "Install from Unknown Sources" if prompted
- Tap "Install"
iOS:
- Install via Xcode:
- Open Xcode
- Window β Devices and Simulators
- Select your device
- Drag the .app file to Installed Apps
- Or use TestFlight for beta distribution
This repository includes GitHub Actions workflows that automatically build your app whenever you push code. No local Flutter installation needed!
- β Android APK (Release) - Ready to install
- β Flutter Web (Release) - Ready for Netlify
- β Code Analysis - Automated testing
- β Artifacts Storage - 30-day retention
- Push code to GitHub:
git add .
git commit -m "Update app"
git push origin master- Download builds:
- Go to: https://github.com/digitalvalut/digitalvalut-chat/actions
- Click latest workflow run
- Download artifacts:
android-release-apkβ APK file for Androidflutter-web-buildβ Web files for Netlify
Check your builds at: https://github.com/digitalvalut/digitalvalut-chat/actions
Deploy your Flutter web app to the internet in 2 minutes - completely FREE!
-
Get the web build:
- Download
flutter-web-buildartifact from GitHub Actions - Extract the ZIP file
- Download
-
Deploy to Netlify:
- Visit: https://app.netlify.com/drop
- Drag the
build/webfolder - Your app is live! π
-
Get your link:
- Netlify gives you:
https://[random-name].netlify.app - Custom domain available (optional)
- Netlify gives you:
-
Sign up at https://netlify.com (free account)
-
New Site from Git:
- Click "Add new site" β "Import existing project"
- Connect GitHub
- Select
digitalvalut-chatrepository
-
Configure build:
- Build command:
flutter build web --release - Publish directory:
build/web - Click "Deploy site"
- Build command:
-
Auto-deploy enabled:
- Every push = automatic deployment
- Live in 2-3 minutes
- Web Demo: https://digitalvalut-chat.netlify.app
- Download APK: Available on website
- Share Link: Send to friends/investors
Share your Android APK with users:
-
Create Release:
- Go to: https://github.com/digitalvalut/digitalvalut-chat/releases/new
- Tag:
v1.0.0 - Title:
DigitalValut Chat v1.0.0
-
Upload APK:
- Attach
app-release.apkfrom GitHub Actions - Add changelog
- Publish release
- Attach
-
Share download link:
- Direct APK link for users
- Installation instructions included
# Create app bundle for Google Play (if needed)
flutter build appbundle --release
# Or create APK for sideloading
flutter build apk --release --split-per-abiSigning Your APK:
- Create a keystore:
keytool -genkey -v -keystore ~/digitalvalut-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias digitalvalut- Reference keystore in
android/key.properties:
storePassword=your_password
keyPassword=your_password
keyAlias=digitalvalut
storeFile=/path/to/digitalvalut-key.jks
- Build signed APK:
flutter build apk --release# Build for App Store or TestFlight
flutter build ios --release
# Open in Xcode for archiving
open ios/Runner.xcworkspaceSteps in Xcode:
- Select "Any iOS Device" as target
- Product β Archive
- Distribute App β Choose distribution method
- Sign with your Apple Developer certificate
- Export IPA
digitalvalut_chat/
βββ lib/
β βββ main.dart # App entry point
β βββ crypto/ # Encryption modules
β β βββ encryption_service.dart # Hybrid encryption
β β βββ key_manager.dart # Key storage
β βββ network/ # P2P networking
β β βββ p2p_manager.dart # WebRTC manager
β βββ database/ # Local database
β β βββ database_service.dart # SQLite service
β βββ models/ # Data models
β β βββ contact.dart
β β βββ conversation.dart
β β βββ message.dart
β βββ ui/ # User interface
β β βββ auth_screen.dart # Authentication
β β βββ chat_list_screen.dart # Conversation list
β β βββ chat_screen.dart # Chat interface
β β βββ settings_screen.dart # Settings
β β βββ add_contact_screen.dart # Add contacts
β βββ security/ # Security features
β β βββ biometric_auth.dart # Biometric auth
β βββ blockchain/ # TON integration
β β βββ ton_wallet.dart # TON wallet
β βββ llm/ # AI features
β β βββ local_llm.dart # Local LLM
β βββ services/ # App services
β βββ theme_provider.dart # Theme management
βββ assets/ # Assets
β βββ logo.png # App logo
βββ android/ # Android config
βββ ios/ # iOS config
βββ pubspec.yaml # Dependencies
βββ README.md # This file
# Run all tests
flutter test
# Run tests with coverage
flutter test --coverage# Analyze code
flutter analyze
# Format code
flutter format lib/# Run in debug mode
flutter run --debug
# Run with verbose logging
flutter run -vWe welcome contributions from the community! Here's how you can help:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
- Follow the Flutter Style Guide
- Write tests for new features
- Update documentation
- Ensure all tests pass before submitting PR
- Verify App Integrity: Always download from official sources
- Backup Your Keys: Store encryption keys securely
- Use Strong Biometrics: Enable Face ID/Touch ID/Fingerprint
- Update Regularly: Keep app updated for security patches
- Code Audits: Security audits welcome
- Report Vulnerabilities: Please report security issues privately to security@digitalvalut.chat
- No Backdoors: This app contains no backdoors or surveillance features
| Feature | Android | iOS |
|---|---|---|
| End-to-End Encryption | β | β |
| P2P Messaging | β | β |
| Ephemeral Messages | β | β |
| Biometric Auth | β | β |
| Screenshot Blocking | β | β |
| TON Wallet | π§ | π§ |
| Local LLM | π§ | π§ |
β = Implemented | π§ = In Development
"Flutter command not found"
- Add Flutter to your PATH
- Run
flutter doctorto diagnose
"Unable to connect device"
- Enable USB Debugging (Android)
- Trust computer (iOS)
- Check cable connection
"Build failed"
- Run
flutter clean - Run
flutter pub get - Delete
buildfolder - Try again
"Permission denied"
- Grant required permissions in Settings
- Check AndroidManifest.xml (Android)
- Check Info.plist (iOS)
- Documentation: https://digitalvalut.chat/docs
- Issues: https://github.com/digitalvalut/digitalvalut_chat/issues
- Community: https://discord.gg/digitalvalut
- Email: support@digitalvalut.chat
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) 2025 DigitalValut
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- Flutter Team for the amazing framework
- Cryptography Community for post-quantum algorithms
- WebRTC Project for P2P communication
- TON Foundation for blockchain integration
- Open Source Community for continuous support
- Website: https://digitalvalut.chat
- GitHub: https://github.com/digitalvalut/digitalvalut_chat
- Twitter: https://twitter.com/digitalvalut
- LinkedIn: https://linkedin.com/company/digitalvalut
- Documentation: https://docs.digitalvalut.chat
- β End-to-end encryption
- β P2P messaging
- β Ephemeral messages
- β Biometric authentication
- β Screenshot blocking
- π§ TON blockchain wallet
- π§ Local LLM integration
- π§ Voice/Video calls
- π§ Group chats
- π§ File sharing
- π§ Message reactions
- π§ Desktop apps
- π§ Multi-device sync
For questions, suggestions, or support:
- Email: contact@digitalvalut.chat
- Twitter: @digitalvalut
- Discord: https://discord.gg/digitalvalut
Made with β€οΈ by the DigitalValut Team
Secure your conversations. Own your privacy. Trust no one.


