Skip to content

Commit

Permalink
fixed PR review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Onyewuchi Emeka committed Aug 28, 2024
1 parent d571ff3 commit 1de3277
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -554,16 +554,19 @@ We're ready to build and deploy our program!
You can test your program by submitting a transaction with the right instruction
data. For that, feel free to use
[this script](https://github.com/Unboxed-Software/solana-movie-client) or
[the frontend](https://github.com/EmekaManuel/movie-review-dapp) we built in the
[the frontend](https://github.com/solana-developers/movie-review-frontend) we
built in the
[Deserialize Custom Instruction Data lesson](/content/courses/native-onchain-development/deserialize-custom-data-frontend.md).
In both cases, make sure you copy and paste the program ID for your program into
the appropriate area of the source code to make sure you're testing the right
program.

If you use the frontend, simply replace the `MOVIE_REVIEW_PROGRAM_ID` in both
the `MovieList.tsx` and `Form.tsx` components with the address of the program
you’ve deployed. Then run the frontend, submit a view, and refresh the browser
to see the review.
If you're using the script, simply replace the value assigned to movieProgramId
in the index.ts component with the public key of the program you've deployed.

If you use the frontend, simply replace the `MOVIE_REVIEW_PROGRAM_ID` in the
`review-form.tsx` components with the address of the program you’ve deployed.
Then run the frontend, submit a view, and refresh the browser to see the review.

If you need more time with this project to feel comfortable with these concepts,
have a look at the
Expand Down

0 comments on commit 1de3277

Please sign in to comment.