Elastos Insights

Behind the Code: Weekly Elastos Technical Update

Elastos Behind The Code - 22 April 2025

Welcome to our 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 ecosystem, including BeL2 (Bitcoin-secured DeFi layer), Elacity (decentralized digital assets marketplace), Elastos Essentials Wallet, and more. Let’s dive into what our teams have accomplished over the past few weeks.

BeL2

Arbitrator BTC Fee Implementation

  • Completed discussions and finalized solutions for arbitrators collecting BTC fees
  • Developed and tested JS code to generate transaction scripts based on contract event information
  • Determined that frontend can assemble scripts autonomously using existing event data
  • Fixed critical bugs where orders showed BTC fee as 0 after taking (missing return statement)

Contract Architecture Optimization

  • Identified code size limitation issues in the ArbitratorManager contract
  • Explored multiple optimization approaches:
    • Option 1: Separate collateral management into an independent contract
    • Option 2: Maintain ArbitratorManager upgradeability with modifications
  • Began preliminary implementation of contract separation to verify technical feasibility
  • Optimized code by removing unnecessary checks and extracting duplicate code

ELA ERC20 Staking Support

  • Developed arbitrator ELA ERC20 staking functionality
  • Added ELA ERC20 token value calculation capabilities
  • Standardized arbitrator collateral amounts by converting to ETH equivalent values
  • Adjusted calculation logic to adapt to existing collateral checking mechanisms

Stablecoin System Development

  • Discussed implementing stablecoin solution based on existing lending and arbitrator protocols
  • Analyzed relationships between stablecoin contracts
  • Evaluated adaptability of existing contract architecture for stablecoin support
  • Started development of issuer whitelist contract
  • Created basic implementation of stablecoin ERC20 contract

Elacity

Public Release: Elacity v3 Launch on ESC

  • Successfully deployed Elacity v3 on the Elastos Smart Chain (ESC), now live at ela.city
  • Activates open digital markets for monetized media
  • Enables users to mint, preview, buy, and trade assets and channels with native $ELA
  • Removes wallet, token, and format restrictions—broadening ecosystem participation
  • Platform is now in feedback phase: fine-tuning playback, wallet UX, mobile support, and contract edge cases

Media Playback, Preview System, and Transcoding

  • Added unencrypted 10-sec preview support for unauthenticated users
  • Finalized backend/frontend logic for preview URLs
  • Stabilized transcoding workflows across ffmpeg and ffmpeg.wasm
  • Resolved progress tracking and error handling in encoding pipelines
  • Enabled manual bitrate switching, improved seek/pause reliability
  • Patched FFmpeg for DASH period selection (currently limited to last period)
  • AV1/Opus codec testing underway for bandwidth-optimized delivery

Explore View and UI Performance

  • Refactored filter logic and sort options
  • Resolved UI bugs in search, accordion components, and sort menus
  • Limited channel category display to two per entry
  • Debugged layout and responsiveness issues across mobile and desktop views
  • Continuing validation of Explore performance post-optimization
  • Refining minting wizard interface and stakeholder display logic
  • Finalizing volume control bugfixes in the media player

Wallet, Essentials, and Web3 Authentication

  • Resolved Essentials in-app browser compatibility
  • Addressed WalletConnect iOS bugs and token inconsistencies
  • Ensured correct token behavior in minting flows (default to ELA)

Smart Contract Reliability & Asset Minting

  • Contract revert issues resolved post-upgrade
  • Fixed stakeholder minting and payout bugs
  • Hotfixes deployed to stabilize minting logic and asset tokenization

ElastOS & Authentication Layer

ElastOS will provide a virtual computer environment for accessing Web3 dapps and markets.

Repository & CI/CD Pipeline

  • Forking the original Puter interface and reconfigured for Elacity under the Elastos GitHub organization
  • Configuring a CI/CD pipeline to:
    • Auto-deploy builds to pc2.net on every push to the main branch
    • Block pull requests with failed unit tests
    • Provide accessible, structured deployment logs for debugging

Elastos Branding

  • Replacing all Puter branding elements with Elastos identity:
    • Logos, color schemes, background images, and naming conventions
  • Interface now limited to essential apps: document editor, file manager, terminal, and settings
  • Aligns all visual components with the Elastos media kit

Particle Auth Integration

  • Integrating Particle Auth to support both Web2 and Web3 login methods
  • Current UI includes:
    • Google, Facebook, and X (Web2)
    • MetaMask, WalletConnect, and Elastos Essentials (Web3)
  • Web2 users authenticate via OAuth, while Web3 users sign transactions
  • Sessions persist and link wallet addresses with user profiles

Elastos Essentials Wallet

  • Fixed issue where Android version could not change profile avatars
  • Handled EE professional DID avatar issues
  • Investigated WalletConnect connection problems with Glide application
  • Analyzed community-reported InAppBrowserWeb3Provider request failures

What’s Next

BeL2

  • Finalize detailed implementation plan for contract separation
  • Complete ERC20 staking functionality testing
  • Execute contract deployment strategy
  • Advance stablecoin contract development
  • Complete frontend implementation of arbitrator BTC fee collection
  • Integrate full process for extracting arbitrator BTC fees
  • Prepare for system-wide integration testing

Elacity

  • Refining support for multi-period DASH playback
  • Improving player compatibility with H264, Opus, AAC
  • Diagnosing transcoding stalls (likely audio-related)
  • Validating preview workflows in production
  • Continued validation of Explore performance post-optimization
  • Refining minting wizard interface and stakeholder display logic

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