Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Solana Smart Contract Tutorial: Logging and Testing Examples
Play lesson

Solana Development Tutorial - Solana Smart Contract Tutorial: Logging and Testing Examples

4.0 (3)
27 learners

What you'll learn

This course includes

  • 9 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

If you want to be successful in creating Solana smart contracts (or any software in general), you'll have to learn how to debug and test your code. In this video we will look at the basics of doing print statement debugging (sadly debuggers aren't supported yet) and how to write tests for your smart contract. Being able to write tests is extremely important, because not only does it protect you from introducing bugs to your code, but it allows you to quickly run your code without the need of having the front end implemented. 📙 Solana Playlist: https://www.youtube.com/watch?v=-AAtfPHEMbA&list=PL53JxaGwWUqCr3xm4qvqbgpJ4Xbs4lCs7 💰 Donations accepted (but optional): 2hYca42EE2kwmFZPV7M4skev1za7atWBh5ctzQWfsTD7 00:00 - Intro 01:01 - Logging Explaination 02:09 - Logging Code Example 04:52 - Testing Explaination 07:50 - Testing Code Example 19:10 - Conclusion Resources: Hello World Github Repo: https://github.com/solana-labs/example-helloworld Writing Tests: https://doc.rust-lang.org/book/ch11-01-writing-tests.html

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere