Overview of the Stylus SDK
mainThe Stylus SDK allows developers to write smart contracts for Arbitrum chains using the Rust programming language. These programs are compiled to WebAssembly (Wasm) and execute on-chain alongside Solidity smart contracts.
Key capabilities include:
- EVM-interoperability: Stylus programs can call and be called by Solidity contracts due to ABI equivalence. Existing Solidity DEXs can interact with Rust tokens without modification.
- Performance: Stylus programs are designed to be faster and cheaper than traditional Solidity contracts.
#[no_std]Support: The entire SDK is available in#[no_std]mode, allowing developers to opt out of the Rust standard library to reduce binary size, which is useful for pure-compute tasks like cryptography.