Elastos Insights

Behind the Code: Weekly Elastos Technical Update

Behind the Code

Behind the Code: Weekly Elastos Technical Update

Welcome to this week’s Behind the Code Technical Update, where we provide detailed insights into the continuous development happening across the Elastos ecosystem. Each Tuesday, our “Behind the Code” series gives you a transparent look at the ongoing improvements 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 showcase 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 ecosystem, including BeL2 (Bitcoin-secured DeFi layer), Elacity (decentralized digital assets marketplace), Essentials Wallet and more. Let’s explore what our teams have accomplished this week.

BeL2

Stablecoin System Development

Multi-Token Staking Contract System The BeL2-NBW team achieved a major breakthrough this week with the completion of a sophisticated staking contract system that supports simultaneous staking of both ELA and FIST tokens. This implementation includes comprehensive core functionality:

  • Staking Function: Enables simultaneous staking of multiple tokens with a fixed 100-day staking period
  • Withdrawal Function: Allows withdrawal after the staking period expires with owner-only operation controls
  • Renewal Function: Permits renewal at any time, extending the period to current time plus 100 days
  • Penalty Function: Handles cases of overdue loan non-repayment with proper enforcement mechanisms

The system has been modified to support additional staking without changing existing time constraints, resolving payment token issues during transfers and improving the overall penalty mechanism by allowing the issuer’s owner to call functions, which resolves complex lender-issuer relationship issues.

Contract Security Research The team conducted comprehensive research into advanced contract security analysis tools to establish a strong foundation for code quality improvement:

  • Slither: Static code analysis tool for identifying security vulnerabilities
  • Mythril: Symbolic execution engine for analyzing complex interaction vulnerabilities
  • MythX: Commercial version of Mythril providing professional audit reports
  • Certora Prover: Formal verification tool using mathematical equation proof verification

These tools are being incorporated into the development workflow to significantly improve code security and reliability.

Automated Services Enhancement

Arbitrator and Issuer Signing Services Significant improvements were made to automated signing services, including:

  • Order Closure Functionality: Added and verified through comprehensive testing
  • Proof Submission Processing: Completed automated proof submission processes for both arbitrator and issuer services
  • Docker Deployment: Implemented containerized deployment supporting ARM platforms
  • Integration Testing: Completed configuration updates and integration testing across services

Infrastructure Optimization The team successfully completed major infrastructure improvements:

  • Cloud Migration: Migrated EID browser from AWS to Tencent Cloud, achieving significant cost savings
  • Graph Node Deployment: Deployed two new graph node instances as NBW application mainnet subgraph service nodes
  • Enhanced Monitoring: Added comprehensive monitoring for BTC header oracle service and other critical systems

Technical Issue Resolution

BTCHeader Contract Fixes Discovered and resolved critical issues in the BTCHeader contract including:

  • Missing confirmation block number validation when submitting new blocks
  • AddBlock failure during forks causing subsequent blocks to fail addition
  • Proof submission button appearing on expired orders

ECO Chain Operations Continued support for ECO sidechain operations including:

  • Investigation of persistent node synchronization issues following upgrades
  • Community node setup assistance
  • CR election support with stability script development
  • ELA 0.9.9.1 upgrade coordination

Elacity

Encoding & Transcoding Architecture

Production-Ready Pipeline Creation This week marked a major engineering milestone with the completion of Elacity’s event-driven transcoding and encoding architecture. Key achievements include:

  • Preview Generation: Integrated 10-second preview generation into transcoding workflows
  • Asset Organization: Finalized folder structure for separating full media and preview assets
  • Workflow Orchestration: Completed encoding logic and orchestration alignment across backend services
  • CI/CD Integration: Fully implemented automated deployment pipelines for transcoding and encoding services

The system now provides creators with automatic previews, adaptive streaming capabilities, and smooth backend media processing, positioning Elacity with a scalable, intelligent, and cross-device compatible transcoding pipeline.

Progress Tracking & User Experience

Real-Time Progress Creation Deployed comprehensive progress tracking systems to improve user transparency:

  • Centralized Functions: Implemented Firebase Cloud Functions for per-step and global progress updates
  • Live Updates: Created Firestore listeners and frontend bindings for real-time progress tracking
  • End-to-End Testing: Conducted full testing across all transcoding and encoding stages
  • Permission Resolution: Fixed routing mismatches and permission issues between workflow steps

Users now gain complete transparency into asset processing with real-time updates showing each step from upload to preview generation, building trust and improving support capabilities.

Media Compatibility Optimization

Media Compatibility Development Improved media compatibility through intelligent processing:

  • FFmpeg Parameter Optimization: Dynamically adjusted parameters using ffprobe input analysis for optimal video and audio compatibility
  • Browser Compatibility: Validated player compatibility across edge-case formats including .mov, .m2ts, and audio-only files
  • Audio Standardization: Implemented stereo audio fallback (-ac 2) for better playback via Media Source Extensions
  • Frontend Integration: Connected response handling to reflect encoding results from Firestore

All media uploaded to Elacity is now dynamically optimized for format reliability, playback quality, and broad compatibility, empowering creators to publish confidently regardless of input type.

Infrastructure Challenges & Solutions

ESC RPC Node Reliability Issues The Elacity backend experienced significant challenges due to ESC RPC node infrastructure instability:

  • Node Provider Issues: Primary node provider Glide was temporarily removed due to inaccurate responses and low block height syncing
  • Archival Sync Challenges: Limited peers and unstable history fetch affecting reliable data access
  • Backend Service Impact: Services depending on accurate on-chain reads (royalties, token listings, purchases) experienced delays

Mitigation Strategy Immediate response includes collaboration with node operators for short-term reliability restoration, while mid-term plans involve launching Elacity’s own ESC RPC node to ensure high-availability and accurate indexing for critical backend workflows.

Elastos Essentials Wallet

Version 3.2.2 Release

Major Updates and Improvements Successfully completed and released Essentials Wallet version 3.2.2 with significant enhancements:

  • Application Cleanup: Removed Chainge-related swap application and associated built-in dApps
  • API Upgrades: Updated Ethereum API to use V2 version for improved performance
  • License Updates: Changed license attribution from BeL2 to Elastos across arbiter and issuer signing service repositories

Bug Fixes and User Experience Addressed multiple critical issues to improve user experience:

  • BTC Unlock Functionality: Fixed borrower ability to directly unlock BTC after timeout periods
  • Order Status Handling: Prevented users from locking BTC when orders have expired and are in taken state
  • Arbiter Module Improvements: Added missing ToBeActive status in transactions and enabled order closure for ToBeActive status
  • Lending Module Fixes: Corrected orders incorrectly showing as overdue when time remained

What’s Next

Contract and Security Focus

  • Follow up on audit progress and handle discovered issues promptly
  • Implement contract security analysis tools more deeply to improve code quality
  • Improve development documentation to ensure consistency with implementation

Service Deployment and Testing

  • Complete issuer automated signing service proof submission process testing and deployment coordination
  • Complete arbiter deployment adjustments by Elastos Foundation
  • Finalize frontend-backend integration testing

Infrastructure Monitoring

  • Monitor mainchain upgrade status and CR election progress
  • Continue CR election support and chain stability script development
  • Resolve persistent ECO node synchronization issues

Frontend Application Enhancement

  • Continue comprehensive frontend application testing
  • Complete backend integration testing
  • Optimize user experience based on testing feedback

Join Elastos Today

The Elastos ecosystem continues to demonstrate consistent progress toward our vision of a user-sovereign Smartweb. This week’s achievements in staking contract development, automated service improvement, media processing capabilities, and infrastructure development bring us closer to providing users with secure, reliable decentralized services.

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 changing the way we interact online!

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

More Blogs