Deeper Network Bi-Monthly Newsletter: 2024/9/01–2024/10/30

Deeper Network Bi-Monthly Newsletter: 2024/9/01–2024/10/30

 

Deeper Network’s bi-monthly newsletter is a brief bulletin containing the latest community developments, technical updates, and market status of our project. It is periodically released at the beginning of every other month for our community members. We would like to thank every member of the Deeper Network community for your contributions and support. Here are the latest updates:

Technical Updates
Hardware
  1. Improved Deeper Connect Air hardware performance, test board prototyping, progress: 55%
  2. 2.5Gbps high-end product PCB adaptation proofing, schematic design progress: 75%

Software: 

AtomOS Development Progress: 

  • Improved APP-Relocator rules 
  • Quick domain configuration smart route list function development, progress: 90%
  • Https filtering disables/enables a specific application development, progress: 95%
  • DPN node delay test function development, progress: 90%
  • Wi-Fi signal scanning mechanism upgrade, progress: 90%
  • GUI reconstruction, progress: 90%, has entered the community testing stage, and will be released in version 2.0.0

AtomOS issue fixes:

DPN-app:

  • The latest version 1.1.2.20241018 is released
  • Fixed Windows platform network issue
  • Fixed MacOS platform network issue 
  • Fixed MacOS M1 chip startup issue
  • Language support expansion
  • Login verification module upgrade
Deeper Chain
Important tech submission: 
In September
1. GUI-Frontend
Hardware Wallet Interface Development and Backend-Frontend Integration
  • The development of the frontend pages for the hardware wallet has been fully completed, and the comprehensive integration between the backend and frontend interfaces is still ongoing.
  • Completed backend-frontend integration for components including index.tsx, createWallet, Feedback, and SEED PHRASE to ensure seamless integration between all modules.
  • Further refined backend-frontend integration for pages such as AddAccount, BackupMnemonic, BackupReminder, ConfirmAgreement, CreateWallet, ImportOptions, ImportViaSeedPhrase, VerifySeedPhrase, and WalletDashBoard to ensure functional consistency across the entire system.
  • Added new interfaces such as getWalletInfo, getWalletName, getCurrencyExchangeRates, and optimized the logic for interfaces like getAddress, addAddress, tokenList, and balance to enhance functionality.
Account Management and API Integration
  • Enhanced account management features by optimizing the account addition process, introducing a password confirmation modal during account creation to improve security.
  • Refactored the address addition workflow to make it more intuitive and logically consistent with account-related operations.
  • Introduced wallet remarks functionality in the WalletDetailPage, allowing users to add annotations to their wallets using the newly developed API.
System Consistency and User Experience Optimization
  • Unified the display of network names to ensure consistency across different pages, thereby enhancing the user experience.
  • Added wallet renaming functionality and implemented a backup verification feature in the WalletDetailPage to strengthen wallet management and security.
  • Removed the original multi-wallet selection page and replaced it with a single wallet process to streamline user operations.
UI Optimization and Feature Enhancements
    • Resolved layout issues on the Dashboard page that occurred when the backup prompt was set to true, ensuring layout consistency under all conditions.
    • Updated and restructured icon buttons on the WalletDetailPage, optimizing the display of network names and arrow icon rotation logic to enhance user interactions.
    • Integrated APIs for BNB Chain and Solana, adding corresponding SVG icons to improve cross-chain compatibility.

    2. GUI-Backend

    API and Database Structure Optimization

    • Implemented the check password interface for hd-wallet to enhance the security and reliability of password checks.
    • Added an interface to obtain fiat exchange rates and conducted an in-depth discussion on the relationship between new address generation and blockchain networks, determining future interface improvement plans.
    • Added interfaces related to wallet information, including the retrieval of wallet names and various network-derived addresses to support more complex account operations.
    • Enhanced account-related interfaces covering multiple network derivations, path generation, and transactional handling for inserting derived addresses into the database, thereby further optimizing account management.
    • Improved functionalities related to adding, searching, and renaming addresses within accounts to ensure straightforward and logically consistent operations.
    • Standardized network naming conventions, with corresponding modifications made to database table structures and SQL operations to achieve system consistency and flexibility.

    3. Proxy-Wallet

    BTC Runes Integration and Fiat Exchange Rate API

    • Added interfaces to obtain BTC Runes token information and BTC Runes UTXOs, further supporting Runes token functionality.
    • Successfully tested the minting operation of Runes tokens and conducted detailed research into the deployment and transfer mechanisms of Runes to ensure practical feasibility.
    • Integrated the exchangerate-api for fiat currency exchange rates and implemented a caching mechanism to avoid repeated API calls, thereby improving efficiency.
    • Identified and resolved issues causing errors in user information retrieval, ensuring data accuracy and system reliability.

    4. HD-Wallet

    BTC Runes Support and Wallet Security Enhancements

    • Integrated the minting functionality for BTC Runes tokens, completing related signature and transaction generation processes.
    • Updated outdated libraries that may have conflicted with new features and introduced the check password interface to replace the previous mnemonic export interface, thereby preventing sensitive information exposure.

    In October

    1. GUI-Frontend
    Wallet Core Function Development and Integration

    • Completed full process implementation and integration of wallet management, account management, and token management interfaces.
    • Implemented wallet data persistence storage based on IndexedDB.
    • Optimized the application of AES-256-GCM encryption algorithm in wallet data encryption and decryption.
    • Refactored cryptographic operations based on WebWorker to improve performance.
    • Completed UTXO/Account model transaction construction.
    • Implemented EIP-1559 dynamic fee estimation.
    • Integrated secp256k1/ed25519 signature algorithms.
    • Implemented transaction broadcast retry and confirmation mechanism.

    V2 Interface Upgrade and Implementation

    • Refactored renameWallet/walletNote interfaces to support batch operations.
    • Optimized exportKeystore to use PBKDF2 for key derivation.
    • Enhanced permission control mechanism for exportPrivateKey.
    • Implemented incremental updates and caching for defaultTokenList.

    Internationalization Architecture Optimization

    • Built a multilingual configuration system based on i18next.
    • Implemented on-demand loading and caching of language packs.
    • Integrated react-i18next hooks to optimize component translation.
    • Supported localization formats for dates, numbers, and currencies.
    API Layer Refactoring (utils/api.tsx)
    • Implemented request instance encapsulation based on Axios.
    • Integrated request retry and timeout control mechanisms.
    Module Structure Optimization
    • Reorganized code using Domain-Driven Design (DDD) principles.
    • Implemented Custom Hooks to reuse business logic.
    • Optimized state transmission using Context API.
    User Experience Optimization
    • Component system refactoring: Integrated password strength detection in PasswordModal component.
    • QRCodeComponent supports multiple encoding formats and precision levels.
    • Implemented a composable Modal component system.
    • Implemented intelligent address formatting based on Ellipsis.
    • Integrated SVG Sprites to optimize network icon loading.
    • Introduced Virtual List to optimize the performance of long lists.

    Security Enhancements

    • Implemented password encryption based on Web Crypto API.
    • Integrated zxcvbn for password strength evaluation.
    • Implemented multi-factor authentication for sensitive operations.

    2. GUI-Backend

    Wallet Core Function Refactoring

    Upgraded key management system:

    • Refactored keystore storage mechanism, changing from file system direct storage to AES encrypted storage (removed fs dependencies).
    • Implemented encryption parameter passing mechanism based on key_iv(), unified encryption with fixed key/iv.
    • Removed hardcoded wallet ID, replaced with dynamically generated hash as an identifier.

    Token Management System Optimization

    • Refactored network naming conventions to use {CHAIN}-{NETWORK} format (e.g., ETHEREUM-SEPOLIA).
    • Implemented decimals caching mechanism based on NodeCache to optimize token balance query performance.
    • Simplified coin+network two-layer structure to a unified network identifier.

    Database Architecture Optimization

    • SQLite table structure refactoring:
      • Optimized token_list/default_token_list table design, removed redundant coin field.
      • Updated tx_history query statements, simplified network-related query conditions.
      • Added wallet meta fields to support source/identifier information storage.

    Query Performance Optimization

    • Refactored GET_TOKEN_LIST/GET_DEFAULT_TOKEN_LIST query statements.
    • Optimized tx_history query by adding a 3-day time window limit.
    • Simplified token-related query parameters, removed redundant coin parameters.

    API Standardization

    • Interface Refactoring:
      • Refactored balance/transferEth interfaces, unified the use of network instead of chainType.
      • Optimized feedback interface parameter validation, standardized error handling.
      • Implemented wallet note setting and retrieval functionality.

    Security Enhancements

    • Implemented unified management for markBackupDone/isBackupNeeded.
    • Optimized scanKeystores scanning logic.
    • Improved proxy configuration to support development environment settings.

    3. Proxy-Wallet

    Multi-Chain Protocol Support Extension

    • Integrated BRC20 protocol support, implemented inscribe/transfer operations and UTXO management.
    • Added support for Runes protocol, improved inscription asset balance query and UTXO indexing.
    • Extended Layer2 network support, connected Base, Blast, Scroll, OpBNB, and other EVM-compatible chains.
    • Refactored BTC network access layer, migrated to UniSat API, optimized mempool monitoring and UTXO management.

    API Architecture Refactoring and Standardization

    • Unified network naming convention to {CHAIN}-{NETWORK} format for cross-chain identifier standardization.
    • Refactored BTC UTXO selection algorithm to support dynamic priority selection based on confirmation numbers.
    • Implemented real-time exchange rate conversion engine, supporting 30+ fiat and mainstream cryptocurrencies.
    • Optimized API error handling middleware, implemented RFC7807 standard for error response formats.

    System Performance and Availability Optimization

    • Built a multi-level caching architecture, implemented LRU caching strategy for price queries based on Redis.
    • Refactored API response structure, implemented GraphQL-style field-by-field return on demand.

    4. HD-Wallet

    Key Management System Enhancement

    • Implemented keystore encryption export system based on AES-256-CBC/Pkcs7.
    • Built key integrity verification mechanism, supported key_hash verification chain.
    • Refactored private key storage architecture, optimized support for HD/Private Key dual mode.

    Multi-Chain Network Support Extension

    • Improved Layer2 ecosystem integration, added support for major networks such as zkSync, Scroll, opBNB, Base, and Linea.
    • Refactored chain identifier system, implemented migration plan from Goerli to Sepolia test network.
    • Upgraded project architecture to deeper-wallet, optimized module dependency structure.
    • Enhanced cross-platform compilation system, improved ARM64/musl support.

    API Interface Enhancement

    • Built core interface system for key management, supporting secure export and verification.
    • Optimized data structure design, implemented hash tracking and integrity verification.

    Technical Scheme Discussion: 

    1. GUI-Frontend: Hardware Wallet Encryption and Unlocking Scheme

    • In-depth research was conducted on WASM encryption for keystore technology, exploring its potential applications in hardware wallet unlocking scenarios. By introducing WASM to handle encryption and decryption operations, significant improvements were made in the security and performance of key management. The adoption of this scheme aims to reduce the risk of sensitive information exposure and enhance the overall protective capabilities of the hardware wallet.

    2. HD-Wallet: Application of Security and Code Obfuscation Techniques

    • Code obfuscation techniques were introduced in the keystore decryption function to further strengthen code security and prevent malicious reverse engineering attacks. By complicating key logic, code obfuscation effectively increases the difficulty for attackers to analyze the code.
    • A secure storage scheme for wallet keystore files was discussed and implemented, using AES encryption to protect mnemonics and passwords. During wallet creation, mnemonics and passwords are encrypted and securely stored, ensuring the safety of sensitive information.
    • Dynamic encryption and decryption strategies were adopted during signing and deriving addresses, meaning data is decrypted in memory for processing and immediately re-encrypted once operations are complete. This approach minimizes the time during which sensitive data is in plaintext, thereby enhancing security.

    3. GUI-Frontend: WebWorker-based Cryptographic Performance Optimization

    • Improved wallet cryptographic performance by utilizing WebWorker architecture. By moving secp256k1/ed25519 signature verification and AES-256-GCM encryption/decryption operations to dedicated Worker threads, effectively resolved main thread blocking issues. Additionally optimized IndexedDB storage strategy to enhance UTXO data read/write performance. Test data shows that this solution reduced single transaction signature verification time from 300ms to under 100ms, significantly improving user transaction experience.

    4. Proxy-Wallet: Inscription Protocol Support and UTXO Management Enhancement

    • Completed support for BRC20 and Runes inscription protocols, implementing a categorized UTXO management mechanism. Enhanced inscription transaction building efficiency through optimized UTXO selection algorithms. Introduced RBF (Replace-By-Fee) strategy for dynamic fee adjustment, and implemented LRU cache with RocksDB storage, maintaining inscription asset query latency within 50ms. These optimizations laid the foundation for supporting more types of inscription protocols in the wallet.
    Technical document reference:

    https://github.com/deeper-chain/deeper-chain

    https://deeper-network-inc.gitbook.io/deeper-connect-knowledge-base/

    https://doc.deepernetwork.org/

    Community News

    • Shared by using the Deeper Connect, users can unlock region-restricted games (eg: NFL, Fantasy Football)
    • Shared how to use Deeper Connect device to switch Netflix to different countries and access non-local content
    • Released Deeper lock screen wallpapers branding exposure
    • Encouraged users to share more real usage experiences, so that the community or new users can learn more about actual usage conditions
    • Shared articles to explain to the community how to identify and pay attention to different types of phishing emails
    • Shared the reseller posts to encourage users to join as resellers community
    • Shared Deeper Connect Fun Facts and lets the community know more about several powerful features of the device
    • Deeper Network Chief Evangelist Eric Ma was invited by Farmsent to share the DePIN project discussion on Twitter Spaces
    • Eric Ma on Web3 Global Twitter space promoting Deeper Network
    • Shared Deeper Connect Air was recommended by Mashable.com and introduced in detail the main functions of Air and other website promotion articles
    • Shared the importance of regularly updating AtomOS versions and how to update them manually
    • Chief Evangelist Eric Ma participated in Token2049 Singapore to increase network and project exposure
    • Shared different troubleshooting tips to make it easier for new users to use the device
    • Shared the comparison table of differences between Deeper Network and other decentralized projects to help users understand the project better
    • Announced the Deeper Connect Pico is sold out in the United States, some Asia-Pacific regions, Africa and non-EU countries, and is no longer being restocked.
    • Shared how social media influencers can use the Deeper Connect to reach target audiences in different regions 
    • Shared White Paper content about the different software planes of the device, and how the data can be secured while processing in AtomOS
    • Announced official email accounts and reminded users to identify and prevent users from clicking on phishing emails
    • Posted a Halloween Spin the Wheel special
    • Shared Deeper Network Discord exceeds 10,000 members post
    • Shared World Internet Day reminds everyone that the development of the Internet has made network security more important
    • KOL YouTube support: DeeperNaut, Info Fusion2.0, AmrSec, Maxim Efimov proactively reports for Deeper Network

    Marketing News 

    • Affiliate platform expansion: reached out multiple large-scale platforms and actively discussed how to further access more partners to expand the market coverage to increase the network ecosystem.
    • New market expansion: focuses expansion on Southeast Asia, especially the Philippines, Indonesia, Thailand and Vietnam, and strives to establish more nodes.
    • KOL collaboration expansion: mainly focuses on technology, games and Internet-related fields, and establishes collaboration with influencers in related fields to enhance brand exposure.
    • Promotion: the "End of Summer Sale" was launched at the end of September.
      In October, launched a flash sale and Halloween special for the Mini and the Air.
    • Launched Reddit ads to allow more community members to access and benefit from the Deeper devices.
    • Device updates: the Deeper Connect Pico will not be restocked after it sold out, and launched the Deeper Connect Pico Lit which is currently open to distributors for bulk purchase.
    • New channel expansions: TEMU US store launched online, providing users with more choices and faster delivery.
    • Business channel expansion: launched RangMe wholesale platform, expanded more collaboration opportunities with North American distributors, and market share in North America.