Starcoin Dual-VM Integrates Move 2.0: Enhanced Flexibility and Efficiency

Starcoin
2 min readApr 1, 2025

--

Starcoin has recently made significant progress in the design and implementation of its Dual-VM architecture. By integrating advanced Move 2.0 libraries such as statedb, storage, and transaction-builder, the system now operates more intelligently and efficiently. These technical enhancements significantly improve stability, scalability, and ecosystem development. Following the integration of Move 2.0, the execution efficiency of smart contracts has notably increased, enhancing transaction throughput and enabling faster responses to user demands. Moreover, the Dual-VM architecture supports parallel execution of both legacy and new contract versions, offering developers greater flexibility during contract migration and upgrades while significantly reducing application migration costs.

1. Modular and Decoupled Configuration

Through modular and streamlined configurations, initialization parameters for storage systems (such as RocksdbConfig and basic node settings including PeerId and Parallelism) have been separated from starcoin-config. Additionally, default and existing configurations have been clearly differentiated. Furthermore, GenesisConfig has been migrated to vm-types, retaining only VM-related configurations, effectively reducing internal system complexity and coupling, thereby enhancing maintainability.

2. Statedb Service Optimization

ChainStateDBService, previously integrated within statedb, has been decoupled, enabling statedb to focus more effectively on underlying data management. This decoupling also grants client services enhanced independence and flexibility.

3. Streamlined Transaction-builder Process

The transaction-builder has removed stdlib-related procedures, simplifying and streamlining transaction construction. This reduces module complexity, supporting further optimization and flexible extensions in future transaction processing.

4. Introduction of Compatibility Execution Layer

A newly introduced compatibility execution layer provides unified encapsulation of underlying VM execution processes. This enables the blockchain to dynamically select execution paths based on transaction (txn) and storage scenarios. This flexible design greatly improves system compatibility, facilitating a smooth transition between legacy and new VM architectures.

5. Miner Block Packaging and Compatibility Upgrade

The miner’s block packaging process has been further enhanced, now supporting two transaction types within the same block. It accurately manages state_root and txn_accumulator_root, ensuring data integrity and forward compatibility of blocks.

Conclusion

Optimizations in the Dual-VM architecture and these modular technical enhancements not only drive the maturity of Starcoin’s overall system architecture but also provide a robust technical foundation for the project’s long-term stability and ecosystem expansion. These improvements attract more developers and partners, continually enhancing the project’s competitiveness.

About Starcoin

Starcoin provides the utmost security from the origin via its enhanced PoW consensus and Secure smart contract, using the language of Move. Through layered and flexible interoperability, it optimizes the building of ecosystems such as DeFi, NFTs, Gaming, etc., with higher efficiency and convenience. This process redefines value by empowering every participant in the ecosystem to enjoy the multiplication of values.

Follow Starcoin on social media to stay up to date with all the latest developments.

Website | StarStack | Twitter | Medium | Telegram | Linktr.ee

--

--

Starcoin
Starcoin

Written by Starcoin

Starcoin is a proof-of-work blockchain that enables secure smart contracts based on Move to power services in Web 3.0

Responses (1)