Skip to content

Commit 21f4d9b

Browse files
committed
2 parents f6da15a + b33aa8e commit 21f4d9b

File tree

210 files changed

+16781
-133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

210 files changed

+16781
-133
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ yarn.lock
33
package-lock.json
44
target/
55
.DS_Store
6+
.nx
67

78
# Logs
89
logs
-5.94 MB
Binary file not shown.

README.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,22 @@ If you're stuck, you can always refer to the following resources:
3333

3434
## Table of Contents
3535

36-
| # | Name | Video Tutorial Link |
37-
| --- | -------------------- | ------------------- |
38-
| 1 | Favorites | |
39-
| 2 | Voting | |
40-
| 3 | Blinks | |
41-
| 4 | CRUD App | |
42-
| 5 | Tokens | |
43-
| 6 | NFTs | |
44-
| 7 | Poker Chip Swap | |
45-
| 8 | Token Vesting | |
46-
| 9 | Token Lottery | |
47-
| 10 | Lending | |
48-
| 11 | Lossless Lottery | |
49-
| 12 | Programmable Money | |
50-
| 13 | Attack the Bank | |
51-
| 14 | Production Readiness | |
36+
| # | Name |
37+
| --- | -------------------- |
38+
| 1 | [Favorites](https://www.youtube.com/watch?v=amAq-WHAFs8&t=622s) |
39+
| 2 | [Voting](https://www.youtube.com/watch?v=amAq-WHAFs8&t=2262s) |
40+
| 3 | [Blinks](https://www.youtube.com/watch?v=amAq-WHAFs8&t=6632s) |
41+
| 4 | [CRUD App](https://www.youtube.com/watch?v=amAq-WHAFs8&t=9105s) |
42+
| 5 | [Tokens](https://www.youtube.com/watch?v=amAq-WHAFs8&t=12891s) |
43+
| 6 | [NFTs](https://www.youtube.com/watch?v=amAq-WHAFs8&t=13752s) |
44+
| 7 | [Poker Chip Swap](https://www.youtube.com/watch?v=amAq-WHAFs8&t=15922s) |
45+
| 8 | [Token Vesting](https://www.youtube.com/watch?v=amAq-WHAFs8&t=20895s) |
46+
| 9 | [Token Lottery](https://www.youtube.com/watch?v=amAq-WHAFs8&t=30677s) |
47+
| 10 | [Lending](https://www.youtube.com/watch?v=HOdYZSe1uhE&t=0s) |
48+
| 11 | [Programmable Money](https://www.youtube.com/watch?v=HOdYZSe1uhE&t=11292s) |
49+
| 12 | [Attack the Bank](https://www.youtube.com/watch?v=HOdYZSe1uhE&t=20615s) |
50+
| 13 | [Production Readiness](https://www.youtube.com/watch?v=HOdYZSe1uhE&t=24025s) |
51+
52+
## Security Considerations
53+
54+
None of the projects within this bootcamp have been properly audited and may contain security vulnerabilities. Do not use any of the code in this bootcamp in production without a proper security audit.

introduction/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

project-1-favorites/README.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,30 @@
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+
[![Favorites 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+
## Resources
12+
13+
- [Anchor Documentation](https://www.anchor-lang.com/)
14+
- [Solana Documentation](https://solana.com/docs)
15+
- [Solana Playground](https://beta.solpg.io)
16+
- [Rust Documentation](https://doc.rust-lang.org/book/)
17+
18+
## Running This Project
19+
20+
We highly recommend [creating your own github repository](https://github.com/new) and building along with the video. This will help you learn the most and give you a reference to look back on later.
21+
22+
If you want to check the final result of the project, you can clone this repository and run the following commands:
23+
24+
```
25+
npm i
26+
anchor build
27+
anchor test
28+
```
29+
30+
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"

project-11-lossless-lottery/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Programmable Money
2+
3+
### Disclaimer: This code is not audited and should not be used in production. There are several edge cases that have not been addressed and error handling that has not been implemented. This is for education purposes only.
4+
5+
## Frontend
6+
7+
View hosted frontend here: [Programmable Money UI](anchor-stablecoin.vercel.app)
8+
9+
## Anchor Program
10+
11+
1. Build the program
12+
13+
```shell
14+
cd program
15+
anchor build
16+
```
17+
18+
2. Run local validator
19+
20+
```shell
21+
solana-test-validator
22+
```
23+
24+
3. Deploy the program locally
25+
26+
```shell
27+
anchor deploy --provider.cluster localnet
28+
```
29+
30+
4. Test
31+
32+
```shell
33+
anchor test
34+
```
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "next/core-web-vitals",
3+
"rules": {
4+
"react-hooks/rules-of-hooks": "off"
5+
}
6+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
.yarn/install-state.gz
8+
9+
# testing
10+
/coverage
11+
12+
# next.js
13+
/.next/
14+
/out/
15+
16+
# production
17+
/build
18+
19+
# misc
20+
.DS_Store
21+
*.pem
22+
23+
# debug
24+
npm-debug.log*
25+
yarn-debug.log*
26+
yarn-error.log*
27+
28+
# local env files
29+
.env*.local
30+
31+
# vercel
32+
.vercel
33+
34+
# typescript
35+
*.tsbuildinfo
36+
next-env.d.ts

0 commit comments

Comments
 (0)