Code for the StarkNet Workshop #4: Testing with Protostar. The recording is available on YouTube (the video starts without sound) and here are the slides.
During this workshop we:
- Deploy a custom ERC721 contract to the testnet using Protostar. The contract allows us to mint animals with characteristics such as wings, legs and sex. This contract is inspired by the starknet edu automated workshop.
- Learn about Protostar cheatcodes, inspired by Foundry, to test and deploy locally.
- Create unit and integration tests for our custom ERC721 contract. We deploy locally using Protostar and test using Cairo and hints.
Please feel free to contribute to improve the workshop. Contact @espejelomar.