Offchain Labs announced the public testnet and code release for Arbitrum Stylus on August 31, 2023. This new framework is designed to work on Arbitrum Nitro chains, allowing developers to build smart contracts using both Ethereum Virtual Machine (EVM) tools and WebAssembly (WASM)-compatible languages like Rust, C, and C++. Stylus aims to significantly reduce gas costs and enable new, resource-intensive blockchain applications. The open-source Software Development Kit (SDK) is now available for developers.
One Chain, Multiple Languages
Arbitrum Stylus is designed to be a “one chain, many languages” solution. It allows developers to use traditional EVM languages like Solidity alongside WASM-compatible languages such as Rust, C, and C++. According to Offchain Labs, this feature expands the potential developer base from approximately 20,000 Solidity developers to millions who are proficient in Rust and C languages.
Efficiency and Cost-Effectiveness
Stylus claims to offer over 10x improvement in computational speed and over 100x improvement in memory efficiency compared to traditional EVM-based solutions. These efficiency gains are expected to translate into significantly lower gas costs for executing smart contracts. Offchain Labs states that allocating megabytes of RAM in Stylus could cost 100–500x less than in Solidity.
New Use Cases Enabled
The efficiency gains are not merely theoretical; they open doors to new blockchain applications that were previously impractical due to resource constraints. These include alternative signature schemes, larger generative art libraries, C++ based gaming, and compute-heavy AI models.
Security Features
Stylus also aims to improve smart contract security with features like opt-in reentrancy, a common vulnerability in Solidity that Stylus disables by default unless intentionally overridden by the developer.
Community and Ecosystem
Arbitrum, the Layer 2 scaling solution for which Stylus is built, already has a large developer and partner community. Stylus aims to leverage this existing ecosystem to encourage rapid adoption and innovation.
What’s Next?
Offchain Labs has scheduled a security audit of the Stylus source code by Trail of Bits. Additionally, a Decentralized Autonomous Organization (DAO) vote will determine the inclusion of Stylus support in Arbitrum One and Arbitrum Nova. An “Ask Me Anything” (AMA) session is planned for September 7, 2023, and a Stylus Hackathon with $20,000 in bounties will be held at ETHGlobal NY from September 22–24, 2023.
Conclusion
The launch of Arbitrum Stylus marks a significant milestone in the evolution of Ethereum’s Layer 2 solutions. By offering multi-language support and efficiency gains, Stylus aims to broaden the developer base, reduce operational costs, and enable new blockchain applications. As the public testnet goes live, the blockchain community will be watching closely to see if Stylus delivers on its promises.
Image source: Shutterstock