Learn how to use the console output
Simple counter contract that defines a count value in storage that can be incremented
Learn about booleans, integers, and addresses
Learn about local, state, and global variables
How to define constant values in your contract
A simple arrays example in stylus
Learn about function parameters, return types, and visibility
Learn about the basic entrypoint model
Learn about the mapping data structure
A simple arrays example in stylus
Log public events to the blockchain
Errors on Stylus Rust smart contracts
Call other contracts on Rust Stylus smart contracts
Sending Ethers on Stylus Rust smart contracts
Compute the encoded function selector of a contract's function
A simple solidity ABI encode example
A simple solidity ABI decode example
A simple solidity keccak256 hashing example
Inheritance in the Stylus Rust SDK
Import external contract interfaces
Export the Solidity ABI interface of your Rust contract
Accesing VM affordances in the Stylus Rust SDK
An explanation of how to verify a signature signed off chain.
Learn about function parameters, return types, and visibility