Skip to content

Commit d63bcaf

Browse files
committed
Adds lecture 8 folder and lesson 8.1
1 parent fc55e90 commit d63bcaf

File tree

7 files changed

+207
-0
lines changed

7 files changed

+207
-0
lines changed

docs/lectures/lecture-08/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Lecture 8
2+
3+
## Welcome to Lecture 8
4+
5+
Congratulations on completing Lecture 7 of the Plutus Pioneers Program (PPP)! In this lecture, you'll learn about staking and how it relates to Plutus. So, let's begin Lecture 6!
6+
7+
Remember that you can interact with the participants of the PPP through the [IOG's technical community on Discord](https://discord.gg/inputoutput) by joining the channels under the Plutus Pioneers category. So whether you're getting started with Plutus or a veteran participant of the PPP, we encourage you to pass by the [#pioneers-lounge chanel](https://discordapp.com/channels/826816523368005654/862912746847993887) and say hello!
8+
9+
If during the program you have questions about Plutus, we invite you to share them at [Cardano Stack Exchange (CSE)](https://cardano.stackexchange.com/) by adding the `plutus-pioneer-program` tag to your question. The IOG's Education Team members will monitor these questions to support your learning journey. Whenever you share a question at CSE, you're helping to build up the Cardano and Plutus development knowledge base.
10+
11+
---
12+
13+
This work is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).
14+
15+
<figure><img src="https://i.creativecommons.org/l/by/4.0/88x31.png" alt="Creative Commons License BY 4.0"></figure>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Lesson 8.1: Introduction to Lecture 8
2+
3+
Welcome to Lesson 8.1! In this lesson, Lars provides an introduction to this lecture and explain how staking works in Cardano.
4+
5+
{% embed url="https://youtu.be/07ATzubeHjo" %}
6+
7+
{% tabs %}
8+
{% tab title="Learning Objectives" %}
9+
After completing this lesson, you'll be able to:
10+
11+
* Describe how staking works in Cardano testnet.
12+
* Understand the advantages of testing staking by using a private testnet.
13+
{% endtab %}
14+
15+
{% tab title="Additional Resources" %}
16+
To learn more about the topics covered in this lesson, we encourage you to review the following resources:
17+
18+
* [Delegate Your Stake To Build The Network, Earn Rewards, And Become Part Of The Cardano Journey](https://cardano.org/stake-pool-delegation/)
19+
* [How to stake your ada](https://www.essentialcardano.io/infographic/how-to-stake-your-ada)
20+
{% endtab %}
21+
{% endtabs %}
22+
23+
## Collaborate with the Pioneers Community
24+
25+
Remember that you can interact with the participants of the PPP through the [IOG's technical community on Discord](https://discord.gg/inputoutput) by joining the channels under the Plutus Pioneers category.
26+
27+
If during the program you have questions about Plutus, we invite you to share them at [Cardano Stack Exchange (CSE)](https://cardano.stackexchange.com/) by adding the `plutus-pioneer-program` tag to your question. The IOG's Education Team members will monitor these questions to support your learning journey. Whenever you share a question at CSE, you're helping to build up the Cardano and Plutus development knowledge base.
28+
29+
---
30+
31+
This work is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).
32+
33+
<figure><img src="https://i.creativecommons.org/l/by/4.0/88x31.png" alt="Creative Commons License BY 4.0"></figure>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Lesson 6.2: Introduction to the Plutus Simple Model Library
2+
3+
Welcome to Lesson 6.2! In this lesson, you'll learn how the Plutus Simple Model library works.
4+
5+
{% embed url="https://youtu.be/Sft02LeXA_U" %}
6+
7+
{% tabs %}
8+
{% tab title="Learning Objectives" %}
9+
After completing this lesson, you'll be able to:
10+
11+
* Launch the Plutus Simple Model Library documentation.
12+
* Describe how the Plutus Simple Model library works.
13+
* Define tests by using the Plutus Model library.
14+
* Explain how tests use the state monad.
15+
{% endtab %}
16+
17+
{% endtabs %}
18+
19+
## Collaborate with the Pioneers Community
20+
21+
Remember that you can interact with the participants of the PPP through the [IOG's technical community on Discord](https://discord.gg/inputoutput) by joining the channels under the Plutus Pioneers category.
22+
23+
If during the program you have questions about Plutus, we invite you to share them at [Cardano Stack Exchange (CSE)](https://cardano.stackexchange.com/) by adding the `plutus-pioneer-program` tag to your question. The IOG's Education Team members will monitor these questions to support your learning journey. Whenever you share a question at CSE, you're helping to build up the Cardano and Plutus development knowledge base.
24+
25+
---
26+
27+
This work is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).
28+
29+
<figure><img src="https://i.creativecommons.org/l/by/4.0/88x31.png" alt="Creative Commons License BY 4.0"></figure>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Lesson 6.3: Unit Testing a Smart Contract
2+
3+
Welcome to Lesson 6.3! In this lesson, you'll learn .
4+
5+
{% embed url="https://youtu.be/vB8hyVq3HVo" %}
6+
7+
{% tabs %}
8+
{% tab title="Learning Objectives" %}
9+
After completing this lesson, you'll be able to:
10+
11+
* Explain how unit test works in Cardano.
12+
* Define unit test for Cardano smart contracts.
13+
14+
{% tab title="Additional Resources" %}
15+
To learn more about the topics covered in this lesson, we encourage you to review the following resources:
16+
17+
* [How can I write unit tests for Plutus contracts?](https://cardano.stackexchange.com/questions/381/how-can-i-write-unit-tests-for-plutus-contracts)
18+
* [Testing smart contracts on Cardano](https://blog.iagon.com/testing-smart-contracts-on-cardano/)
19+
* [TxInfo Docs](https://input-output-hk.github.io/plutus-apps/main/plutus-script-utils/html/Plutus-Script-Utils-V2-Contexts.html#t:TxInfo)
20+
21+
{% endtab %}
22+
{% endtabs %}
23+
24+
## Collaborate with the Pioneers Community
25+
26+
Remember that you can interact with the participants of the PPP through the [IOG's technical community on Discord](https://discord.gg/inputoutput) by joining the channels under the Plutus Pioneers category.
27+
28+
If during the program you have questions about Plutus, we invite you to share them at [Cardano Stack Exchange (CSE)](https://cardano.stackexchange.com/) by adding the `plutus-pioneer-program` tag to your question. The IOG's Education Team members will monitor these questions to support your learning journey. Whenever you share a question at CSE, you're helping to build up the Cardano and Plutus development knowledge base.
29+
30+
---
31+
32+
This work is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).
33+
34+
<figure><img src="https://i.creativecommons.org/l/by/4.0/88x31.png" alt="Creative Commons License BY 4.0"></figure>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Lesson 6.4: Property Testing a Smart Contract
2+
3+
Welcome to Lesson 6.4! In this lesson, you'll learn how to use property testing by using the quick check library.
4+
5+
{% embed url="https://youtu.be/pF8HpKmaQi4" %}
6+
7+
{% tabs %}
8+
{% tab title="Learning Objectives" %}
9+
After completing this lesson, you'll be able to:
10+
11+
* Describe the differences between unit and property testing.
12+
* Explain the benefits of using the quick check library for property testing.
13+
* Create property tests by using quick check to validate smart contracts.
14+
{% endtab %}
15+
16+
{% tab title="Additional Resources" %}
17+
To learn more about the topics covered in this lesson, we encourage you to review the following resources:
18+
19+
* [QuickCheck: Automatic testing of Haskell programs](https://hackage.haskell.org/package/QuickCheck)
20+
* [Introduction to QuickCheck](http://wiki.haskell.org/Introduction_to_QuickCheck2)
21+
{% endtab %}
22+
{% endtabs %}
23+
24+
## Collaborate with the Pioneers Community
25+
26+
Remember that you can interact with the participants of the PPP through the [IOG's technical community on Discord](https://discord.gg/inputoutput) by joining the channels under the Plutus Pioneers category.
27+
28+
If during the program you have questions about Plutus, we invite you to share them at [Cardano Stack Exchange (CSE)](https://cardano.stackexchange.com/) by adding the `plutus-pioneer-program` tag to your question. The IOG's Education Team members will monitor these questions to support your learning journey. Whenever you share a question at CSE, you're helping to build up the Cardano and Plutus development knowledge base.
29+
30+
---
31+
32+
This work is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).
33+
34+
<figure><img src="https://i.creativecommons.org/l/by/4.0/88x31.png" alt="Creative Commons License BY 4.0"></figure>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Lesson 6.5: Testing Smart Contracts with Lucid
2+
3+
Welcome to Lesson 6.5! In this lesson, you'll learn how to test off-chain code with Lucid.
4+
5+
{% embed url="https://youtu.be/aUrIuDQgg5c" %}
6+
7+
{% tabs %}
8+
{% tab title="Learning Objectives" %}
9+
After completing this lesson, you'll be able to:
10+
11+
* Explain the process of testing off-chain code with Lucid.
12+
* Describe how to use the emulator to run a local blockchain for testing.
13+
* Create and run tests by using Lucid.
14+
{% endtab %}
15+
16+
{% tab title="Lesson Resources" %}
17+
Internet resources mentioned in the lesson's video:
18+
19+
* [Lucid Emulator](https://deno.land/x/lucid@0.9.8/mod.ts?=Emultator&s=Emulator)
20+
* [Unit Testing in Deno](https://deno.com/manual@v1.32.3/basics/testing)
21+
* [Fast Check](https://github.com/dubzzz/fast-check)
22+
{% endtab %}
23+
{% endtabs %}
24+
25+
## Collaborate with the Pioneers Community
26+
27+
Remember that you can interact with the participants of the PPP through the [IOG's technical community on Discord](https://discord.gg/inputoutput) by joining the channels under the Plutus Pioneers category.
28+
29+
If during the program you have questions about Plutus, we invite you to share them at [Cardano Stack Exchange (CSE)](https://cardano.stackexchange.com/) by adding the `plutus-pioneer-program` tag to your question. The IOG's Education Team members will monitor these questions to support your learning journey. Whenever you share a question at CSE, you're helping to build up the Cardano and Plutus development knowledge base.
30+
31+
---
32+
33+
This work is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).
34+
35+
<figure><img src="https://i.creativecommons.org/l/by/4.0/88x31.png" alt="Creative Commons License BY 4.0"></figure>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Lecture 6 Homework Assignment: Testing Double Spending Contracts
2+
3+
Congratulations on finishing Lecture 6! Please watch the following video to learn what's your homework to get your hands on the skills you learned in this lecture.
4+
5+
{% embed url="https://youtu.be/AZVpkwRhEaY" %}
6+
7+
{% tabs %}
8+
{% tab title="Learning Objectives" %}
9+
After completing this homework assignment, you'll be able to:
10+
11+
* Understand how double spending works.
12+
* Identify double spending vulnerabilities.
13+
* Define tests for catching error in double spending contracts
14+
{% endtab %}
15+
{% endtabs %}
16+
17+
## Collaborate with the Pioneers Community
18+
19+
Remember that you can interact with the participants of the PPP through the [IOG's technical community on Discord](https://discord.gg/inputoutput) by joining the channels under the Plutus Pioneers category.
20+
21+
If during the program you have questions about Plutus, we invite you to share them at [Cardano Stack Exchange (CSE)](https://cardano.stackexchange.com/) by adding the `plutus-pioneer-program` tag to your question. The IOG's Education Team members will monitor these questions to support your learning journey. Whenever you share a question at CSE, you're helping to build up the Cardano and Plutus development knowledge base.
22+
23+
---
24+
25+
This work is licensed under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/).
26+
27+
<figure><img src="https://i.creativecommons.org/l/by/4.0/88x31.png" alt="Creative Commons License BY 4.0"></figure>

0 commit comments

Comments
 (0)