Elastos Insights

Behind the Code: Weekly Elastos Technical Update

Welcome to this week’s Behind the Code, your inside look into the engineering teams building the Elastos SmartWeb. This week, NBW advanced Phase 3 automation, deploying the Issuer automatic liquidation service to production, optimizing the auto-proof-submission system, and stabilizing PGP chain consensus after node failures. They also began ecosystem expansion research into Swap, LP mechanics, and BNB-chain meme coin infrastructure, while continuing improvements to the Elastos Essentials wallet and user-facing BTCD flows.

This week also marked a major milestone for the World Computer Initiative. The MCP interface layer is now fully refined, and the Wasmer runtime is fully integrated into PuterOS completing the syscall layer required for AppCapsule execution across cloud, PC2, and decentralized login workflows.The upcoming internal release will introduce the first integrated decentralized login + IPFS-powered flows inside the OS with this Wasmer AppCapsule technology.

NBW Team Major Achievements This Week

1. Advanced Automated Operations (NBW 2.0 — Phase 3)
  • Issuer automatic liquidation service fully released to production.
  • Automatic order closure logic verified in all scenarios.
  • Auto-proof-submission system optimized; Issuer-proof failures resolved.
  • BTCD lending auto-unlock module fully tested and stabilized.
2. PGP Chain Stability Restored
  • Critical bug fixed where DAO nodes failed to produce blocks.
  • Upgrade announcement published; DAO members were advised through node upgrades.
  • Mainchain DAO node state transitions and consensus stability verified.
3. Ecosystem Expansion & Product R&D
  • Deep Swap product discussions: UniswapV2 LP formation, balance flows.
  • BNB-chain meme coin market research + technical feasibility tests.
  • Collateralization ratio optimization research for BTCD competitiveness.
4. User Experience Enhancements
  • EE Wallet: Fixed non-BTC wallet connection failures.
  • PG Swap: ELA balance display bug resolved.
  • User payment failures diagnosed (RPC switching solution).

Advanced Automated Operations

Issuer Automatic Liquidation Service — Production Release
  • Full liquidation logic validated across edge cases.
  • Automatic order closure verified under real network conditions.
  • Deployed to production with live monitoring + alerting.
  • Complete migration from dev/testing → operational state.

Impact: NBW achieves **automated risk control** at scale.

Automatic Proof Submission System
  • Joint testing of BTCD proof-submission script completed.
  • Fixed Issuer not auto-submitting proofs on PG chain.
  • Improved timing control + trigger mechanisms.
  • Fault tolerance and recovery strengthened.

Impact: Reduces manual load and improves user reliability.

BTCD Lending Unlock Module
  • Full functional verification completed.
  • Automatic unlock timing and accuracy validated.
  • Enhanced security and consistency.

Impact: BTCD automation loop now complete: liquidate → close → unlock.

PGP Chain Stability & Consensus Maintenance

  • DAO nodes failing to produce blocks due to incomplete initialization — fixed.
  • Upgrade announcement drafted + deployed.
  • Assisted DAO operators through upgrades.
  • Mainchain DAO → NextTurn transitions thoroughly tested.
  • POW fallback + DPoS recovery tested.

NBW ensured the PGP chain remained stable across multiple consensus paths, reducing operational risks for ecosystem applications and arbitrators.

Ecosystem Expansion — Swap, LPs & BNB Meme Coins

Swap Product (UniswapV2-based)
  • Deep architecture discussions on LP formation and routing.
  • Resolved PG Swap ELA balance non-display issue.
  • Identified Android EE cache-related page rendering bug.
  • Improved Swap UX flows.
BNB Chain Meme Coin Research
  • Market analysis of high-volume meme coin behaviors.
  • Technical review of BNB-chain mint/deploy processes.
  • Wrote scripts to simulate external market purchase flows.
BTCD Collateralization Ratio Discussion
  • Explored optimization paths for collateral ratio competitiveness.
  • Tested bypass scenarios to validate 65% ratio edge-cases.
  • Prepared data for final economic-model decision.

EE Wallet and User Experience Enhancements

  • Fixed connection issues for non-BTC wallets.
  • Resolved PG Swap ELA-balance-display issue.
  • Helped users bypass RPC issues to complete payments.

NBW also conducted thorough compile-time verification of both EE Wallet and BTCD DApp builds, closing fixed issues and documenting new ones.

NBW Conclusion

NBW’s automation stack is now moving from development → production, marking a major milestone in NBW 2.0. With liquidation, proof-submission, and unlock systems automated — and with PGP consensus stabilized — NBW is ready for the next scaling phase. Ongoing ecosystem exploration (Swap, LPs, BNB Meme coins) opens new growth vectors for the wider BTCFi ecosystem.

 

Elastos World Computer Initiative (WCI)

 

Elastos World Computer — MCP Refinement & Wasmer Runtime Integration

The MCP interface layer — the “syscall layer” of the World Computer — is now fully defined, extracted, and integrated into PuterOS. Wasmer is now running entirely through this interface, completing the secure runtime foundation for portable AppCapsules.

1. MCP Interface Layer Completed
  • All OS-facing interfaces extracted into the MCP contract.
  • Boundary between OS ↔ Runtime ↔ Wasmer sandbox formalized.
  • Support for decentralized login, authorization, IO, and storage.
  • JSON-RPC + formal JSON Schema 2.0 for safe validation.
2. Wasmer Runtime Fully Integrated via MCP
  • Wasm apps now execute as AppCapsules through MCP.
  • Deterministic loading + permissioned system calls.
  • Portable across cloud, PC2, and decentralized devices.
  • Enables IPFS-without-cloud and extension-based login.
Next Steps
  • Add capsule-selection step to onboarding.
  • Split App Market into isolated, versioned capsules.
  • Prepare internal release including decentralized login demo.

Workflow Engine, Job State Machine & Background Processing

The team advanced the entire computation pipeline behind media minting and long-running tasks.

  • AsyncIterator-based workflow unification.
  • Backend-driven workflow updates.
  • Persistent job state with resume support.
  • Redux ↔ Firebase ↔ DB model alignment.
  • Resilient transcoding + IPFS upload orchestration.

Impact: Elastos helps Elacity becomes an event-driven, resumable compute platform rather than a synchronous web app.

LaunchPad — Market Cap Tracking, Graduation Flow, Contract Refinement

  • USDC migration complete.
  • MarketCap + price interval updates.
  • Aerodrome v3 graduation fully implemented.
  • Bundled transactions stable.
  • Curve validation: Bancor, exponential, VSM.
  • Governance + liquid list fixes.

Background Video Processing & Upload Optimization

  • Background Job Persistence API ~40%.
  • Autosave/resume for minting.
  • Processing job dropdown + cards.
  • Mint → playback verification pipeline aligned.

Infrastructure, RPC Stability & Developer Experience

  • VM upgrade (2GB → 4GB RAM).
  • RPC investigations + Infura DIN research.
  • Improved agent-assisted development guidelines.
  • Added extensive unit tests.

Strategic Outlook

Elacity and WCI are converging into a unified system:

  • MCP + Wasmer unify the execution layer.
  • LaunchPad approaches production-readiness.
  • Workflow engine nears persistent, resumable maturity.
  • Background compute is aligning with personal-cloud goals.
  • Extension-based decentralized login is imminent.
The World Computer is materializing — subsystem by subsystem.

More Blogs