Skip to content

Commit

Permalink
add: talk2
Browse files Browse the repository at this point in the history
  • Loading branch information
debuggingfuture committed Oct 15, 2024
1 parent 43c4f26 commit eba44a7
Show file tree
Hide file tree
Showing 17 changed files with 345 additions and 220 deletions.
Binary file modified w3dc-pre-devcon-workshop/image-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified w3dc-pre-devcon-workshop/image-23.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added w3dc-pre-devcon-workshop/image-29.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added w3dc-pre-devcon-workshop/image-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added w3dc-pre-devcon-workshop/image-33.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added w3dc-pre-devcon-workshop/image-34.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added w3dc-pre-devcon-workshop/image-35.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added w3dc-pre-devcon-workshop/image-36.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed w3dc-pre-devcon-workshop/image-44.png
Binary file not shown.
Binary file modified w3dc-pre-devcon-workshop/image-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified w3dc-pre-devcon-workshop/image-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
339 changes: 182 additions & 157 deletions w3dc-pre-devcon-workshop/part1.md

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions w3dc-pre-devcon-workshop/part2.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@




# Account Abstraction

- [Polymarket uses a Proxy account via Safe (Smart Contract)](https://docs.polymarket.com/#proxy-wallets)

---
---


![alt text](image-36.png)

---
---

## Watch Devcon talks

[ELI5: Account Abstraction by Liraz | Devcon Bogotá](https://www.youtube.com/watch?v=QuYZWJj65AY)

[A history of account abstraction by Vitalik](https://www.youtube.com/watch?v=iLf8qpOmxQc)


---
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
---
layout: center
---

# Common dApps dev patterns and primitives by @debuggingfuture


---
---

### Disclaimers

- We position as tutors
Expand Down Expand Up @@ -38,7 +43,9 @@ layout: two-cols

::right::

<img src="/image-13.png" style="height:300px" />
<img src="/image-13.png" style="height:350px" />

<!-- Don't take my words, 2 takeaways from Vitalik -->

---
layout: two-cols
Expand All @@ -52,6 +59,7 @@ layout: two-cols
- WTF is Modernism

::right::

<v-click>
What builders actually learn

Expand Down Expand Up @@ -94,92 +102,109 @@ layout: center


---
layout:center
layout: center
---

# on Maths


<img src="/image-7.png" style="height:400px !important; background:cover;"/>
![alt text](image-7.png)
<img src="/image-33.png" style="height:400px !important; "/>


<!-- # meme
Not good at maths
good at using chat gpt for maths -->


---
layout: two-cols
---
# Premier #1: Maths that sounds complicated

## Don't know WTF is `Residue class`
## 🤔Don't know WTF is `Residue class`
<hr />

## But you know `modular arithmetic` already
## 👌But you know `modular arithmetic` already

- `5 % 3 === 2`

::right::

![alt text](image-2.png)

![alt text](/image-2.png)


<!-- Spent 15 years of our lives learn about it and finally learn to fear and avoid it -->



---
layout: two-cols
---

# Field. Field everywhere

<img src="/image-27.png" style="height:150px"/>
<br />
<img src="/image-5.png" style="height:150px"/>

## Don't know WTF is group theory / rings

### But you know what is Set
![alt text](image-7.png)

![alt text](image-12.png)

---
---

## You know set & Traits in programming
## 🤔Don't know WTF is group theory / rings

- Traits/Mixins `implements RealNumber`
## 👌But you know what is Set

- `divide(x: int)-> int`
<div class="center">
<img src="/image-12.png" style="height: 400px" />

</div>


::right::

<img src="/image-24.png" style="height:400px"/>



---
layout: two-cols
---

## 👌You know traits in programming

- Traits/Mixins `implements Vehicle`
- `move(x:int, y: int)`

- `implements Field`
- `divide(x: int)-> int`

::right::

### Field
<img src="/image-24.png" style="height:400px"/>

<img src="/image-27.png" style="height:300px"/>
<img src="/image-5.png" style="height:300px"/>

---
layout: two-cols
---


### Counter Example
## Counter Example
- Integers ℤ is NOT a field
### Examples

<br />

## Examples
- Real Numbers ℝ
- Complex Number ℂ
- specifically, it's field extension by adjoining i. ℝ(i)
- s.t. we have a solution for i^2 =1
- Consider field of modulus prime number ...Prime field
- which has finite elements.... Finite Field
- specifically: as ℝ(i) field extension of ℝ by adjoining _i_.
- s.t. we have a solution for _i_^2 =1

- field of modulus prime p...`Prime field`
- which has finite elements....`Finite Field`

::right::

# Field Axioms

##

![alt text](image-1.png)
---
class: bg-white whiteboard
---
Expand All @@ -190,5 +215,32 @@ class: bg-white whiteboard


## One Way, Trap door function
<div class="center">

<img src="/image-19.png" style="height: 400px" />
</div>

<v-click>
- prime factorization 1093*1039=1,135,627
</v-click>
---
---


# Themes

- We want something hard (to attack)
- Quantum computing?

- easy to verify

- Size matters!
- compact (Field) numbers to do fancy calculations on (via Field extension)


- Vitalik actually wrote very great premiers
- [Finite field](https://vitalik.eth.limo/general/2024/04/29/binius.html#recap1)

<!-- I learn more from them than from my university -->

<img src="/image-19.png" style="height: 300px" />
<!-- - works well with zk circuits? "SNARK-friendly?" -->
69 changes: 39 additions & 30 deletions w3dc-pre-devcon-workshop/slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ title: W3DevC - Build on ETH Intro Workshop II
info: |
## Workshop by https://web3dev.community/
mdc: true

themeConfig:
primary: '#87dfeb'
---

# W3DC Build on ETH workshop II
Expand All @@ -37,18 +40,6 @@ Venue: SG Builders @Chinatown

https://maps.app.goo.gl/J2fSvXowNkVhzVHS6


---
---

### Goal
- Recap what we learnt at last workshop & hackathon
- demo building with primitives - ENS, EAS, Graph etc
- intro to common applied cryptography
- intro to starknet
- debrief jargons on devcon agenda
- learn about ideas on ETH Roadmap

---
---

Expand Down Expand Up @@ -117,8 +108,7 @@ layout: two-cols
---
---


### [@0xhatsume](https://x.com/0xhatsume)
# [@0xhatsume](https://x.com/0xhatsume)

- Organizer of [Starknet Devs Meetup in SG](https://x.com/ethereum_sg/status/1800837945462845920)
- Founder@ML village
Expand All @@ -139,52 +129,71 @@ layout: two-cols
- 2050-2100: [Outro - Devcon]
- 2100: 📷! Networking🍷! Q&A

---
---

# Thanks for support


---
src: part0.md
---
## Sponsors
- [Ethereum Foundation RTD Grant](https://devcon.org/en/road-to-devcon/)

<br/>

---
# src: part1.md
---
<img border="rounded" style="height: 100px;" src="/image-23.png" alt="">

<br />

---
# src: part2.md
---
## Co-host
![alt text](image-6.png)

<a href="https://talentweb3.co/">

<img border="rounded" style="height: 30px;" src="https://framerusercontent.com/images/i5WDhu5qjzWfi39Bwi6iEHJcuk.svg" alt="">
</a>


---
src: partp.md
---


Reference:
- Transaction
- [Transaction](https://github.com/ethereumbook/ethereumbook/blob/develop/06transactions.asciidoc)
---
src: part1.md
---


---
src: part2.md
---




---
---

# Intro to Starknet by 0xhastume
- zk-Stark
- Demo with Scaffold-Stark


Who am I and why I am in Starknet?
What is Starknet as an organization?
How a typical L2?
Why Starknet (technically)?
zkSTARK
CairoVM
AA
Starknet Intricacies (if time permits)
SN txn
Contract Deploys
Blocks and Packing
Nodes
Recursive Proving


---
---

Devcon
[Devcon](https://docs.google.com/presentation/d/1VMEDEjsl2v_J-0lR9Tfoj9baLrUHa9VJc3v1PUWzQNU/edit?usp=sharing)

---
---
Expand Down
10 changes: 9 additions & 1 deletion w3dc-pre-devcon-workshop/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,12 @@
.whiteboard {
color:white;
} */
} */

.center {
display: flex; justify-content: center;
}

.slidev-layout h1 {
margin-bottom: 2rem !important;
}
8 changes: 8 additions & 0 deletions w3dc-pre-devcon-workshop/vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineConfig } from 'vite'
export default defineConfig({
server: {
hmr: {
overlay: false
}
}
})

0 comments on commit eba44a7

Please sign in to comment.