Download Trust Wallet
Developer

A Huge Step Forward: WalletCore's Migration from C++ to Rust

Published on: Oct 24, 2023
Share post
In Brief

We're excited to announce landmark progress in WalletCore's evolution.

A Huge Step Forward: WalletCore's Migration from C++ to Rust

We're excited to announce landmark progress in WalletCore's evolution. After intense work during Q2 and Q3, we're thrilled to share that we've successfully migrated from C++ to Rust, starting with the first and biggest blockchain, Ethereum.

Wallet Core Release: 4.0.0

A Transformative Journey to Rust

Initiated in 2018, WalletCore emerged in response to a pressing need for mobile platform support. At that time we had an important choice to make; which language would meet our requirements. Only C++ met our needs in a sustainable way.

Despite its advantages, C++ has several drawbacks: it lacks a dedicated package manager for modularity, a unified build system, and a native static analyser. The presence of multiple compilers further complicates the development process. Additionally, its typically slow compilation, absence of inherent safe checks within the language, and a propensity for crashes without the necessary expertise pose considerable challenges. Given these limitations, we decided to switch to Rust.

Rust is widely recognised in the blockchain and wallet development space for its numerous advantages:

Breaching New Frontiers

During the Q2 and Q3 this year, we worked relentlessly and accomplished several key milestones. Let's delve into the significant highlights of our migration journey:

The Future is here!

This landmark shift to Rust brings us one step closer to offering a more seamless, efficient, and robust WalletCore. We believe this transformation is just the beginning of a new chapter where our users can look forward to a continuous roll-out of improvements to provide optimal user experiences. We hope to continue serving our users with the same dedication and focus on security in our pursuit of progress. Stay tuned for more updates and thank you for believing in WalletCore!

Join the Trust Wallet community on Telegram Follow us on X (formerly Twitter) Instagram Facebook Reddit

Note: Any cited numbers, figures, or illustrations are reported at the time of writing, and are subject to change.