CLI Tools (cargo-stylus)
The CLI tools provided for Stylus, specifically the cargo-stylus
tool, are designed to help developers manage, compile, and optimize their Stylus contracts efficiently. This overview provides a summary of the tools available and how to use them effectively.
Available tools
1. Optimize WASM binaries
The cargo-stylus
tool allows you to optimize WebAssembly (WASM) binaries, ensuring that your contracts are as efficient as possible.
- Optimize WASM binaries: Learn how to optimize your WASM binaries for performance and size.
2. Debug Stylus transactions
Gain insights into your Stylus contracts by debugging transactions.
- Debug Stylus transactions: A guide to debugging transactions, helping you identify and fix issues.
3. Verify contracts
Ensure that your Stylus contracts are correctly verified.
- Verify contracts: Step-by-step instructions on how to verify your contracts using
cargo-stylus
.
Source code repository
The source code for cargo-stylus
is available on GitHub. Explore the code, contribute, or use it as a reference.
- cargo-stylus repository: Visit the GitHub repository for more information.
Additional resources
For more advanced usage and detailed guides, refer to the following resources:
This overview page serves as the starting point for mastering the CLI tools available for Stylus development. From optimizing your contracts to debugging and verifying them, the cargo-stylus
toolset is integral to a smooth development experience.