Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions windows_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,10 @@ solana address

When we did `anchor init` it create a basic Solana program for us. What we want to do now is:

1. Compile our program.
2. Spin up `solana-test-validator` and deploy the program to our **local** Solana network w/ our wallet. This is kinda like deploying our local server w/ new code.
3. Actually call functions on our deployed program. This is kinda like hitting a specific route on our server to test that it's working.
1. Run **anchor build** which will compile our program.
2. Spin up `solana-test-validator` and deploy the program to our **local** Solana network w/ our wallet. This is kinda like deploying our local server w/ new code. Open up a separate terminal and take it to root by using **cd ~** command. Unless it may fail, you will get lock in the eternal rotating circle.
3. Run **anchor deploy**, to deploy the program.
4. Actually call functions on our deployed program. This is kinda like hitting a specific route on our server to test that it's working.

Anchor is awesome. It lets us do this all in one step by running:

Expand Down