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
