dabit3 / complete-guide-to-full-stack-solana-development

Code examples for the blog post titled The Complete Guide to Full Stack Solana Development with React, Anchor, Rust, and Phantom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transaction simulation failed: Attempt to load a program that does not exist

heaversm opened this issue · comments

Following this tutorial

I have followed all of the steps up to the point of building the counter code, including having a running localhost validator.

I have taken the output of solana address -k target/deploy/mysolanaapp-keypair.json

and input it in lib.rs and anchor.toml as instructed, and get the following after running anchor build and then anchor test:

mysolanaapp
Transaction simulation failed: Attempt to load a program that does not exist

You should update the program address in anchor.toml file at line 2 with your contract address.