Skip to content

Commit 817fef5

Browse files
committed
smoothify lesson 1 intro; cleanup punctuation
1 parent d5f94c4 commit 817fef5

File tree

2 files changed

+36
-20
lines changed

2 files changed

+36
-20
lines changed

pages/lessons/projects/1.mdx

Lines changed: 31 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,37 @@ import { LessonHeader } from '../../../components/mdx/LessonHeader'
1010

1111
## What are we building?
1212

13-
### Where are we going with it? Web what? Smart contract?
14-
1513
We’re going to build a **smart contract**, but what on Jupiter is a smart
1614
contract? And what on Earth would we use one for? Well, you wouldn’t find a
1715
smart contract on either Jupiter, or Earth, and although you may be grounded to
1816
the latter, you are going to deploy yours on a **blockchain**. Not a real
1917
blockchain, well not at first. Hang on!
2018

19+
Let's pause here for a couple questions to give you a taste of what's to come
20+
and give yourself a chance to test what you already know.
21+
2122
<SideDrawer buttonText="Warm-up questions" title="Warm-up questions">
2223
<Question question="question-1" />
2324
<Question question="question-2" />
2425
</SideDrawer>
2526
<br/>
2627
<br/>
27-
And now let's check if we were right :)
2828

29-
<SideDrawer buttonText="A what chain?!">
30-
A blockchain has quite a few layers to let function, but it basically gives us a place to do computation, and store information. So in one sense it functions as a database. Think about this. To get access to all of the information on a traditional database you need permission from a higher authority, right? Access to information on a public blockchain is permission**less**. Not only can we read the information on it, but anyone can also write information to it. And that’s where we come in and get this all started with our *smart contract*. And what is also different to a traditional database is that once the information goes onto this blockchain, it stays there forever, and ever, and ever….thanks to cryptography!!
29+
How was that? No stress if the answers didn't come naturally. We're here to fill
30+
in the gaps! If you're interested in more context before moving along to the
31+
lesson, check out the explainers below.
32+
33+
<SideDrawer buttonText="What is a blockchain?">
34+
A blockchain has quite a few layers to let function, but it basically gives us
35+
a place to do computation, and store information. So in one sense it functions
36+
as a database. Think about this: to get access to all of the information on a
37+
traditional database you need permission from a higher authority, right? Access
38+
to information on a public blockchain is permission**less**. Not only can we read
39+
the information on it, but anyone can also write information to it. And that’s
40+
where we come in and get this all started with our *smart contract*. And what is
41+
also different to a traditional database is that once the information goes onto
42+
this blockchain, it stays there forever, and ever, and ever... thanks to
43+
cryptography!
3144

3245
But what is the information that is kept on this chain? Wait. Why a chain? Well
3346
basically transactions, often, but not always, financial, are made and recorded
@@ -38,7 +51,7 @@ _money trail_. And this was one of the main intentions of blockchains.
3851
Transparency. There are ever-growing use cases for the types of transactions,
3952
financial and non-financial. Let’s move on. The blocks are secured to each other
4053
with cryptography. A similar type of encryption that is used to secure the
41-
Signal or Telegram apps on your smartphone…..(any other examples???) If someone
54+
Signal or Telegram apps on your smartphone. (Any other examples?) If someone
4255
did try to change any information on the chain, the alarm bells would go off.
4356

4457
So how is all this permission**lessness** possible? Can’t someone shut this
@@ -59,7 +72,7 @@ over the whole network, so there is no higher authority.
5972
So we have what is like a global computer which is permissionless, transparent
6073
and distributed, and as long as 66% of the nodes are running, the blockchain can
6174
keep on going quite safely, which makes it almost completely censorship
62-
resistant. Think about that for a second. And it gets better..
75+
resistant. Think about that for a second. And it gets better...
6376

6477
Really? What’s so special about all of this? Well until recently, we only
6578
transferred data on the internet. Yes, you could send money too by using some
@@ -68,13 +81,13 @@ advent of cryptocurrencies we can now send _digital_ value… permissionlessly.
6881
That's quite a thing! In the early days of crypto we could only transact with
6982
digital tokens such as BTC and then ETH and soon later, with thousands of
7083
different coins. But new ideas continue to emerge and we’re going to be building
71-
a few of them!!!
84+
a few of them!
7285

7386
The distributed sharing of value on blockchain has opened up further development
7487
of networks that for example facilitates the distribution of storage, where,
7588
like running a blockchain node, people can use their home computer’s storage
7689
device for storing other people’s data, and earn a bit of money in return.
77-
That’s where your NFTs (will) live!! Many, many more internet services, or
90+
That’s where your NFTs (will) live! Many, many more internet services, or
7891
protocols that have been centralized until now have emerged to complement and
7992
add extra functionality to all of the above, and many completely new protocols
8093
are being added really quickly! So you are going to hear words like
@@ -83,7 +96,7 @@ to a stage of internet evolution where we can own our personal data again and be
8396
able to transfer value without worrying about a middleman saying if we can or
8497
can’t.
8598

86-
This is what we call Web3. Welcome!!
99+
This is what we call Web3. Welcome!
87100

88101
So back to the smart contract. What the hell is it? It’s a piece of computer
89102
code that will do whatever we programme it to do. And once we have written and
@@ -113,7 +126,7 @@ easier to remember alias for their address e.g.
113126

114127
</SideDrawer>
115128
<br/>
116-
<SideDrawer buttonText="A bit more info on smart contracts...">
129+
<SideDrawer buttonText="What is a smart contract?">
117130

118131
A smart contract, as it suggests is a contract, but written into computer code
119132
and stored and executed on a blockchain. What does it let us do? In simple
@@ -167,7 +180,7 @@ blockchain stack. Since it has a lot of the features needed to run a smart
167180
contract, it let’s us get started with learning how to develop one and see how
168181
it would work on a live network and also some of the things a user would
169182
experience on a front end application. Experienced developers still use it too
170-
because it is so handy for a lot of things. It’s a pretty nifty tool!! It has:
183+
because it is so handy for a lot of things. It’s a pretty nifty tool! It has:
171184

172185
A `file explorer`: a place to write and store your smart contracts and files of
173186
code as you work with them online.
@@ -652,7 +665,7 @@ Compiler sidebar icon.
652665

653666
}
654667
```
655-
668+
656669
</SideDrawer>
657670

658671
Now we are ready to deploy our contract. We can now head to the Deploy & Run
@@ -703,9 +716,12 @@ If you look closely, inside the “logs” part, our smart contract predicted a
703716
What if you try out setting the message to `gm` and look at the logs again. Can
704717
you see the magical spell that is being cast here?
705718

706-
![Genie Girl holds Ethereum Crystal Ball](/assets/lessons/1/img_11.png)
719+
<br />
720+
<p align="center">
721+
<img src="/assets/lessons/1/img_11.png" width="300" alt="Genie Girl holds Ethereum Crystal Ball" />
722+
</p>
707723

708-
Before you go ahead and tell us: **what your future in web3 is**, have a check
724+
Before you go ahead and tell us **what your future in web3 is**, have a check
709725
on what you didn’t know a little while ago, and what you know now!
710726

711727
<Quiz quiz="quiz-1"/>

utils/quizzes/quiz-1.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"question": "Where do the values for event parameters get stored?",
66
"options": [
77
{
8-
"answer": "In the transaction data"
8+
"answer": "In the block data"
99
},
1010
{
1111
"answer": "In transaction logs",
@@ -33,17 +33,17 @@
3333
]
3434
},
3535
{
36-
"question": "What can we use a smart contract for?",
36+
"question": "What can we use an Ethereum smart contract for?",
3737
"options": [
3838
{
39-
"answer": "Store or transfer value or services without the need of a central authority",
39+
"answer": "Storing or transfering value without the need of a central authority",
4040
"correct": true
4141
},
4242
{
43-
"answer": "Make a breakfast"
43+
"answer": "Making breakfast"
4444
},
4545
{
46-
"answer": "Verifying the authenticity of documents and information."
46+
"answer": "Sending untraceable transactions"
4747
}
4848
]
4949
}

0 commit comments

Comments
 (0)