Skip to content

Commit a8826b2

Browse files
committed
Updated project-1
1 parent 07c6a33 commit a8826b2

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

project-1-favorites/README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
1-
# Favorites
1+
# Project 1: Favorites Application
22

33
This is a basic Anchor app using PDAs to store data for a user, and Anchor's account checks to ensure each user is only allowed to modify their own data.
44

55
It's used by the [https://github.com/solana-developers/professional-education](Solana Professional Education) course.
66

7-
## Usage
7+
We recommend creating a separate github repository for each project and commiting your code as you follow along the video.
88

9-
`anchor test`, `anchor deploy` etc.
9+
[![Program](https://ik.imagekit.io/mkpjlhtny/solpg_button_zWM8WlPKs.svg?ik-sdk-version=javascript-1.4.3&updatedAt=1662621556513)](https://beta.solpg.io/67060f00cffcf4b13384d3dc)
10+
11+
## Running This Project
12+
13+
Run the following commands:
14+
15+
```
16+
npm i
17+
anchor build
18+
anchor test
19+
```
20+
21+
You should see the tests pass once completed.

project-1-favorites/programs/favorites/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ default = []
1717
idl-build = ["anchor-lang/idl-build"]
1818

1919
[dependencies]
20-
anchor-lang = {version = "0.30.0", features = ["init-if-needed"]}
20+
anchor-lang = {version = "0.30.1", features = ["init-if-needed"]}
2121
solana-program = "=1.18.5"

0 commit comments

Comments
 (0)