DEV Community

Discussion on: The Complete Guide to Full Stack Solana Development with React, Anchor, Rust, and Phantom

Collapse
 
girrihere profile image
Girri Palaniyapan
  1. When running the test, check the programID on the CLI.
  2. Fill that programID inside lib.rs: declare_id!("INSERT_PROGRAM_ID");
  3. Fill that programID inside the anchor.toml file as well.

This fixed the bug for me

Collapse
 
digitalfuturestold profile image
Mike Heavers

How do you check the programID on the CLI?