Getting Started
This guide will help you get started with SirrChat. Choose your path based on your needs.
Choose Your Path
🚀 I Want to Use the App
If you just want to start using Sirr for private messaging:
Download Sirr
Create Your Account
- Launch the app
- Create or import a wallet
- Your wallet address becomes your account
Start Messaging
- Add contacts by their wallet address
- Send encrypted messages
- Transfer crypto directly in chat
🖥️ I Want to Run My Own Server
If you want to deploy your own SirrChat server:
Quick Installation
bashcurl -sSL https://raw.githubusercontent.com/mail-chat-chain/mailchatd/main/start.sh | bashConfigure Your Domain
- Set up DNS records
- Choose a DNS provider for automatic TLS
Create User Accounts
- Add users to your server
- Configure authentication (password or blockchain)
👨💻 I Want to Develop
If you're a developer wanting to extend or integrate:
Build from Source
bashgit clone https://github.com/mail-chat-chain/mailchatd.git cd sirrchatd make buildExplore the Architecture
- Understand the module system
- Learn about available interfaces
- Read the API documentation
Create Custom Modules
- Write custom authentication modules
- Extend storage backends
- Add custom message processing
Quick Start: User Journey
Step 1: Download Sirr
Choose your platform:
- iOS: App Store Link
- Android: Google Play Link
- Desktop: Coming soon
Step 2: Set Up Your Account
When you first launch Sirr:
Create a New Wallet
- The app generates a BNBChain wallet
- Your wallet address becomes your unique ID
- Save your recovery phrase - this is crucial!
Or Import Existing Wallet
- Use your existing BNBChain wallet
- Import using private key or recovery phrase
Set Up Profile
- Choose a display name
- Add a profile picture (optional)
- Your privacy is protected - no personal info required
Step 3: Add Contacts
Add people to chat with:
By Wallet Address
- Ask for their wallet address
- Add them as a contact
By Scanning QR Code
- Scan their Sirr QR code
- Instant contact addition
From Your Wallet
- Import contacts from your crypto wallet
Step 4: Start Chatting
Send your first message:
Select a Contact
- Tap on any contact to open chat
Type Your Message
- Your message is automatically encrypted
- Only the recipient can decrypt it
Send Crypto (Optional)
- Tap the wallet icon
- Send BNB or tokens directly in chat
Quick Start: Server Deployment
One-Click Deployment
The fastest way to get a SirrChat server running:
# Download and run installation script
curl -sSL https://raw.githubusercontent.com/mail-chat-chain/mailchatd/main/start.sh | bashThis script will:
- ✅ Detect your system architecture
- ✅ Download the correct binary
- ✅ Set up configuration directory
- ✅ Configure DNS and TLS certificates
- ✅ Create systemd service
- ✅ Start the mail server
Manual Deployment
For more control over the installation:
# 1. Download binary
wget https://download.sirrchat.org/sirrchatd-linux-amd64-latest
mv sirrchatd-linux-amd64-latest /usr/local/bin/sirrchatd
chmod +x /usr/local/bin/sirrchatd
# 2. Create configuration directory
export SIRRCHAT_HOME=$HOME/.sirrchatd
mkdir -p $SIRRCHAT_HOME
# 3. Initialize configuration
sirrchatd config init
# 4. Edit configuration
nano $SIRRCHAT_HOME/sirrchatd.conf
# 5. Start the server
sirrchatd runCommon Tasks
For Users
Sending Encrypted Messages
- Open a chat with any contact
- Type your message
- Messages are automatically encrypted with OpenPGP
- Only the recipient can read them
Sending Crypto
- Tap the wallet icon in chat
- Enter amount and select token
- Confirm transaction
- Instant transfer to recipient
Creating Red Envelopes
- In a group chat, tap the red envelope icon
- Choose amount and number of envelopes
- Send to the group
- Members tap to claim
For Server Administrators
Adding Users
# Create user with password
sirrchatd creds create user@yourdomain.com
# Create user with blockchain auth
sirrchatd creds create-blockchain \
--email user@yourdomain.com \
--address 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEbManaging Mailboxes
# List all mailboxes
sirrchatd imap-mboxes list user@yourdomain.com
# Create mailbox
sirrchatd imap-mboxes create user@yourdomain.com "Work"
# Delete mailbox
sirrchatd imap-mboxes delete user@yourdomain.com "Trash"Checking Server Status
# View service status
sudo systemctl status sirrchatd
# View logs
sudo journalctl -u sirrchatd -f
# Check open ports
netstat -tlnp | grep sirrchatdNext Steps
For Users
- Learn About Features - Explore all capabilities
- Wallet Guide - Master the built-in wallet
- FAQ - Common questions answered
For Administrators
- Configuration Guide - Detailed configuration
- Deployment Guide - Production deployment
- Security Best Practices
For Developers
- Module System - Understand modules
- API Reference - Full API documentation
- Blockchain Integration - Blockchain auth details
Getting Help
If you need assistance:
- 📖 Documentation: Browse this site
- 💬 Community: Join our chat
- 🐛 Issues: GitHub Issues
- 🐦 Twitter: Follow for updates
Welcome to SirrChat! We're excited to have you join our community of privacy-conscious users. 🎉