
The "Substrate Ecosystem Project Technical Monthly Report" produced by OneBlock+ regularly summarizes and organizes the technical progress of projects in various fields of the Substrate ecosystem, covering important product/technical submissions, modifications and releases, community solution discussions, technical community and ecosystem construction, technical data reference documents, etc., to help everyone quickly understand the latest technical related situations of Substrate ecosystem projects. This is the 40th monthly report, Enjoy!
DeFi
Acala Network
Acala is building a sustainable liquidity layer for Web3 finance that automatically captures returns, aiming to become the HyFi (DeFi+CeFi) infrastructure for crypto and real-world assets. Acala's multi-chain asset center UAH (Universal Asset Hub) provides multi-chain liquidity staking (LST) protocols such as LDOT and synthetic assets tDOT (DOT-LDOT), AMM, and highly compatible and customizable EVM+ (based on Substrate). The security of the Acala network is supported by the Polkadot relay chain and is also a liquidity gateway for Polkadot parachains and L1/L2 blockchains.
1. Important submission, modification and release
Upgraded Acala & Karura runtime 2270, compatible with Polkadot Generic Ledger hardware wallet application
https://github.com/AcalaNetwork/Acala/releases/tag/2.27.0
Acala Node 3.0.0 was released. This node uses the Omni Node, a universal node for parallel chains, as a basis, which simplifies the node upgrade and maintenance process. The 3.0.0 node is based on the polkadot-sdk stable2409 version
https://github.com/AcalaNetwork/acala-node/releases/tag/3.0.0
Chopsticks 1.0 released, supports papi
https://github.com/AcalaNetwork/chopsticks/releases/tag/1.0.0
2. Discussion on technical solutions
Discussion to support the use of papi to write Polkadot ecosystem integration tests
https://github.com/open-web3-stack/polkadot-ecosystem-tests/issues/92
3. Technical Documentation Reference
Bifrost
Bifrost (Rainbow Bridge) is the basic DeFi protocol of the Polkadot ecosystem. It is committed to becoming an infrastructure that provides liquidity for pledged assets and is a member of the Substrate Builders Program and Web3 Bootcamp. Its token can optimize transactions in multiple scenarios, serve as a transfer channel for pledged rights, and achieve risk hedging of pledged assets.
1. Important submission, modification and release
Runtime 0.15.0
Launch parachain staking module on Bifrost-polkadot
Add support for vBNC on Bifrost-polkadot
vBNC Migration Preparation
vTokenVoting supports vBNC to participate in governance
Optimization of bbBNC related functional modules
Omni LS 1.0.6
Support minting and redemption of vGLMR on the Astar (Substrate) network
2. Technical Documentation Reference
Smart Contracts
Moonbeam Network
Moonbeam is a developer-friendly blockchain that is fully compatible with EVM, Web3 APIs, and a bridge that connects Moonbeam to the existing Ethereum network. Developers can use Moonbeam to easily achieve cross-chain compatibility using existing Ethereum developer tools and networks. Developers can easily deploy existing Solidity smart contracts and DApp front-ends to Moonbeam with only minor modifications based on their own development results.
1. Important submission, modification and release
Moonbeam released - Client v0.41.1
Fix encoding issue of debug_traceBlock data field (#3023)
Version Update
Moonbeam: v0.41.0...v0.41.1
Polkadot-sdk: moonbeam-foundation/polkadot-sdk@86b704d...86b704d
Frontier: moonbeam-foundation/frontier@e4fcc12...e4fcc12
Moonkit: Moonsong-Labs/moonkit@b808b33...b808b33
Runtime 2602
This release fixes a critical vulnerability that, under certain conditions, caused EVM logging to be triggered during contract creation even if contract creation failed.
This release replaces runtime 2601. For a complete list of changes, see the changelog of release 2601 .
2. Technical Documentation Reference
Developer documentation:
storage
CESS
Cumulus Encrypted Storage System (CESS) is a high-speed, secure, scalable, smart contract-compatible decentralized cloud storage network infrastructure developed based on Substrate. It is the first decentralized distributed cloud storage network that supports large-scale enterprise-level commercial applications. It consists of a four-layer network architecture of blockchain, storage network, content distribution network and application layer. CESS uses a random rotation consensus node mechanism to coordinate network resources and loads, and ensures data integrity, security, traceability and privacy through mechanisms such as multi-copy recoverable storage proof (PoDR²), multi-type data confirmation (MDRC), and decentralized proxy re-encryption. CESS will support WASM and be compatible with EVM smart contracts to enable it to build a secure and efficient decentralized storage network for Web3 and large-scale commercial applications.
1. Important submission, modification and release
Consensus Node [ v0.7.8-venus ]
Completed the writing of CESS chain block migration benchmark test cases;
Fixed the problem that the CESS Node block migration related code could not be compiled in the test environment;
Upgrade the random challenge verification mechanism to allow storage nodes to select TEE Node to verify the random challenge proof;
Completed code reconstruction after consensus node framework upgrade;
Fixed the problem that the consensus node try-runtime environment could not start due to version incompatibility;
Storage Node [v0.7.16]
Fixed the inconsistency between the data filter and the records on the CESS chain when generating storage proofs;
Fixed the issue that the idle random challenge could not be executed due to inconsistency between the local accumulator and the on-chain snapshot;
Fixed the issue of being unable to authenticate idle space;
Optimize the idle space proof status recovery algorithm after the storage node is restarted, and automatically delete invalid data after recovery;
TEE Node [v0.7.8-venus]
Fixed the issue that the signature of random challenge verification result could not be effectively verified;
Fixed the issue that failed node cleanup failed in time, leading to signature verification failure on the random challenge chain;
Fixed the issue that the block synchronization verification module stopped working, resulting in a decrease in idle space authentication efficiency;
CESS aims to provide Web3 with feasible storage services and build a new generation of object storage service (DeOSS). The product ecosystem of the current CESS network is gradually enriching and prospering, and has incubated innovative applications such as online file sharing tools (DeShare), public chain snapshot storage services, and CESS network disk. You are welcome to experience them. The following is the progress of this week:
Object Storage Service ( DeOSS )
Complete the file upload and download test before online upgrade;
Completed the development of data cache service for CD2N node working module;
Completed the development of the main functions of the CD2N node TEE audit module, which uses Intel SGX to perform node contribution statistics and reward release;
Complete the construction of the basic service framework of the CD2N node working module;
Completed the data encryption and remote authentication functions of CD2N nodes based on the new algorithm;
Official website ( cess.cloud )
Complete the development of user mailbox group management function;
Blockchain Explorer ( CESS Scan )
After completing the background database upgrade, improve data access efficiency by sharding the database and tables;
Fixed the issue of being unable to parse transactions and events in blocks;
Fixed the issue that the service crashed abnormally when inserting a large amount of data into the backend database;
Fixed the issue of long-term asynchronization of transaction data;
Fixed the issue that the browser backend could not connect to the CESS chain after the RPC node address routing was updated;
Improve the status update mechanism to automatically refresh the status when the browser background works abnormally;
2. Technical Documentation Reference
GitHub: http://github.com/CESSProject
Infrastructure
Deeper Network
Deeper Network is committed to building a truly decentralized Internet and secure gateway. It aims to bring a better Internet experience to every home and become the user's gateway to Web3.0 applications.
1. Important submission, modification and release
1. GUI-Frontend
Wallet core architecture reconstruction
Design and implement the WalletSourceType enumeration type to standardize the classification of wallet creation sources
Optimize the wallet creation identification mechanism and implement strong type constraints based on TypeScript
Improve the wallet import verification logic and add a new multiple verification mechanism
Implement persistent storage of account indexes based on IndexedDB
Use Context API to restructure account status management and achieve unified status management
Introduced account status monitoring mechanism to optimize status synchronization efficiency
Safety certification system upgrade
Implement password transmission mechanism based on RSA asymmetric encryption
Design the UnlockManager singleton class to uniformly manage the unlocking process
Added a real-time password strength verification system to support multi-dimensional strength assessment
Implement a JWT-based Token authentication mechanism with a validity period of 20 minutes
Integrate axios.interceptors interceptor to uniformly handle Token verification
Optimize sessionStorage storage encryption scheme to improve data security
Implement a segmented display mechanism for private keys to reduce the risk of information leakage
Added a secondary confirmation process for sensitive operations
Integrated screenshot detection and warning system
Internationalization framework upgrade
Refactored CurrencySelector component to support 50+ mainstream currencies
Implement selector performance optimization based on useMemo to reduce unnecessary rendering
Added automatic currency exchange rate update mechanism
Implement the getNetworkDisplayName method to support dynamic language switching
Added networkUtils tool class to unify the network display logic
Completed multi-language configuration for 9 major blockchain networks
User feedback system optimization
Design FeedbackModal component to realize unified feedback collection interface
Build a classification system, including feature requests, performance issues, security risks, etc.
Integrated device information collection function to support rapid problem location
Implementing unified error handling middleware
Added detailed error type definitions to support precise error prompts
Optimize error logging system
Technical architecture optimization
Introducing the await-to-js library to standardize asynchronous error handling
Implement a unified icon management system (icons.tsx)
Optimize component lifecycle management and reduce memory usage
Unify API response format and standardize error code system
Implement request retry mechanism to improve interface call stability
Optimize API cache strategy to improve response speed
Implement component-level code splitting to optimize first screen loading time
Introducing virtual scrolling technology to optimize large list rendering performance
Optimize resource loading strategy to implement key resource preloading
2. GUI-Backend:
API system architecture implementation
Build a standardized API response format and implement RFC 7807 error handling specifications
Implemented a transaction history query interface based on ElasticSearch, supporting multi-field composite index retrieval
Added ERC20 token standard compatible balance query function, supporting batch token balance aggregation query
Improve the address management interface to implement batch address derivation and management of BIP44 paths
Implemented a multi-layer API cache mechanism based on Redis, and optimized the average response time to less than 50ms
Integrate CoinGecko API to implement price query service and provide real-time exchange rate push through WebSocket
Added Deeper Wallet API endpoint to support wallet creation, import, transaction signing, etc.
Wallet core function enhancement
Implement HD wallet creation and import functions that comply with BIP39/BIP44 standards, and support multi-chain mnemonic derivation
Added AES-256-GCM encrypted keystore import and export functions to ensure cross-platform data migration security
Improve support for ECDSA and EdDSA signature algorithms, and implement EIP-191 and EIP-712 signature standards
Implement EIP-1559 compatible token transfer function and support dynamic fuel fee estimation
Implement hierarchical deterministic address derivation based on BIP32, supporting multi-account hierarchical management
Use Multicall contract to optimize balance batch query, and query 100+ token balances at a time
Realize transaction details query based on blockchain index and support internal transaction tracking
Added Deeper Wallet core functions to support address derivation and transaction signatures for ETH and SOL chains
Security mechanism optimization
Implement a password encryption transmission mechanism based on TLS 1.3, using PBKDF2-SHA256 for key derivation
Added an elliptic curve-based API request signature verification system to prevent man-in-the-middle attacks
Improve OAuth 2.0 authorization process and support two-factor authentication (2FA)
Use Shamir's Secret Sharing algorithm to implement sharded storage of private keys
Implement JWT-based API access control, integrate IP whitelist and rate limiting
Optimize key derivation path management and implement BIP39 entropy enhancement solution
Data storage architecture upgrade
Design a sharded MongoDB cluster architecture to achieve horizontal scalability
Implement local storage of transaction history based on RocksDB, and support LevelDB data format compatibility
Use B+ tree index to optimize address query performance and support prefix matching retrieval
Implement automatic data cleanup mechanism based on TTL index to optimize storage space utilization
Adopt a two-way synchronization mechanism to ensure data consistency on the chain and achieve final consistency guarantee
Added deeper_wallet.db database to store wallet accounts and transaction records
Infrastructure improvements
Refactored the network request module to implement HTTP/2 long connection reuse and request pipelining
Use OpenTelemetry to implement distributed tracing and support Jaeger visualization analysis
Implement Nginx reverse proxy load balancing and support dynamic service discovery
Integrate Prometheus + Grafana monitoring system to achieve full-link performance analysis
Implement a structured log collection system and integrate ELK Stack to implement log aggregation analysis
Optimize the system message cache mechanism, store messages by category, and improve query efficiency
2. Discussion on technical solutions
HD wallet multi-chain derivation mechanism
Analyze the mnemonic derivation scheme of BIP39/BIP44 in multi-chain scenarios, and study how to uniformly manage the address derivation paths of different chains
Explore the security risks of managing multiple chain accounts with a single mnemonic phrase, and evaluate whether it is necessary to use independent entropy sources for different chains
Study the application of Shamir's Secret Sharing algorithm in private key sharding storage and explore how to optimize the performance of reorganized private keys
Transaction signature optimization
Compare the performance of ECDSA and EdDSA on ETH and SOL chains, and study how to optimize the signing process
Analyze the implementation of EIP-1559 dynamic fee estimation and explore how to improve the accuracy of fee prediction
Study the concurrent processing mechanism of batch transaction signatures and evaluate the balance between memory usage and performance
3. Technical Documentation Reference
Wallet
SubWallet
SubWallet is a comprehensive non-custodial wallet for the Polkadot, Substrate, and Ethereum ecosystems. With the mission of bringing users closer to Web3, we envisioned a Web3 multiverse gateway through which users can enjoy multi-chain services easily and absolutely securely. With the SubWallet extension, mobile app, and website dashboard, connecting and using blockchain-based applications is smoother than ever.
1. Important submission, modification and release
SubWallet is the most unified and comprehensive wallet available :
Integrate Avail mainnet and testnet
Supports AVAI tokens on the Avail network and Ethereum network
Support cross-chain transfer of AVAIL tokens between Avail network ↔ Ethereum network
Supports nomination pools and direct nominations for AVAIL tokens
Supports sending, receiving and staking AVAIL tokens on Ledger hardware wallets
SubWallet provides the most ideal and user-friendly native staking methods in the Polkadot and Ethereum ecosystems, including direct nomination, joining the nomination pool, parachain staking and liquidity staking.
SubWallet will support ERC-7683 , created by Across and Uniswap, bringing instant interoperability to Ethereum L2 and sidechains.
SubWallet released extension v1.3.6 and mobile app v1.1.84 on November 11 (440):
Added new tokens on Polkadot Asset Hub, Ethereum, Hydration, Arbitrum, and Polygon
15 new networks integrated
Added new features: in-app notifications and unified accounts
Support for in-app staking of TAO
Support ERC-1155 token standard
Support for NFTs on the Ternoa Network
Added new XCM channels: KSM between Bifrost Kusama ↔ Kusama, and AVAIL between Avail ↔ Ethereum
Added new exchange token pairs
Stop supporting app updates for mobile devices running iOS versions below 16.4
SubWallet already supports the peaq mainnet , and users can manage, send and receive PEAQ tokens on all SubWallet platforms.
Crypto to Fiat by Transak provider is now live in SubWallet. Users can now log in to the SubWallet website dashboard and redeem tokens for fiat currency through VISA, Mastercard, SEPA bank transfer and Faster Payments. Extensions and mobile apps will be supported later.
2. Technical Documentation Reference
