Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Solana Tutorial: Writing Anchor Tests for PDA's | Writing Typescript Jasmine tests
Play lesson

Solana Development Tutorial - Solana Tutorial: Writing Anchor Tests for PDA's | Writing Typescript Jasmine tests

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

In the previous video's, I said that we couldn't write any tests for PDA using anchor and instead we had to write a whole client app insead... ...well it turns out I was DEAD wrong! You can! I just made some mistakes writing my tests! In this video we will learn how to test your anchor PDA code! Github: https://github.com/chang47/solana-pda-example-program 📙 Solana Playlist: https://www.youtube.com/watch?v=-AAtfPHEMbA&list=PL53JxaGwWUqCr3xm4qvqbgpJ4Xbs4lCs7 💰 Donations accepted (but optional): 2hYca42EE2kwmFZPV7M4skev1za7atWBh5ctzQWfsTD7 00:00 - Intro 00:12 - Video Overview and what went wrong 01:22 - Recap: PDA's and the program implementation 03:41 - Writing test intro 04:11 - Generating and setting the correct Smart Contract address 06:51 - Recap: How to get PDA data from our smart contract 09:05 - Recap: Sending transactions with anchor 10:19 - Going over the PDA anchor test

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