forked from solana-developers/pirate-bootcamp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jpcaulfi
committed
May 8, 2023
0 parents
commit cf849f4
Showing
17 changed files
with
160 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
notion.md | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 🏴☠️ Solana Pirate Bootcamp | ||
|
||
<p width="full" margin="auto" align="center" style = "background:gray"><img src="https://raw.githubusercontent.com/solana-developers/pirate-bootcamp/main/docs/images/ship-fire-1.png" alt="ship" width="350" margin="auto" align="center" bg="white"/></p> | ||
|
||
Ahoy! Ready to embark on a pirate-themed coding adventure? Join our Solana programming bootcamp and discover the treasures of blockchain development. Learn to build smart contracts and DApps using our hands-on approach and practical coding exercises. Set sail with us and become a Solana pirate! | ||
|
||
--- | ||
|
||
Feast 'yer eyes on the bootcamp agenda! | ||
|
||
|| | ||
| --- | | ||
| ⛴️ [Mint a Pirate Ship NFT](./quest-1/) | | ||
| 🌊 [Set Sail with Solana Programs](./quest-2/) | | ||
| 💰 [Learn to Earn Gold](./quest-3/) | | ||
| 💎 [Smuggling, Bargaining, and Upgrading Your Ship](./quest-4/) | | ||
| ✨ [An Efficient Port is a Profitable Port](./quest-5/) | | ||
| ⚔️ [Prepare for Battle Using Oracles](./quest-6/) | | ||
| 💥 [Use Solana Pay to Defend Your Ship](./quest-7/) | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# ⛴️ Quest 1 - Mint a Pirate Ship NFT | ||
|
||
📘 Write the code to mint yourself an NFT that will represent your pirate ship. | ||
|
||
Throughout the bootcamp, we’ll customize this NFT, use it to build other things, and ultimately you’ll battle other NFTs on the high seas. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Resources | ||
|
||
* General Solana Resources: | ||
* Docs & How-To's: | ||
* https://docs.solana.com/ | ||
* https://solanacookbook.com/ | ||
* https://solana.stackexchange.com/ | ||
* Blockchain Explorer Tools: | ||
* https://explorer.solana.com/ | ||
* https://solana.fm/ | ||
* https://bettercallsol.dev/ | ||
* Popular Libraries: | ||
* Rust: | ||
* https://docs.rs/solana-program/1.15.2/solana_program/ | ||
* https://docs.rs/spl-token/3.5.0/spl_token/ | ||
* https://docs.rs/spl-associated-token-account/1.1.3/spl_associated_token_account/ | ||
* https://docs.rs/mpl-token-metadata/1.11.0/mpl_token_metadata/ | ||
* https://docs.rs/anchor-lang/0.27.0/anchor_lang/ | ||
* https://docs.rs/anchor-spl/0.27.0/anchor_spl/ | ||
* JavaScript: | ||
* https://www.npmjs.com/package/@solana/web3.js | ||
* https://www.npmjs.com/package/@solana/spl-token | ||
* https://www.npmjs.com/package/@metaplex-foundation/mpl-token-metadata | ||
* https://www.npmjs.com/package/@metaplex-foundation/js | ||
* https://www.npmjs.com/package/@coral-xyz/anchor | ||
* Python: | ||
* https://seahorse-lang.org/ | ||
* https://michaelhly.github.io/solana-py/ | ||
* https://github.com/kevinheavey/anchorpy | ||
* Installing Rust: | ||
* https://www.rust-lang.org/tools/install | ||
* https://solanacookbook.com/getting-started/installation.html | ||
* https://learn.microsoft.com/en-us/windows/dev-environment/rust/setup | ||
* Installing the Solana CLI: | ||
* https://solanacookbook.com/getting-started/installation.html | ||
* https://docs.solana.com/cli/install-solana-cli-tools | ||
* https://mammothinteractive.com/how-to-install-solana-on-windows/ | ||
* Generating Keypairs: | ||
* https://docs.metaplex.com/guides/cli-wallet | ||
* https://solanacookbook.com/references/keypairs-and-wallets.html#how-to-generate-a-new-keypair | ||
* https://docs.solana.com/cli/conventions#keypair-conventions | ||
* https://stackoverflow.com/questions/69109345/how-to-use-keys-from-solana-keygen-to-use-a-web-wallet | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# 🌊 Quest 2 - Set Sail with Solana Programs | ||
|
||
📘 Solana programs scale really well with large data sets, since they can execute in parallel on varying slices of the blockchain’s data. | ||
That’s how one single program is able to manage our map of the high seas! | ||
|
||
You’re going to learn how to write a program that can manage various locations (coordinates), which is a fundamental layer for many gaming applications. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Resources | ||
|
||
* Writing Solana Programs: | ||
* https://solanacookbook.com/references/programs.html | ||
* https://github.com/solana-developers/program-examples | ||
* https://www.youtube.com/playlist?list=PLilwLeBwGuK51Ji870apdb88dnBr1Xqhm | ||
* https://youtu.be/uRZP-II6Nfc | ||
* Serializing Data: | ||
* https://solanacookbook.com/guides/serialization.html#setting-up-for-borsh-serialization | ||
* https://github.com/solana-developers/program-examples/tree/main/basics/account-data | ||
* https://youtu.be/SCS6jt8sye0 | ||
* Program-Derived Addresses: | ||
* https://solanacookbook.com/references/programs.html#how-to-create-a-pda | ||
* https://github.com/solana-developers/program-examples/tree/main/basics/program-derived-addresses | ||
* https://beta.solpg.io/tutorials/tiny-adventure | ||
* https://youtu.be/ZwFNPvqUclM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# 💰 Quest 3 - Learn to Earn Gold | ||
|
||
📘 There’s plenty of ways to earn and grow your investments in the world of web3. | ||
|
||
Let’s take a look at some fundamental concepts of DeFi - such as staking and lending. | ||
|
||
We’ll talk about how these mechanisms work and then we’ll build a staking program to get hands-on with DeFi. | ||
|
||
Build your trading & staking port and see if you can get other pirates to do business in your neck of the woods! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Resources | ||
|
||
* Tokens: | ||
* DeFi: | ||
* Decentralized Exchanges (DEXs): | ||
* Staking: | ||
* https://www.youtube.com/watch?v=vZ2UZdB07fo | ||
* https://www.coinbase.com/learn/crypto-basics/what-is-staking | ||
* https://solana.com/staking | ||
* Lending: | ||
* https://www.youtube.com/watch?v=aTp9er6S73M | ||
* https://appinventiv.com/blog/how-defi-lending-works/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# 💎 Quest 4 - Smuggling, Bargaining, and Upgrading Your Ship | ||
|
||
📘 We saw how you can “tokenize” assets using NFTs & tokens, and trade them for Gold. | ||
|
||
Now let’s see how we can expand on those concepts to trade (or swap) assets, fix/scale prices, and create markets for assets! | ||
|
||
We’ll explore the fundamental concepts behind a Decentralized Exchange (DEX) as we effectively create market makers. | ||
|
||
Build your trading center and see if you can get other pirates to do business in your neck of the woods! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Resources | ||
|
||
* On-Chain Price Data: | ||
* Local Validator Expanded: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# ✨ Quest 5 - An Efficient Port is a Profitable Port | ||
|
||
📘 An efficient port is a profitable port. | ||
|
||
We’re going to spend a little time greasing the wheels and making sure our trading port is as efficient as possible, so we can maximize our gold! | ||
|
||
We’ll learn how to make our marketplace more dynamic and speed things up with lookup tables & versioned transactions. | ||
|
||
Additionally, we’ll learn how to spot potential arbitrage opportunities at other pirates’ ports to earn some free Gold! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Resources | ||
|
||
* Advanced DeFi: | ||
* Arbitrage: | ||
* Automated Market-Makers: | ||
* Versioned Transactions & Address Lookup Tables: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# ⚔️ Quest 6 - Prepare for Battle Using Oracles | ||
|
||
📘 There’s lots of hostile pirate ships afloat on these waters. Best to prepare ourselves fora a fight. | ||
|
||
We’ll learn how to use oracles to get external information into our on-chain program, such as random numbers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Resources | ||
|
||
* Oracles: | ||
* Verifiable Random Function (VRF): | ||
* Clockwork: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# 💥 Quest 7 - Use Solana Pay to Defend Your Ship | ||
|
||
📘 Anchors aweigh! It’s time to fight to preserve all of that loot you’ve acquired! | ||
|
||
Using Solana’s transaction requests, we’ll build the required instructions and inputs so we can successfully inflict damage on other ships. | ||
|
||
We’ll use Solana Pay so we can tell our crews to fire from our phones! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Resources | ||
|
||
* SolanaPay: |