## 📋 Project Description
It is required to develop a Node.js module for **personal use** - automating the process of managing personal accounts in a web service. The module should simplify working with multiple personal user accounts.
https://app.grass.io/
## 🎯 Main Tasks
### 1. Registration Module
- Automatic registration of new accounts via REST API
- using a referral code/ or without a code
- Working with different proxy connections
- Using real user email addresses
- Saving data in a structured format
### 2. Email Verification System
- **IMAP mail**: Connecting to Gmail/Outlook/Yahoo via IMAP
- **iCloud mail**: Redirect system for receiving emails
- Automatic email address confirmation
- Monitoring incoming emails
### 3. Managing Solana Wallets
- Generating new Solana wallets
- Exporting private keys
- Integration with solana/web3.js
- Secure storage with encryption
### 4. Wallet Binding
- Automatic binding of wallets to accounts
- Verifying operation success
- Error handling and retries
### 5. Database
- SQLite for storing account data
## 📧 Working with Email
### Configuration Format
# IMAP mail with password
# iCloud mail (redirect)
### Technical Features
- Support for IMAP protocol for major mail services
- SSL/TLS connections for security
- Webhook endpoint for iCloud redirect system
- Parsing email messages to extract links
## 🔧 Technical Requirements
### Technology Stack
- **Node.js** (ES6+ modules)
- **SQLite3** for database
- **axios/fetch** for HTTP requests
- **node-imap** for email handling
- **solana/web3.js** for Solana wallets
## 📊 Database Structure
### accounts table
- email, password, status
- verification_status, created_at
- wallet_address, encrypted_keys
- proxy_used, user_id
### wallets table
- public_key, encrypted_private_key
- account_id, created_at
## 🔒 Security
- SSL/TLS for all connections
- Secure storage of seed phrases
- Validation of all input data
## 📋 Result Requirements
1. ✅ Module reads email configuration from a file
2. ✅ Works with IMAP mail (Gmail, Outlook, Yahoo)
3. ✅ Implements iCloud redirect system
4. ✅ Generates and validates Solana wallets
5. ✅ Stores data securely in encrypted form
6. ✅ Integrates with existing project
7. ✅ Includes detailed documentation
8. ✅ Handles errors correctly
## ⏱️ Deadlines and Conditions
- **Completion time**: 10-14 days
- **Support**: 30 days after delivery
- **Demos**: every 3-4 days
## 📝 Additional Information
- Code must be well-structured and documented
- Usage examples are required
- Module should be ready for production use
- Provide setup and launch instructions
---
**Important**: The project is intended solely for **personal use** by the developer to manage their own accounts. The module is not for commercial use or for violating service rules.