//
.
Best Practices
Since Cairo 1, the community has adopted a Rust-like documentation style.Contract Interface
In smart contracts, you will often have a trait that defines the contract’s interface (with#[starknet::interface]
).
This is the perfect place to include detailed documentation explaining the purpose and functionality of the contract entry points. You can follow this template: