Skip to content

Code used to teach the StarkNet Workshop #4. Focus on teaching testing with Protostar.

License

Notifications You must be signed in to change notification settings

omarespejel/starknet-erc721-testing

Repository files navigation



Starknet Workshop: Testing with Protostar

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:

  1. 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.
  2. Learn about Protostar cheatcodes, inspired by Foundry, to test and deploy locally.
  3. 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.

About

Code used to teach the StarkNet Workshop #4. Focus on teaching testing with Protostar.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published