Elastos Insights

Behind the Code: Weekly Elastos Technical Update

Behind The Code - Elastos Technical Updates April

Welcome to our first weekly Behind the Code Technical Update, a new series we’re launching to keep our community informed about the continuous development happening across the Elastos ecosystem. Each Tuesday, our “Behind the Code” series will provide detailed insights into the ongoing improvements, innovations, and milestones achieved by our dedicated development teams. Whether you’re a developer, creator, investor, or simply curious about the technology powering the Smartweb, these updates will give you a transparent look at how we’re building the future of a truly decentralized Smartweb that prioritizes user sovereignty and Bitcoin-level security.

Our updates cover the entire Elastos eco-system, including BeL2 (Bitcoin-secured DeFi layer), Elacity (decentralized digital assets marketplace), Essentials Wallet, Blockchains and more. Let’s dive into what our teams have accomplished over the past few weeks.

BeL2

Native Bitcoin Fee Payment System
  • Implemented complete functionality for arbiters to receive BTC transaction fees directly
  • Deployed a new address generation system that creates unique BTC addresses for fee payments
  • Enhanced smart contracts to verify proper BTC fee payments through the entire transaction lifecycle
  • Strengthened transaction validation to ensure all BTC transactions are properly recorded and confirmed
Verification Speed Improvements
  • Implemented and tested a new MerkleRoot calculation algorithm that significantly improves efficiency
  • Reduced computational overhead in the verification process through optimized logic
  • Successfully addressed contract size limitations through code refactoring and optimization
Lending Protocol Enhancements
  • Completed implementation of the entire lending flow with BTC integration
  • Optimized order creation, taking, and execution processes
  • Enhanced verification of BTC collateral transactions and transfers
  • Improved automated distribution of assets upon loan completion or arbitration
Contract Optimization
  • Restructured key smart contracts to improve modularity and reduce code size
  • Reduced gas costs for common operations
  • Moved key functionality to appropriate contracts for better organization
  • Enhanced test coverage and reliability

Research

Bitcoin Script Efficiency Analysis
  • Comprehensive testing revealed that P2WSH scripts can save approximately 50% in fees compared to P2SH and 30% compared to P2PKH
  • These findings are now guiding future script selections to minimize user costs
BTC Stablecoin Research
  • Explored optimal collateralization models for Bitcoin-backed stablecoins
  • Researched bond-based stability methods for price stability mechanisms
  • Evaluated various liquidation approaches to ensure maximum efficiency and fairness
  • Developed time-weighted oracle systems for reliable price feeds
Adaptive Streaming Research
  • Researched BOLA (Buffer Occupancy-based Lyapunov Algorithm) for future automatic bitrate adjustment
  • Resolved playback issues across various network environments

Elacity

Smart Contracts & ESC Deployment
  • Successfully deployed version 3.0.0-RC7 and 3.0.0-beta2 to the Elastos Smart Chain (ESC) with a fully Dockerized architecture and complete CI/CD automation
  • Upgraded key smart contracts including Authority Gateway, Trade Gateway, Operative, Channels, and Payment Processor
  • Implemented dDRM v2 smart contracts with optimized access tracking and initiated continuous integration/testing updates
  • Resolved native token transfer issues and mitigated contract call revert issues on Arbitrum Sepolia and during ESC-based royalty transactions
Explore View Optimization & UI/UX Enhancements
  • Refactored Explore view pipeline for large dataset performance (8,000+ items), eliminating unnecessary aggregation stages
  • Added new filters: “Recently Listed,” “Recently Sold,” “Lowest Price,” “Highest Price”
  • Improved search accuracy and optimized sorting behavior
  • Refactored NFT fetch logic into a shared backend library, improving maintainability and speed
Royalties, Subscriptions, and Sales
  • Finalized 5% Elacity royalty fee workflow across backend and frontend
  • Improved visibility of transaction events in the Sales view, including listings, offers, bids, and purchases
  • Fixed inconsistencies in subscription volume stats and auto-refresh behavior
  • Enhanced purchase event tracking and royalty failure diagnostics
Real-Time Messaging via XMTP
  • Upgraded to the latest XMTP protocol
  • Integrated real-time messaging into sales flows and offer activities
  • Debugged XMTP-related backend logic to ensure message stability
Media Transcoding & Content Delivery
  • Integrated ffmpeg.wasm to enable client-side transcoding for secure and performant media uploads
  • Implemented transrating (bitrate scaling) and transizing (resolution scaling) for optimized media delivery
  • Built and deployed a multi-period DASH encoding pipeline for 10-second preview clips
  • Developed hybrid JS+C logic for adaptive bitrate streaming with custom DASH MPD parser and integrated bitrate switching controls

Elastos Essentials Wallet

  • Released Elastos Essentials Android 3.2.0 to Google Play Store
  • Submitted Elastos Essentials iOS 3.2.0 for App Store review with updated icons and screenshots
  • Resolved animation issues and improved overall user experience
  • Streamlined network options for better user experience
  • Diagnosed and mitigated a limitation in the WalletConnect x Particle SDK, requiring manual chain switching when dApps span multiple chains

What’s Next

  • BeL2 v2 Deployment: Final testing and deployment of BTC fee payment and verification speed improvements
  • Enhanced Documentation: Comprehensive guides for developers and users of BeL2 applications
  • Merge Mining Collaboration: Implementation of updated documentation for mining pool partnerships
  • Contract Deployments: Deployment of optimized lending contracts with BTC fee support
  • Elacity Media Player: Further refinements to adaptive streaming capabilities based on BOLA research
  • dDRM v2: Continued testing and improvement of decentralized Digital Rights Management system

Join the Revolution

The Elastos ecosystem continues to demonstrate consistent progress toward our vision of a user-sovereign Smartweb. By bringing together Bitcoin’s security, decentralized identity, and peer-to-peer networks, we’re building a Smartweb where users truly own their data, identity, and digital assets.

Whether you’re a developer looking to build on our holistic infrastructure, a content creator seeking to directly monetize your work without middlemen, or simply a user who values privacy and control over your digital life, Elastos provides the tools and technology to make this possible.

We invite you to explore these new features, provide feedback, and join us in building the foundation for a more equitable digital future. Stay tuned for next week’s technical update as we continue empowering users and revolutionizing the way we interact online!

Connect with Elastos: Visit Elastos.net to learn more, or download Elastos Essentials to get started today.

More Blogs