Welcome to our weekly Behind the Code Technical Update, where we share progress across the Elastos ecosystem. Each Tuesday, we highlight the work, improvements, and milestones achieved by our development teams. Whether you’re a developer, creator, investor, or simply curious about the technology powering the Smartweb, these updates give you a clear view of how we’re building a truly decentralized Smartweb that puts user sovereignty and Bitcoin-level security first.
Our updates cover the entire Elastos ecosystem, including BeL2 (Bitcoin-secured DeFi layer), Elacity (Decentralized digital assets marketplace), Essentials Wallet, and more. Here’s what our teams accomplished over the past week.
BeL2
Stablecoin System Progress
- Contract Deployment (Staging Environment):
- Deployed the complete contract suite including Arbitrator protocol with ERC20 staking registration support
- Added Loan_Contract and Loan_tools contracts for collateralization
- Created Issuer and StableCoin contracts for stablecoin issuance
- Set up MockOracle contract with fixed price set to 1e18 for testing purposes
- Security Updates:
- Added SafeERC20 for token transfers in the arbitrator protocol to strengthen security
- Completed thorough code review of critical system components
- Validated data flow and integrity across the contract ecosystem
- Testing Progress:
- Verified arbitrator’s ERC20 registration interface
- Tested DApp registration process
- Conducted detailed validation of stablecoin contract operations
- Found and logged issue: friendly negotiation order closure not burning tokens
- Verified order data accuracy across multiple test scenarios
Lending Protocol Development
- Architecture Improvements:
- Confirmed arbitrator protocol data consistency
- Verified correct ERC20 fund balance for arbitrator staking
- Reviewed Loan_Contract new script changes
- Issue Resolution:
- Fixed critical issue that prevented new orders from requesting arbitration
- Root cause: Incorrect UTXO handling during transaction creation
- Solution: Changed logic to ensure proper txindex value usage
- Updated stablecoin codebase with these changes
- Process Analysis:
- Mapped the complete lending process flow
- Analyzed two potential approaches for loan extension:
- Closing original order and opening a new order
- Modifying data within existing orders
- Decided against one-click extension due to:
- Complex order states and data relationships
- Risk of errors when modifying extensive data points
- Security concerns with high-permission new interfaces
- Unit Testing:
- Created MockLoanTools to support testing
- Fixed environment library conflicts
- Built and ran createOrder test cases
- Completed closeOrder function testing with success and failure scenarios
- Tested all setter methods with edge cases
- Added comprehensive order creation tests
- Tested takeOrder for both order types via LoanContract
Wallet Development
- SDK Improvements:
- Updated wallet JavaScript SDK to work with PGP sidechain cross-chain hub
- Tested coin deposit and withdrawal transactions
- Verified multi-signature wallet withdrawal functions
- Set up multi-signature wallet address configuration
- Bug Fixes:
- Solved arbitrator BTC fee collection issue, allowing proper handling of multiple fee payments
- Fixed critical bug that stopped lenders from unlocking BTC after locktime expiration
- Tested lending and arbitration workflow on ESC chain
- Verified data accuracy for new orders through the issuer
- Prepared illegal voting fix version (work in progress)
Elacity
ElastOS Integration and Branding
- Key Achievements:
- Set up CI/CD pipeline for ElastOS
- Completed UI/UX rebrand using Elacity themes and icons
- Reviewed Particle Auth login for cross-platform identity access
- Current Work:
- Fixing Android-specific compatibility issues for Particle Auth
- Testing code for service behavior and branding consistency
- Building orchestrated architecture for file upload and transcoding
Media Playback and Compatibility
- Key Achievements:
- Fixed token purchase failures during playback
- Solved issues with unpublished asset states and properties panel behavior
- Added support for non-standard media (embedded images, non-standard DASH streams)
- Removed problematic thumbnail streams from transcoding workflows
- Current Work:
- Merging playback fixes across the platform
- Testing transcoding parameter updates for various media formats
- Creating orchestrated, event-driven transcoding architecture
Adaptive Streaming and Bitrate Stability
- Key Achievements:
- Adjusted adaptive bitrate algorithm thresholds for smoother playback
- Added buffer visualization tools for testing
- Fixed video quality oscillation issues on low-bandwidth connections
- Studied system limitations with non-standard streaming formats
- Current Work:
- Completing final reviews of adaptive streaming code
- Testing playback across different devices and network conditions
UI and Wallet Improvements (Now Live)
- Key Achievements:
- Added transaction hover tooltips
- Fixed royalty icon and sidebar minimization bugs
- Removed outdated “Collections” feature
- Corrected channel table sorting and discount UI display issues
- Current Work:
- Adding gas fee estimation warning display
- Cleaning up UI for a more consistent experience
Elacity Version 3.0.1 Now Live!
Bug Fixes & Stability
- Solved channel volume update synchronization issues
- Fixed token purchase failures when accessing content after pressing Play
- Removed forced reconnection requirement for protected assets with active sessions
- Corrected lock button functionality and playback controls
- Fixed Explore filter inconsistencies
- Improved frontend handling for unpublished assets
- Patched previously solved issues that appeared again in recent builds
UI/UX Improvements
- Standardized icons across the platform for visual consistency
- Fixed Discount Stat UI display errors
- Set Media Properties Panel to open by default
- Updated royalty icon in the sidebar
- Added hover tooltips for transaction details (Sales/Activity)
- Corrected sidebar minimization behavior
- Limited displayed categories to maximum of two in Channels table for cleaner UI
- Removed non-active Collections
Coming Soon
- Transcoding standardization
- Multi-bitrate with automatic selection based on network quality
- Sorting fixes in Channel list view
- Smart contract upgrade to enable royalty offers in ELA
- Comment display corrections
What’s Next for BeL2
- Fix token burning issue during friendly negotiation order closure
- Complete stablecoin order testing on staging environment
- Finish ESC chain lending and arbitration process testing
- Add more unit test coverage
- Verify cross-chain wallet functions
- Release mainchain illegal voting fix
Join the Revolution
The Elastos ecosystem continues to make steady progress toward our vision of a user-sovereign Smartweb. By combining 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 complete infrastructure, a content creator wanting 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 try these new features, share your feedback, and join us in building the foundation for a more fair 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.