-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·374 lines (327 loc) · 11.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<title>GrinSwap @ Binance Labs Meetup, Berlin May 9 2019</title>
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/reveal.css" />
<link rel="stylesheet" href="css/theme/white2.css" />
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/monokai.css" />
<!-- Printing and PDF exports -->
<script>
var link = document.createElement("link");
link.rel = "stylesheet";
link.type = "text/css";
link.href = window.location.search.match(/print-pdf/gi)
? "css/print/pdf.css"
: "css/print/paper.css";
document.getElementsByTagName("head")[0].appendChild(link);
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<img data-src="img/grinswap_vectorized.svg" />
<p>
<span
style="background-color: black; color: white; padding-left:0.5em; padding-right:0.5em;"
>vault713</span
>
@lehnberg
</p>
<p>Binance Labs // FullNode // Berlin // 20190509</p>
</section>
<section data-markdown>
<script type="text/template">
## Today
* Context
* Atomic Swaps
* GrinSwap
* Summary & Questions
</script>
</section>
<section data-markdown>
<script type="text/template">
# Mimblewimble
</script>
</section>
<section data-markdown>
<script type="text/template">
## Mimblewimble
* Blockchain design proposed by Jedusor (2016), improved by Poelstra (2016).
* Relies on Confidential Transactions (Maxwell 2016), CoinJoin (Maxwell 2013), and OWAS (Mouton 2013)
* Scalable: Only UTXO set, block headers and kernels required for full sync.
* Fungible: No amounts, no scripts, no addresses, no non-confidentiality, in a simple protocol.
* Requires interaction to build transactions.
</script>
</section>
<section data-markdown>
<script type="text/template">
# Grin
</script>
</section>
<section data-markdown>
<script type="text/template">
## Grin
* First MW implementation: announced October 2016, launched Jan 2019.
* Written in Rust by an open source community funded by voluntary donations.
* Proof of Work mined: Friendly to ASICs in the long run, resistant in the short run.
* Constant emission rate of 1 Grin/second for ever.
* Open, Fair, Honest, Minimal, Rational, Transparent.
</script>
</section>
<section data-markdown>
<script type="text/template">
## Grin tech
* Schnorr signatures: Smaller, multi-sig, scriptless scripts, certifiable transactions
* Bulletproofs: Smaller ZK range proof for CT
* Dandelion: Privacy-preserving transaction propagation and aggregation
* Scriptless scripts: Enables atomic swaps in Grin and some other scripting behavior.
</script>
</section>
<section data-markdown>
<script type="text/template">
# vault713
</script>
</section>
<section data-markdown>
<script type="text/template">
## vault713
* Building infrastructure to enable a privacy preserving financial system.
* [grinbox://](https://grinbox.io) - an open transaction building protocol.
* [wallet713](https://wallet.713.mw/) - the Swiss army knife for Grin.
* cashier713 - Grin payment processing for pools and exchanges.
* freezer713 - Grin cold storage with t-of-n multi-sig.
* Boot-strapped in pre-seed stage.
</script>
</section>
<section data-markdown>
<script type="text/template">
# Atomic Swaps
</script>
</section>
<section data-markdown>
<section id="fragments">
<script type="text/template">
```
Alice 👱♀️ {
has: 🍏;
wants: 🍊;
}
```
<div class="fragment">
```
Bob 👨🦱 {
has: 🍊;
wants: 🍏;
}
```
</div>
<div class="fragment">How can they trade?</div>
<div class="fragment">
```
Tom 👨⚖️ {
trusted_by: 👱♀️, 👨🦱;
}
```
</div>
</script>
</section>
</section>
<section data-markdown>
<script type="text/template">
### Traditional exchange
```
// 1. Alice & Bob send to Tom
deposit: {
👱♀️ → 🍏 → 👨⚖️;
👨🦱 → 🍊 → 👨⚖️;
}
// 2. Tom sends to Alice & Bob
withdrawal: {
👨⚖️ → 🍊 → 👱♀️;
👨⚖️ → 🍏 → 👨🦱;
}
```
</script>
</section>
<section data-markdown>
<script type="text/template">
### Atomic Swaps remove Tom
```
swap: {
👱♀️ → 🍏 → 👨🦱;
👨🦱 → 🍊 → 👱♀️;
}
```
1. Either both operations happen; or neither.
1. Cheating does not allow funds to be stolen.
</script>
</section>
<section data-markdown>
<script type="text/template">
![Text](img/bg_general_swap.svg)
</script>
</section>
<section data-markdown>
<script type="text/template">
### Pros:
* No need for 3rd party Tom
* No need for trust between Alice & Bob
* Retain custody of assets
</script>
</section>
<section data-markdown>
<script type="text/template">
### Cons:
* Speed
* Friction
* Efficiency
* Vulnerable to surveillance (if same hash is used across chains)
</script>
</section>
<section data-markdown>
<script type="text/template">
# GrinSwap
</script>
</section>
<section data-markdown>
<script type="text/template">
## GrinSwap
* Uses Scripless Scripts / Adaptor Signatures (Poelstra 2017)
* vault713 project led by @jaspervdm, creator of first ETH <-> Grin and BTC <-> Grin atomic swaps.
* Open source project supported by Binance Labs fellowships.
</script>
</section>
<!-- <section data-background="img/bg_grin_swap.svg">
</section> -->
<section data-markdown>
<script type="text/template">
```
Alice 👱♀️ {
has: BTC;
wants: GRIN;
}
Bob 👨🦱 {
has: GRIN;
wants: BTC;
}
```
</script>
</section>
<section data-markdown>
<script type="text/template">
![Text](img/bg_grin_swap.svg)
</script>
</section>
<section data-markdown>
<script type="text/template">
## Improves privacy
* Looks like any other Grin transaction
* The tx on the other chain looks like a 2-of-2 MuSig with a timeout
* Harder to link the two together
</script>
</section>
<section data-markdown>
<script type="text/template">
## Use cases
* Under the radar OTC trading with no Escrow
* Privacy-preserving way to trade in and out of Grin
* Breaks traceability for other chain assets
</script>
</section>
<section>
<h2>Roadmap</h2>
<table>
<thead>
<tr>
<th>Month</th>
<th>Deliverable</th>
</tr>
</thead>
<tbody>
<tr>
<td>May</td>
<td>Rust library foundation</td>
</tr>
<tr>
<td>June</td>
<td>ETH / ERC-20 specific requirements</td>
</tr>
<tr>
<td>July</td>
<td>wallet713 integration</td>
</tr>
<tr>
<td>?</td>
<td>BTC support</td>
</tr>
</tbody>
</table>
</section>
<section data-markdown>
<script type="text/template">
## Challenges
* Lock times
* Free option problem
* Usability
</script>
</section>
<section data-markdown>
<script type="text/template">
## Contributing
* Github: [/vault713/grinswap](https://github.com/vault713/grinswap)
* Gitter: [/vault713/grinswap](https://gitter.im/vault713/grinswap)
* Keybase: [@jaspervdm](https://keybase.io/jaspervdm) / [@lehnberg](https://keybase.io/lehnberg)
</script>
</section>
<section data-markdown>
<script type="text/template">
# Summary
</script>
</section>
<section data-markdown>
<script type="text/template">
## Summary
* Atomic swaps enables asset trading without a 3rd party or risking your assets.
* It's best suited for specific users and needs.
* GrinSwap significantly improves privacy for swaps.
* We've just started work, come join us!
</script>
</section>
<section data-markdown>
<script type="text/template">
# Thank you
[[email protected]](mailto:[email protected])
keybase/gitter/github/twitter: @lehnberg
</script>
</section>
</div>
</div>
<script src="js/reveal.js"></script>
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#dependencies
Reveal.initialize({
dependencies: [
{ src: "plugin/markdown/marked.js" },
{ src: "plugin/markdown/markdown.js" },
{ src: "plugin/notes/notes.js", async: true },
{ src: "plugin/highlight/highlight.js", async: true }
],
controls: true,
hash: true,
center: true,
transition: "none", // none/fade/slide/convex/concave/zoom
transitionSpeed: "default" // default/fast/slow
});
</script>
</body>
</html>