In this session, we covered the anatomy of a Starknet contract with a focus on the following:
1. Trait - the blueprint of all the functions within a contract; defined using the trait and [starknet::interface] attribute
2. Contract Implementation - this gives the characteristic functionality to the methods defined as blueprint in the trait
13 окт 2024