WEBVTT

1
00:00:17.585 --> 00:00:20.245
<00:00:17.585>So, <00:00:17.760>uh, <00:00:17.935>yesterday <00:00:18.110>you <00:00:18.285>saw <00:00:18.460>some <00:00:18.635>of <00:00:18.810>the <00:00:18.985>horror

2
00:00:20.245 --> 00:00:23.565
<00:00:20.245>that <00:00:20.400>is <00:00:20.556>native <00:00:20.711>Bitcoin <00:00:20.867>scripts <00:00:21.022>when <00:00:21.178>I <00:00:21.333>demonstrated <00:00:21.489>it <00:00:21.645>in,

3
00:00:23.665 --> 00:00:25.685
<00:00:23.665>its, <00:00:23.898>uh, <00:00:24.131>its <00:00:24.365>war <00:00:24.598>and <00:00:24.831>unfettered <00:00:25.064>form.

4
00:00:26.225 --> 00:00:29.645
<00:00:26.225>Um, <00:00:26.365>something <00:00:26.505>that <00:00:26.645>we <00:00:26.785>have <00:00:26.925>been <00:00:27.065>soly <00:00:27.205>needing <00:00:27.345>in <00:00:27.485>Bitcoin <00:00:27.625>SV

5
00:00:29.825 --> 00:00:33.045
<00:00:29.825>for, <00:00:30.025>uh, <00:00:30.224>well, <00:00:30.425>for <00:00:30.625>forever <00:00:30.825>almost <00:00:31.025>is, <00:00:31.224>uh,

6
00:00:33.065 --> 00:00:36.165
<00:00:33.065>is <00:00:33.205>high <00:00:33.345>level <00:00:33.485>languages <00:00:33.625>so <00:00:33.765>that, <00:00:33.905>uh, <00:00:34.044>that <00:00:34.184>people <00:00:34.324>can, <00:00:34.464>um,

7
00:00:36.705 --> 00:00:41.165
<00:00:36.705>uh, <00:00:36.860>build <00:00:37.016>functionality, <00:00:37.171>uh, <00:00:37.327>in <00:00:37.482>script, <00:00:37.638>uh, <00:00:37.793>uh, <00:00:37.949>with <00:00:38.105>ease.

8
00:00:41.505 --> 00:00:45.125
<00:00:41.505>Um, <00:00:41.660>and, <00:00:41.816>uh, <00:00:41.971>I <00:00:42.127>first <00:00:42.282>met <00:00:42.438>Jwe <00:00:42.593>from <00:00:42.749>Esri, <00:00:42.905>uh,

9
00:00:45.935 --> 00:00:47.165
<00:00:45.935>quite <00:00:46.211>a <00:00:46.488>few <00:00:46.765>months <00:00:47.042>before.

10
00:00:47.305 --> 00:00:51.205
<00:00:47.305>Um, <00:00:47.460>uh, <00:00:47.616>Esri, <00:00:47.771>uh, <00:00:47.927>kind <00:00:48.082>of <00:00:48.238>made <00:00:48.393>its <00:00:48.549>first <00:00:48.705>appearance

11
00:00:51.385 --> 00:00:52.605
<00:00:51.385>and, <00:00:51.751>um, <00:00:52.117>in <00:00:52.483>fact,

12
00:00:52.625 --> 00:00:55.085
<00:00:52.625>our <00:00:52.800>very <00:00:52.975>first <00:00:53.150>conversation <00:00:53.325>was <00:00:53.500>about <00:00:53.675>the <00:00:53.850>desperate <00:00:54.025>need

13
00:00:55.085 --> 00:00:56.885
<00:00:55.085>for <00:00:55.435>high <00:00:55.785>level <00:00:56.135>language <00:00:56.485>compilers.

14
00:00:57.585 --> 00:01:00.405
<00:00:57.585>Uh, <00:00:57.725>I <00:00:57.865>had <00:00:58.005>no <00:00:58.145>idea <00:00:58.285>that <00:00:58.425>he <00:00:58.565>had <00:00:58.705>gone <00:00:58.845>away, <00:00:58.985>uh,

15
00:01:00.455 --> 00:01:01.645
<00:01:00.455>after <00:01:00.990>that <00:01:01.526>conversation

16
00:01:01.745 --> 00:01:03.445
<00:01:01.745>and <00:01:01.978>just <00:01:02.211>decided <00:01:02.445>to <00:01:02.678>get, <00:01:02.911>get <00:01:03.144>on

17
00:01:03.445 --> 00:01:04.605
<00:01:03.445>with <00:01:03.653>it <00:01:03.862>and <00:01:04.071>start <00:01:04.280>building <00:01:04.489>it.

18
00:01:04.665 --> 00:01:07.885
<00:01:04.665>But, <00:01:04.840>um, <00:01:05.015>I <00:01:05.190>was <00:01:05.365>certainly <00:01:05.540>pleasantly <00:01:05.715>surprised, <00:01:05.890>uh, <00:01:06.065>when,

19
00:01:07.885 --> 00:01:10.285
<00:01:07.885>when, <00:01:08.040>when <00:01:08.196>I <00:01:08.351>found <00:01:08.507>out <00:01:08.662>and <00:01:08.818>the, <00:01:08.973>uh, <00:01:09.129>the <00:01:09.285>progress

20
00:01:10.285 --> 00:01:12.085
<00:01:10.285>and <00:01:10.460>the <00:01:10.634>leaps <00:01:10.810>and <00:01:10.985>bounds <00:01:11.160>that, <00:01:11.335>uh, <00:01:11.509>that <00:01:11.685>him

21
00:01:12.085 --> 00:01:13.605
<00:01:12.085>and <00:01:12.358>his <00:01:12.632>team <00:01:12.905>had <00:01:13.179>made, <00:01:13.453>uh,

22
00:01:13.635 --> 00:01:15.685
<00:01:13.635>been <00:01:13.985>nothing <00:01:14.335>short <00:01:14.685>or <00:01:15.035>astonishing.

23
00:01:15.905 --> 00:01:19.005
<00:01:15.905>So, <00:01:16.060>to <00:01:16.216>show <00:01:16.371>you <00:01:16.527>what <00:01:16.682>I <00:01:16.838>personally <00:01:16.993>think <00:01:17.149>is <00:01:17.305>one

24
00:01:19.005 --> 00:01:22.485
<00:01:19.005>of <00:01:19.132>the <00:01:19.259>coolest, <00:01:19.386>uh, <00:01:19.514>uh, <00:01:19.641>tools <00:01:19.768>in, <00:01:19.895>uh, <00:01:20.023>in <00:01:20.150>the <00:01:20.277>Bitcoin <00:01:20.405>space,

25
00:01:22.745 --> 00:01:26.885
<00:01:22.745>uh, <00:01:22.861>we <00:01:22.978>have <00:01:23.095>the, <00:01:23.211>uh, <00:01:23.328>the <00:01:23.445>CEO <00:01:23.561>of <00:01:23.678>Esri <00:01:23.795>Jwe <00:01:23.911>Lou <00:01:24.028>to, <00:01:24.145>uh,

26
00:01:26.945 --> 00:01:28.005
<00:01:26.945>to <00:01:27.262>demonstrate <00:01:27.580>for <00:01:27.899>us.

27
00:01:33.595 --> 00:01:36.445
<00:01:33.595>Okay. <00:01:34.061>Uh, <00:01:34.528>hello <00:01:34.995>everyone,

28
00:01:36.865 --> 00:01:41.165
<00:01:36.865>and, <00:01:37.065>uh, <00:01:37.265>very <00:01:37.465>thanks <00:01:37.665>for <00:01:37.865>the <00:01:38.065>introduction, <00:01:38.265>Steve.

29
00:01:41.385 --> 00:01:44.925
<00:01:41.384>And, <00:01:41.512>uh, <00:01:41.639>I <00:01:41.766>hope, <00:01:41.894>uh, <00:01:42.021>today <00:01:42.148>I <00:01:42.275>bring <00:01:42.403>some <00:01:42.530>more <00:01:42.657>good <00:01:42.785>surprises

30
00:01:44.925 --> 00:01:49.245
<00:01:44.925>to <00:01:45.041>you <00:01:45.158>by <00:01:45.274>showing <00:01:45.391>what <00:01:45.508>we <00:01:45.625>have, <00:01:45.741>uh, <00:01:45.858>uh, <00:01:45.975>our <00:01:46.091>progress <00:01:46.208>so <00:01:46.325>far.

31
00:01:50.005 --> 00:01:52.565
<00:01:50.005>So, <00:01:50.471>hello <00:01:50.938>everyone <00:01:51.405>watching.

32
00:01:52.665 --> 00:01:56.765
<00:01:52.664>My <00:01:52.792>name <00:01:52.919>is, <00:01:53.046>uh, <00:01:53.174>SHA, <00:01:53.301>I'm, <00:01:53.428>uh, <00:01:53.555>the <00:01:53.683>creator <00:01:53.810>of <00:01:53.937>S <00:01:54.065>sri.

33
00:01:56.905 --> 00:01:58.125
<00:01:56.905>So <00:01:57.179>basically <00:01:57.454>we <00:01:57.728>are <00:01:58.003>a,

34
00:01:59.005 --> 00:02:02.885
<00:01:59.005>a <00:01:59.205>startup <00:01:59.405>in <00:01:59.604>this <00:01:59.804>BSV <00:02:00.005>space <00:02:00.205>offering <00:02:00.405>integrated

35
00:02:03.095 --> 00:02:04.885
<00:02:03.095>smart <00:02:03.795>contract <00:02:04.495>solutions.

36
00:02:06.075 --> 00:02:07.375
<00:02:06.075>So <00:02:06.367>let's, <00:02:06.660>uh, <00:02:06.952>get <00:02:07.245>started.

37
00:02:12.775 --> 00:02:16.225
<00:02:12.775>So <00:02:13.055>today's <00:02:13.335>topic <00:02:13.615>is <00:02:13.895>about, <00:02:14.175>uh,

38
00:02:16.435 --> 00:02:19.625
<00:02:16.435>developing <00:02:16.668>smart <00:02:16.901>contracts <00:02:17.135>on <00:02:17.368>Bitcoin <00:02:17.601>s <00:02:17.835>sv.

39
00:02:20.005 --> 00:02:22.265
<00:02:20.005>So <00:02:20.238>when <00:02:20.471>people <00:02:20.704>usually <00:02:20.938>regard <00:02:21.171>a <00:02:21.405>Bitcoin

40
00:02:22.605 --> 00:02:26.665
<00:02:22.605>or <00:02:22.804>Bitcoin <00:02:23.005>sv, <00:02:23.204>they <00:02:23.405>don't <00:02:23.605>usually <00:02:23.804>regard <00:02:24.005>it.

41
00:02:26.725 --> 00:02:31.065
<00:02:26.725>Uh, <00:02:26.864>some <00:02:27.005>kind <00:02:27.144>of <00:02:27.285>a <00:02:27.424>platform <00:02:27.565>that <00:02:27.704>you <00:02:27.845>can <00:02:27.984>develop <00:02:28.125>apps

42
00:02:31.245 --> 00:02:33.985
<00:02:31.245>or <00:02:31.478>contracts <00:02:31.711>on, <00:02:31.945>usually <00:02:32.178>think <00:02:32.411>of, <00:02:32.645>uh,

43
00:02:34.205 --> 00:02:35.945
<00:02:34.204>as <00:02:34.554>just <00:02:34.904>pure <00:02:35.255>money <00:02:35.605>transfer.

44
00:02:36.165 --> 00:02:38.745
<00:02:36.165>So <00:02:36.364>today <00:02:36.565>I'm <00:02:36.765>going <00:02:36.965>to <00:02:37.165>show, <00:02:37.364>show <00:02:37.565>you,

45
00:02:38.775 --> 00:02:41.305
<00:02:38.775>besides <00:02:38.975>the <00:02:39.175>money <00:02:39.375>transfer <00:02:39.575>aspect, <00:02:39.775>the <00:02:39.975>other <00:02:40.175>aspect

46
00:02:41.305 --> 00:02:44.945
<00:02:41.305>by <00:02:41.460>whether <00:02:41.616>you, <00:02:41.771>yes, <00:02:41.927>you <00:02:42.082>can <00:02:42.238>actually <00:02:42.393>develop <00:02:42.549>a <00:02:42.705>lot

47
00:02:44.945 --> 00:02:48.265
<00:02:44.945>of <00:02:45.100>a <00:02:45.256>actually <00:02:45.411>arbitrary <00:02:45.567>contracts <00:02:45.722>on <00:02:45.878>top <00:02:46.033>of, <00:02:46.189>uh, <00:02:46.345>this,

48
00:02:48.285 --> 00:02:49.505
<00:02:48.285>uh, <00:02:48.834>BSV <00:02:49.382>platform.

49
00:02:51.695 --> 00:02:54.595
<00:02:51.695>So <00:02:51.870>is, <00:02:52.045>uh, <00:02:52.220>I <00:02:52.394>think <00:02:52.570>yesterday <00:02:52.745>as, <00:02:52.920>uh, <00:02:53.095>Steve

50
00:02:54.615 --> 00:02:58.315
<00:02:54.615>and <00:02:54.770>uh, <00:02:54.926>Craig <00:02:55.081>talk <00:02:55.237>about <00:02:55.392>yesterday <00:02:55.548>is <00:02:55.703>more <00:02:55.859>about <00:02:56.015>the

51
00:02:58.315 --> 00:03:01.845
<00:02:58.315>theoretical <00:02:58.595>aspect <00:02:58.875>of, <00:02:59.155>uh, <00:02:59.435>Bitcoin <00:02:59.715>sv.

52
00:03:02.345 --> 00:03:03.445
<00:03:02.345>And, <00:03:02.840>uh, <00:03:03.334>today,

53
00:03:03.625 --> 00:03:06.285
<00:03:03.625>and <00:03:03.780>especially <00:03:03.936>my <00:03:04.091>talk <00:03:04.247>will <00:03:04.402>be <00:03:04.558>a <00:03:04.713>lot <00:03:04.869>of <00:03:05.025>hands-on

54
00:03:06.905 --> 00:03:08.365
<00:03:06.905>to <00:03:07.167>show <00:03:07.430>a <00:03:07.693>lot <00:03:07.956>of <00:03:08.219>demos

55
00:03:08.465 --> 00:03:11.725
<00:03:08.465>and, <00:03:08.620>uh, <00:03:08.776>we <00:03:08.931>can <00:03:09.087>even <00:03:09.242>start <00:03:09.398>writing <00:03:09.553>some <00:03:09.709>simple <00:03:09.865>code.

56
00:03:15.275 --> 00:03:19.635
<00:03:15.275>Oh, <00:03:15.555>oh, <00:03:15.835>sorry. <00:03:16.115>Okay, <00:03:16.395>I <00:03:16.675>forget.

57
00:03:20.145 --> 00:03:20.435
Okay,

58
00:03:24.755 --> 00:03:25.375
<00:03:24.755>how <00:03:25.034>about <00:03:25.313>now?

59
00:03:30.525 --> 00:03:34.575
<00:03:30.525>Okay, <00:03:31.225>thanks. <00:03:31.925>So

60
00:03:35.575 --> 00:03:38.015
<00:03:35.575>I <00:03:35.750>will <00:03:35.924>walk <00:03:36.100>you <00:03:36.274>through <00:03:36.450>some <00:03:36.625>of <00:03:36.799>the <00:03:36.975>first,

61
00:03:38.845 --> 00:03:40.975
<00:03:38.845>give <00:03:39.000>a <00:03:39.156>ba <00:03:39.311>basic <00:03:39.467>sense <00:03:39.622>of <00:03:39.778>what <00:03:39.933>the, <00:03:40.089>as <00:03:40.245>script,

62
00:03:40.995 --> 00:03:42.415
<00:03:40.995>the <00:03:41.250>language <00:03:41.506>is, <00:03:41.761>it <00:03:42.017>looks <00:03:42.273>like.

63
00:03:42.515 --> 00:03:45.055
<00:03:42.515>And <00:03:42.690>then <00:03:42.864>I'll <00:03:43.040>walk <00:03:43.214>through <00:03:43.390>the <00:03:43.565>whole <00:03:43.739>workflow <00:03:43.915>to

64
00:03:45.915 --> 00:03:50.015
<00:03:45.915>get <00:03:46.054>you <00:03:46.195>from, <00:03:46.334>uh, <00:03:46.475>set <00:03:46.614>up <00:03:46.755>an <00:03:46.894>environment <00:03:47.035>until <00:03:47.174>you, <00:03:47.315>you,

65
00:03:50.395 --> 00:03:52.735
<00:03:50.395>you <00:03:50.570>start <00:03:50.745>writing <00:03:50.920>some <00:03:51.095>code, <00:03:51.270>you <00:03:51.445>can <00:03:51.620>test <00:03:51.795>it,

66
00:03:52.755 --> 00:03:56.415
<00:03:52.755>you <00:03:52.894>can <00:03:53.035>debug <00:03:53.174>it, <00:03:53.315>and <00:03:53.454>then <00:03:53.595>finally <00:03:53.734>you <00:03:53.875>can <00:03:54.015>be <00:03:54.155>practical.

67
00:03:56.415 --> 00:03:58.735
<00:03:56.415>You <00:03:56.648>can <00:03:56.881>deploy <00:03:57.114>the <00:03:57.348>contracts <00:03:57.581>on <00:03:57.815>chain

68
00:03:58.915 --> 00:04:01.215
<00:03:58.915>and, <00:03:59.114>uh, <00:03:59.315>call <00:03:59.515>it <00:03:59.715>just <00:03:59.915>like <00:04:00.114>any <00:04:00.315>other

69
00:04:02.015 --> 00:04:03.455
<00:04:02.015>contract <00:04:02.274>you <00:04:02.533>have <00:04:02.792>encountered <00:04:03.051>so <00:04:03.311>far.

70
00:04:05.045 --> 00:04:09.665
<00:04:05.045>So <00:04:05.184>before <00:04:05.325>I <00:04:05.464>dive <00:04:05.605>into <00:04:05.744>all <00:04:05.885>the <00:04:06.024>details, <00:04:06.165>so <00:04:06.304>first, <00:04:06.445>uh,

71
00:04:10.255 --> 00:04:12.385
<00:04:10.255>give <00:04:10.488>a <00:04:10.721>high <00:04:10.954>level, <00:04:11.188>what <00:04:11.421>is <00:04:11.655>the

72
00:04:13.265 --> 00:04:14.785
<00:04:13.265>contract <00:04:13.538>on, <00:04:13.812>on <00:04:14.085>top <00:04:14.359>of <00:04:14.632>Bitcoin?

73
00:04:15.995 --> 00:04:18.815
<00:04:15.995>So <00:04:16.150>this <00:04:16.306>model <00:04:16.461>is <00:04:16.617>a <00:04:16.772>little <00:04:16.928>bit <00:04:17.083>of <00:04:17.239>a <00:04:17.394>unique

74
00:04:18.815 --> 00:04:21.335
<00:04:18.815>because <00:04:18.990>it's <00:04:19.165>based <00:04:19.339>on <00:04:19.515>the <00:04:19.690>so-called <00:04:19.865>UT <00:04:20.040>XO <00:04:20.214>model.

75
00:04:21.875 --> 00:04:23.695
<00:04:21.875>So <00:04:22.155>if <00:04:22.435>you <00:04:22.715>look <00:04:22.995>at <00:04:23.275>the,

76
00:04:26.415 --> 00:04:29.675
<00:04:26.415>the <00:04:26.648>transactions, <00:04:26.881>usually <00:04:27.115>Bitcoin <00:04:27.348>transaction <00:04:27.581>consists <00:04:27.815>of,

77
00:04:29.695 --> 00:04:32.755
<00:04:29.695>uh, <00:04:30.161>inputs <00:04:30.628>and <00:04:31.094>outputs.

78
00:04:33.095 --> 00:04:34.395
<00:04:33.095>So <00:04:33.387>think <00:04:33.680>about <00:04:33.972>this <00:04:34.265>way,

79
00:04:34.415 --> 00:04:36.355
<00:04:34.415>one <00:04:34.590>example <00:04:34.765>would <00:04:34.940>be <00:04:35.115>when <00:04:35.290>you <00:04:35.465>send <00:04:35.640>a <00:04:35.815>Bitcoin.

80
00:04:36.855 --> 00:04:41.675
<00:04:36.855>So <00:04:36.982>you <00:04:37.109>are <00:04:37.236>taking <00:04:37.364>e <00:04:37.491>existing <00:04:37.618>UT <00:04:37.745>xls, <00:04:37.873>you <00:04:38.000>are <00:04:38.127>spending <00:04:38.255>this

81
00:04:42.255 --> 00:04:45.595
<00:04:42.255>and <00:04:42.410>you <00:04:42.566>are <00:04:42.721>giving, <00:04:42.877>so <00:04:43.032>let's <00:04:43.188>say <00:04:43.343>Alice <00:04:43.499>sends <00:04:43.655>one

82
00:04:45.595 --> 00:04:46.915
<00:04:45.595>Bitcoin <00:04:45.991>to, <00:04:46.387>to <00:04:46.783>Bob.

83
00:04:47.215 --> 00:04:51.395
<00:04:47.215>So <00:04:47.370>what <00:04:47.526>what <00:04:47.681>it <00:04:47.837>actually <00:04:47.992>happens <00:04:48.148>is <00:04:48.303>Alice, <00:04:48.459>uh, <00:04:48.615>it,

84
00:04:51.655 --> 00:04:55.035
<00:04:51.655>the <00:04:51.854>so-called, <00:04:52.054>uh, <00:04:52.255>it <00:04:52.455>takes <00:04:52.655>Alex <00:04:52.854>UT <00:04:53.054>XO

85
00:04:55.375 --> 00:04:58.275
<00:04:55.375>and <00:04:55.550>then <00:04:55.725>unlock <00:04:55.900>the <00:04:56.075>coins <00:04:56.250>inside <00:04:56.425>the <00:04:56.600>UT <00:04:56.775>o

86
00:04:58.535 --> 00:05:01.155
<00:04:58.534>and <00:04:58.814>put <00:04:59.094>into <00:04:59.374>new <00:04:59.655>UT <00:04:59.934>XOs.

87
00:05:01.155 --> 00:05:05.315
<00:05:01.155>And <00:05:01.310>in <00:05:01.466>this <00:05:01.621>UU <00:05:01.777>two <00:05:01.932>XOs <00:05:02.088>only <00:05:02.243>Bob <00:05:02.399>can <00:05:02.554>unlock.

88
00:05:05.735 --> 00:05:08.475
<00:05:05.735>So <00:05:05.935>if <00:05:06.135>you <00:05:06.335>zoom <00:05:06.535>inside <00:05:06.735>each <00:05:06.935>U2 <00:05:07.135>XO

89
00:05:08.695 --> 00:05:10.755
<00:05:08.695>as <00:05:08.928>we <00:05:09.161>do <00:05:09.395>in <00:05:09.628>the <00:05:09.861>example <00:05:10.094>here,

90
00:05:10.895 --> 00:05:12.755
<00:05:10.895>we <00:05:11.174>have <00:05:11.455>transaction <00:05:11.734>one, <00:05:12.015>transaction <00:05:12.294>two.

91
00:05:13.295 --> 00:05:15.715
<00:05:13.295>So <00:05:13.528>in <00:05:13.761>the <00:05:13.995>output, <00:05:14.228>the <00:05:14.461>first <00:05:14.695>output

92
00:05:15.715 --> 00:05:18.315
<00:05:15.715>of <00:05:15.870>transaction <00:05:16.026>one <00:05:16.181>you <00:05:16.337>can <00:05:16.492>think <00:05:16.648>of, <00:05:16.803>that's <00:05:16.959>a <00:05:17.114>lock.

93
00:05:19.075 --> 00:05:24.035
<00:05:19.075>So <00:05:19.250>who <00:05:19.425>can <00:05:19.599>spend <00:05:19.775>it <00:05:19.950>only <00:05:20.125>the, <00:05:20.300>the <00:05:20.474>person

94
00:05:24.255 --> 00:05:28.395
<00:05:24.255>who <00:05:24.410>has <00:05:24.566>the <00:05:24.721>corresponding <00:05:24.877>key <00:05:25.032>that <00:05:25.188>can <00:05:25.343>unlock <00:05:25.499>the <00:05:25.655>lock,

95
00:05:28.735 --> 00:05:31.875
<00:05:28.735>you <00:05:28.890>can <00:05:29.046>unlock <00:05:29.201>it <00:05:29.357>only <00:05:29.512>in <00:05:29.668>this <00:05:29.823>case <00:05:29.979>you <00:05:30.135>can

96
00:05:31.875 --> 00:05:33.115
<00:05:31.875>spend <00:05:32.247>the <00:05:32.619>coins <00:05:32.991>inside.

97
00:05:33.295 --> 00:05:35.995
<00:05:33.295>So <00:05:33.528>that's <00:05:33.761>how <00:05:33.995>the <00:05:34.228>Bitcoins <00:05:34.461>contract <00:05:34.695>worked.

98
00:05:36.135 --> 00:05:38.995
<00:05:36.135>So <00:05:36.310>basically <00:05:36.485>you <00:05:36.659>can, <00:05:36.835>as <00:05:37.010>yesterday <00:05:37.185>we <00:05:37.360>give <00:05:37.534>a,

99
00:05:39.185 --> 00:05:40.875
<00:05:39.185>some <00:05:39.651>introduction <00:05:40.118>to <00:05:40.585>script.

100
00:05:40.975 --> 00:05:45.115
<00:05:40.975>So <00:05:41.208>basically <00:05:41.441>for <00:05:41.675>each <00:05:41.908>UTXO, <00:05:42.141>basically <00:05:42.375>bitcoins,

101
00:05:45.585 --> 00:05:50.305
<00:05:45.585>there's <00:05:45.724>a <00:05:45.864>lock <00:05:46.005>on <00:05:46.145>top <00:05:46.284>of, <00:05:46.424>there's <00:05:46.565>a <00:05:46.705>lock <00:05:46.844>in <00:05:46.984>it.

102
00:05:50.925 --> 00:05:54.025
<00:05:50.925>So <00:05:51.100>the <00:05:51.275>lock <00:05:51.450>is <00:05:51.625>expressed <00:05:51.800>in, <00:05:51.975>in <00:05:52.150>native <00:05:52.325>script,

103
00:05:54.605 --> 00:05:57.420
<00:05:54.605>and <00:05:54.732>then <00:05:54.859>when <00:05:54.986>you <00:05:55.114>unlock <00:05:55.241>it, <00:05:55.368>you <00:05:55.495>plug <00:05:55.623>in <00:05:55.750>the, <00:05:55.877>the <00:05:56.005>key,

104
00:05:57.420 --> 00:05:58.725
<00:05:57.420>which <00:05:57.713>is <00:05:58.007>also <00:05:58.300>a <00:05:58.594>script.

105
00:05:58.985 --> 00:06:02.685
<00:05:58.985>So <00:05:59.112>you <00:05:59.239>combine <00:05:59.366>this <00:05:59.494>two <00:05:59.621>together, <00:05:59.748>if <00:05:59.875>you <00:06:00.003>run <00:06:00.130>them, <00:06:00.257>if <00:06:00.385>it's,

106
00:06:02.685 --> 00:06:06.845
<00:06:02.685>uh, <00:06:02.840>returns <00:06:02.996>to, <00:06:03.151>then <00:06:03.307>you <00:06:03.462>can <00:06:03.618>successfully <00:06:03.773>spend <00:06:03.929>the <00:06:04.085>coin,

107
00:06:06.875 --> 00:06:08.485
<00:06:06.875>otherwise <00:06:07.341>you'll <00:06:07.808>be <00:06:08.275>rejected.

108
00:06:10.435 --> 00:06:14.925
<00:06:10.435>So <00:06:10.590>y <00:06:10.746>this <00:06:10.901>is <00:06:11.057>as <00:06:11.212>yesterday, <00:06:11.368>I <00:06:11.523>think <00:06:11.679>a <00:06:11.835>lot

109
00:06:14.925 --> 00:06:17.405
<00:06:14.925>of <00:06:15.205>speaker <00:06:15.485>covered <00:06:15.765>the <00:06:16.045>script <00:06:16.325>side.

110
00:06:17.505 --> 00:06:19.045
<00:06:17.505>As <00:06:17.659>you <00:06:17.813>can <00:06:17.967>see <00:06:18.121>on <00:06:18.275>the <00:06:18.429>right <00:06:18.583>side, <00:06:18.737>you <00:06:18.891>can,

111
00:06:19.045 --> 00:06:23.685
<00:06:19.045>there's <00:06:19.220>some <00:06:19.395>examples <00:06:19.570>of <00:06:19.745>the <00:06:19.920>some, <00:06:20.095>uh, <00:06:20.270>non-trivial <00:06:20.445>script.

112
00:06:23.905 --> 00:06:28.605
<00:06:23.905>So <00:06:24.044>you <00:06:24.184>can <00:06:24.325>think <00:06:24.465>of <00:06:24.604>anything <00:06:24.744>that <00:06:24.885>you <00:06:25.025>can, <00:06:25.164>you <00:06:25.304>want

113
00:06:28.605 --> 00:06:30.405
<00:06:28.605>to <00:06:28.885>express <00:06:29.165>in <00:06:29.445>this <00:06:29.725>smart <00:06:30.005>contract.

114
00:06:30.625 --> 00:06:32.845
<00:06:30.625>You <00:06:30.825>can <00:06:31.025>actually <00:06:31.225>write <00:06:31.425>it <00:06:31.625>in <00:06:31.825>native <00:06:32.025>script.

115
00:06:34.005 --> 00:06:36.105
<00:06:34.005>That's <00:06:34.355>idea, <00:06:34.705>that's <00:06:35.055>in <00:06:35.405>theory.

116
00:06:36.205 --> 00:06:37.585
<00:06:36.205>You <00:06:36.453>can <00:06:36.701>do <00:06:36.950>everything <00:06:37.198>in <00:06:37.447>script,

117
00:06:37.725 --> 00:06:39.105
<00:06:37.725>but <00:06:38.035>that's <00:06:38.346>one <00:06:38.656>slight <00:06:38.967>problem.

118
00:06:39.535 --> 00:06:42.295
<00:06:39.534>It's <00:06:39.814>like, <00:06:40.094>uh, <00:06:40.374>assembly <00:06:40.655>language, <00:06:40.934>right?

119
00:06:42.555 --> 00:06:43.695
<00:06:42.555>Is, <00:06:42.897>uh, <00:06:43.239>as, <00:06:43.581>uh,

120
00:06:43.695 --> 00:06:46.015
<00:06:43.695>Craig <00:06:43.850>yesterday <00:06:44.006>also <00:06:44.161>talked <00:06:44.317>about <00:06:44.472>when <00:06:44.628>you <00:06:44.783>talk <00:06:44.939>about <00:06:45.094>the

121
00:06:46.015 --> 00:06:50.295
<00:06:46.015>origins <00:06:46.190>of <00:06:46.365>script <00:06:46.539>is <00:06:46.715>is <00:06:46.890>more <00:06:47.065>like, <00:06:47.240>uh, <00:06:47.414>assembly.

122
00:06:50.485 --> 00:06:52.255
<00:06:50.485>It's <00:06:50.718>a <00:06:50.951>low <00:06:51.185>level. <00:06:51.418>So <00:06:51.651>it <00:06:51.885>is

123
00:06:52.765 --> 00:06:55.455
<00:06:52.765>when <00:06:52.965>he <00:06:53.164>first <00:06:53.365>even <00:06:53.565>design <00:06:53.765>is <00:06:53.965>never <00:06:54.164>intended

124
00:06:55.595 --> 00:06:56.775
<00:06:55.595>to <00:06:55.949>be <00:06:56.303>used <00:06:56.657>directly.

125
00:06:56.995 --> 00:06:58.255
<00:06:56.995>So <00:06:57.221>it <00:06:57.448>is <00:06:57.675>always <00:06:57.902>a <00:06:58.129>case.

126
00:06:58.485 --> 00:07:01.495
<00:06:58.485>There's <00:06:58.685>some, <00:06:58.885>uh, <00:06:59.085>more <00:06:59.285>abstraction, <00:06:59.485>like <00:06:59.685>a <00:06:59.885>script,

127
00:07:01.665 --> 00:07:03.055
<00:07:01.665>which <00:07:01.915>is <00:07:02.165>a <00:07:02.415>high <00:07:02.665>level <00:07:02.916>language.

128
00:07:03.155 --> 00:07:06.575
<00:07:03.155>If <00:07:03.310>you <00:07:03.466>look <00:07:03.621>at <00:07:03.777>the, <00:07:03.932>uh, <00:07:04.088>left <00:07:04.243>of <00:07:04.399>the <00:07:04.554>screen,

129
00:07:06.835 --> 00:07:09.215
<00:07:06.835>so <00:07:06.990>you <00:07:07.146>can <00:07:07.301>get <00:07:07.457>a <00:07:07.612>sense, <00:07:07.768>it <00:07:07.923>is, <00:07:08.079>uh, <00:07:08.234>more

130
00:07:09.215 --> 00:07:11.295
<00:07:09.215>or <00:07:09.494>less <00:07:09.775>look <00:07:10.054>like, <00:07:10.335>uh, <00:07:10.614>JavaScript

131
00:07:11.635 --> 00:07:14.055
<00:07:11.635>or <00:07:11.868>some <00:07:12.101>people <00:07:12.335>may <00:07:12.568>heard <00:07:12.801>about <00:07:13.034>solidity

132
00:07:14.555 --> 00:07:16.895
<00:07:14.555>or <00:07:14.788>other <00:07:15.021>kind <00:07:15.255>of, <00:07:15.488>uh, <00:07:15.721>modern <00:07:15.955>language.

133
00:07:17.315 --> 00:07:19.895
<00:07:17.315>So <00:07:17.490>you <00:07:17.665>can <00:07:17.840>have <00:07:18.015>defined <00:07:18.190>variables, <00:07:18.365>you <00:07:18.540>can, <00:07:18.715>uh,

134
00:07:19.895 --> 00:07:23.055
<00:07:19.895>defined <00:07:20.070>functions <00:07:20.245>instead <00:07:20.419>of, <00:07:20.594>you <00:07:20.770>can <00:07:20.945>also <00:07:21.120>have <00:07:21.294>types.

135
00:07:23.475 --> 00:07:27.335
<00:07:23.475>So <00:07:23.650>that <00:07:23.825>makes <00:07:24.000>it <00:07:24.175>more, <00:07:24.350>uh, <00:07:24.525>friendly <00:07:24.700>to <00:07:24.875>developers.

136
00:07:30.335 --> 00:07:35.145
<00:07:30.335>So <00:07:30.510>as <00:07:30.685>script <00:07:30.859>is, <00:07:31.034>you <00:07:31.210>can <00:07:31.385>think <00:07:31.560>of, <00:07:31.734>uh,

137
00:07:35.205 --> 00:07:38.385
<00:07:35.205>as <00:07:35.405>a <00:07:35.604>function <00:07:35.805>only <00:07:36.005>is <00:07:36.205>equivalent <00:07:36.405>to <00:07:36.604>script,

138
00:07:38.485 --> 00:07:41.185
<00:07:38.485>but <00:07:38.612>the <00:07:38.739>only <00:07:38.866>thing <00:07:38.994>is, <00:07:39.121>is <00:07:39.248>uh, <00:07:39.375>builds <00:07:39.503>on <00:07:39.630>top <00:07:39.757>of <00:07:39.885>it

139
00:07:41.365 --> 00:07:45.185
<00:07:41.365>and <00:07:41.505>builds <00:07:41.645>a <00:07:41.785>wrapper, <00:07:41.925>uh, <00:07:42.065>syntactic <00:07:42.205>sugar <00:07:42.345>on <00:07:42.485>top <00:07:42.625>of <00:07:42.765>it.

140
00:07:45.325 --> 00:07:48.625
<00:07:45.325>So <00:07:45.480>you <00:07:45.636>don't <00:07:45.791>have <00:07:45.947>to <00:07:46.102>deal <00:07:46.258>with, <00:07:46.413>uh, <00:07:46.569>assembly <00:07:46.724>level,

141
00:07:48.845 --> 00:07:52.625
<00:07:48.845>low <00:07:49.078>level, <00:07:49.311>uh, <00:07:49.545>this <00:07:49.778>esoteric <00:07:50.011>language, <00:07:50.245>which

142
00:07:53.305 --> 00:07:55.745
<00:07:53.305>I <00:07:53.460>don't <00:07:53.616>know <00:07:53.771>you, <00:07:53.927>but <00:07:54.082>I <00:07:54.238>don't <00:07:54.393>usually <00:07:54.549>like, <00:07:54.705>uh,

143
00:07:55.745 --> 00:07:56.745
<00:07:55.745>programming <00:07:56.645>assembly.

144
00:07:57.665 --> 00:07:59.725
<00:07:57.665>So <00:07:57.898>let's <00:07:58.131>just <00:07:58.365>walk <00:07:58.598>through <00:07:58.831>one <00:07:59.065>example

145
00:08:00.105 --> 00:08:02.205
<00:08:00.105>of <00:08:00.385>like <00:08:00.665>a <00:08:00.945>hello <00:08:01.225>Word <00:08:01.505>contract.

146
00:08:02.205 --> 00:08:03.285
<00:08:02.205>What, <00:08:02.399>what <00:08:02.593>does <00:08:02.788>it <00:08:02.982>look <00:08:03.177>like?

147
00:08:03.465 --> 00:08:07.285
<00:08:03.465>So <00:08:03.620>in <00:08:03.776>this <00:08:03.931>example, <00:08:04.087>I <00:08:04.242>put, <00:08:04.398>uh, <00:08:04.553>uh, <00:08:04.709>the <00:08:04.864>so-called,

148
00:08:07.305 --> 00:08:08.725
<00:08:07.305>uh, <00:08:07.944>contract <00:08:08.583>demo.

149
00:08:09.665 --> 00:08:14.405
<00:08:09.665>So <00:08:09.840>it's <00:08:10.015>a <00:08:10.190>contract <00:08:10.365>is <00:08:10.540>similar <00:08:10.715>to <00:08:10.890>class <00:08:11.065>in

150
00:08:15.345 --> 00:08:17.405
<00:08:15.345>object <00:08:15.811>oriented <00:08:16.278>programming <00:08:16.745>languages.

151
00:08:17.665 --> 00:08:21.445
<00:08:17.665>So <00:08:17.792>for <00:08:17.919>example, <00:08:18.046>again, <00:08:18.174>also <00:08:18.301>you <00:08:18.428>have, <00:08:18.555>you <00:08:18.683>can <00:08:18.810>define <00:08:18.937>XY <00:08:19.065>here

152
00:08:21.825 --> 00:08:25.245
<00:08:21.825>as <00:08:21.980>properties <00:08:22.136>or <00:08:22.291>you <00:08:22.447>can <00:08:22.602>say <00:08:22.758>it's, <00:08:22.913>uh, <00:08:23.069>state <00:08:23.224>variables.

153
00:08:25.465 --> 00:08:27.005
<00:08:25.465>You, <00:08:25.695>you <00:08:25.926>of <00:08:26.157>course <00:08:26.389>you <00:08:26.620>have <00:08:26.851>constructed

154
00:08:27.005 --> 00:08:30.335
<00:08:27.005>through <00:08:27.471>initialize <00:08:27.938>this <00:08:28.405>variables.

155
00:08:30.915 --> 00:08:33.815
<00:08:30.915>And <00:08:31.055>also <00:08:31.195>you <00:08:31.335>can <00:08:31.475>see <00:08:31.615>this <00:08:31.755>one <00:08:31.895>example <00:08:32.034>I <00:08:32.175>show <00:08:32.315>here,

156
00:08:33.995 --> 00:08:35.255
<00:08:33.995>you <00:08:34.373>can <00:08:34.751>define <00:08:35.129>functions.

157
00:08:35.515 --> 00:08:37.015
<00:08:35.515>For <00:08:35.784>example, <00:08:36.054>you <00:08:36.324>can <00:08:36.595>define <00:08:36.865>sum.

158
00:08:37.395 --> 00:08:40.655
<00:08:37.395>So <00:08:37.550>basically <00:08:37.706>here <00:08:37.861>you <00:08:38.017>can <00:08:38.172>intuitively <00:08:38.328>see <00:08:38.483>the <00:08:38.639>language <00:08:38.794>is

159
00:08:40.655 --> 00:08:42.255
<00:08:40.655>pretty <00:08:42.054>self-explanatory.

160
00:08:42.435 --> 00:08:44.295
<00:08:42.434>So <00:08:42.635>basically <00:08:42.834>you <00:08:43.034>have <00:08:43.234>integer <00:08:43.434>A <00:08:43.635>and <00:08:43.834>B,

161
00:08:44.795 --> 00:08:47.215
<00:08:44.795>and <00:08:44.969>then <00:08:45.145>you <00:08:45.319>can <00:08:45.495>sum <00:08:45.670>them <00:08:45.844>by <00:08:46.020>just <00:08:46.194>plus

162
00:08:47.555 --> 00:08:51.405
<00:08:47.555>and <00:08:47.729>then <00:08:47.905>return <00:08:48.079>it <00:08:48.255>as <00:08:48.430>the, <00:08:48.604>as <00:08:48.780>the <00:08:48.954>result.

163
00:08:52.025 --> 00:08:56.485
<00:08:52.025>So <00:08:52.180>I <00:08:52.336>think <00:08:52.491>the <00:08:52.647>thing <00:08:52.802>I <00:08:52.958>highlighted <00:08:53.113>here <00:08:53.269>are <00:08:53.425>some

164
00:08:56.485 --> 00:08:58.965
<00:08:56.485>of <00:08:56.718>the <00:08:56.951>unique <00:08:57.185>features <00:08:57.418>for <00:08:57.651>s <00:08:57.885>script.

165
00:08:59.065 --> 00:09:01.325
<00:08:59.065>So <00:08:59.345>you <00:08:59.625>can <00:08:59.905>see <00:09:00.185>some <00:09:00.465>functions.

166
00:09:01.595 --> 00:09:05.045
<00:09:01.595>They <00:09:01.828>have <00:09:02.061>this, <00:09:02.295>um, <00:09:02.528>modifier <00:09:02.761>called <00:09:02.995>public.

167
00:09:05.265 --> 00:09:08.685
<00:09:05.265>So <00:09:05.405>what <00:09:05.545>does <00:09:05.685>it <00:09:05.824>mean? <00:09:05.965>So, <00:09:06.105>so, <00:09:06.245>uh, <00:09:06.385>the <00:09:06.525>contract, <00:09:06.665>right?

168
00:09:08.685 --> 00:09:10.485
<00:09:08.685>Like <00:09:08.964>any <00:09:09.244>other <00:09:09.525>contract, <00:09:09.805>smart <00:09:10.084>contract,

169
00:09:11.105 --> 00:09:12.805
<00:09:11.105>you <00:09:11.455>have <00:09:11.805>seen <00:09:12.155>other <00:09:12.505>blockchain.

170
00:09:12.905 --> 00:09:15.445
<00:09:12.905>So <00:09:13.060>basically <00:09:13.216>the <00:09:13.371>way <00:09:13.527>you <00:09:13.682>use <00:09:13.838>it, <00:09:13.993>you <00:09:14.149>deploy <00:09:14.305>it

171
00:09:15.665 --> 00:09:16.965
<00:09:15.665>and <00:09:15.899>then <00:09:16.133>you <00:09:16.367>call <00:09:16.601>it, <00:09:16.835>right?

172
00:09:17.305 --> 00:09:20.775
<00:09:17.305>So <00:09:17.505>what <00:09:17.704>public <00:09:17.905>means, <00:09:18.104>so <00:09:18.305>for <00:09:18.505>these <00:09:18.704>functions,

173
00:09:21.115 --> 00:09:23.775
<00:09:21.115>not <00:09:21.290>only <00:09:21.465>you <00:09:21.640>can <00:09:21.815>call <00:09:21.990>inside <00:09:22.165>s <00:09:22.340>script <00:09:22.515>code,

174
00:09:24.075 --> 00:09:28.095
<00:09:24.075>but <00:09:24.191>you <00:09:24.308>can <00:09:24.425>also <00:09:24.541>call <00:09:24.658>it <00:09:24.775>from <00:09:24.891>outside <00:09:25.008>of <00:09:25.125>the <00:09:25.241>s <00:09:25.358>script <00:09:25.475>code,

175
00:09:28.095 --> 00:09:30.335
<00:09:28.095>which <00:09:28.445>is <00:09:28.795>by <00:09:29.145>sending <00:09:29.495>transactions.

176
00:09:31.675 --> 00:09:34.135
<00:09:31.675>So <00:09:31.908>this <00:09:32.141>kind <00:09:32.375>of, <00:09:32.608>uh, <00:09:32.841>functions, <00:09:33.074>you,

177
00:09:34.555 --> 00:09:36.215
<00:09:34.555>you <00:09:34.755>put <00:09:34.954>a <00:09:35.155>public <00:09:35.354>in <00:09:35.555>front <00:09:35.755>of <00:09:35.954>it.

178
00:09:36.715 --> 00:09:40.375
<00:09:36.715>So <00:09:36.870>in <00:09:37.026>this <00:09:37.181>case, <00:09:37.337>we <00:09:37.492>have <00:09:37.648>a <00:09:37.803>ad <00:09:37.959>public <00:09:38.115>function.

179
00:09:40.375 --> 00:09:43.655
<00:09:40.375>We <00:09:40.608>also <00:09:40.841>have <00:09:41.075>a <00:09:41.308>sub <00:09:41.541>public <00:09:41.775>function.

180
00:09:43.835 --> 00:09:45.575
<00:09:43.835>So <00:09:44.185>inside <00:09:44.535>this, <00:09:44.885>there's <00:09:45.235>a,

181
00:09:45.795 --> 00:09:48.015
<00:09:45.795>that's <00:09:46.145>a <00:09:46.495>statement <00:09:46.844>called <00:09:47.194>require.

182
00:09:48.275 --> 00:09:51.815
<00:09:48.275>So <00:09:48.449>what <00:09:48.625>does, <00:09:48.800>so <00:09:48.975>for <00:09:49.150>lot <00:09:49.324>of <00:09:49.500>other, <00:09:49.675>uh,

183
00:09:51.955 --> 00:09:53.935
<00:09:51.955>for <00:09:52.235>developers <00:09:52.515>coming <00:09:52.795>from <00:09:53.075>other <00:09:53.355>platform

184
00:09:54.115 --> 00:09:57.935
<00:09:54.115>or <00:09:54.255>in <00:09:54.395>general, <00:09:54.535>this <00:09:54.675>is <00:09:54.815>similar <00:09:54.955>to <00:09:55.095>assertion <00:09:55.235>in <00:09:55.375>a <00:09:55.515>lot

185
00:09:57.935 --> 00:10:01.615
<00:09:57.935>of <00:09:58.090>languages <00:09:58.246>like <00:09:58.401>plus <00:09:58.557>plus <00:09:58.712>or, <00:09:58.868>or, <00:09:59.023>or <00:09:59.179>even <00:09:59.334>JavaScript.

186
00:10:01.955 --> 00:10:05.255
<00:10:01.955>So <00:10:02.155>basically <00:10:02.355>this <00:10:02.555>is <00:10:02.755>a <00:10:02.955>statement <00:10:03.155>that <00:10:03.355>takes,

187
00:10:05.605 --> 00:10:07.695
<00:10:05.605>this <00:10:05.780>is <00:10:05.955>a <00:10:06.130>function <00:10:06.305>that <00:10:06.480>takes <00:10:06.655>a <00:10:06.830>bullying <00:10:07.005>expression.

188
00:10:08.115 --> 00:10:11.695
<00:10:08.115>So <00:10:08.255>if <00:10:08.395>it's <00:10:08.535>this <00:10:08.675>expression <00:10:08.815>is <00:10:08.955>true, <00:10:09.095>it <00:10:09.235>will <00:10:09.375>do <00:10:09.515>nothing.

189
00:10:11.995 --> 00:10:14.295
<00:10:11.995>It <00:10:12.195>just <00:10:12.395>keep <00:10:12.595>running. <00:10:12.795>So <00:10:12.995>if <00:10:13.195>it's <00:10:13.395>forced,

190
00:10:14.755 --> 00:10:16.375
<00:10:14.755>it <00:10:14.988>will <00:10:15.221>fail <00:10:15.455>the <00:10:15.688>whole <00:10:15.921>thing <00:10:16.155>immediately.

191
00:10:16.565 --> 00:10:21.395
<00:10:16.565>It's <00:10:16.740>like <00:10:16.915>assertion. <00:10:17.090>So <00:10:17.265>how <00:10:17.440>does <00:10:17.615>this <00:10:17.790>contract <00:10:17.965>map

192
00:10:21.455 --> 00:10:24.835
<00:10:21.455>to <00:10:21.655>the <00:10:21.855>locking <00:10:22.055>unlocking <00:10:22.255>we <00:10:22.455>have <00:10:22.655>mentioned <00:10:22.855>previously?

193
00:10:25.255 --> 00:10:28.595
<00:10:25.255>So <00:10:25.488>basically <00:10:25.721>for <00:10:25.955>each <00:10:26.188>public <00:10:26.421>function, <00:10:26.655>the,

194
00:10:28.695 --> 00:10:32.155
<00:10:28.695>the <00:10:28.850>body <00:10:29.006>you <00:10:29.161>can <00:10:29.317>think <00:10:29.472>of <00:10:29.628>as <00:10:29.783>they <00:10:29.939>will <00:10:30.095>go

195
00:10:32.155 --> 00:10:35.855
<00:10:32.155>to <00:10:32.355>the <00:10:32.555>locking <00:10:32.755>script, <00:10:32.954>uh, <00:10:33.155>locking <00:10:33.355>script <00:10:33.555>part

196
00:10:35.855 --> 00:10:38.055
<00:10:35.855>of <00:10:36.055>the <00:10:36.255>contract, <00:10:36.455>and <00:10:36.655>whatever <00:10:36.855>you <00:10:37.055>plug <00:10:37.255>in

197
00:10:38.195 --> 00:10:42.995
<00:10:38.195>for <00:10:38.350>the <00:10:38.506>arguments <00:10:38.661>is, <00:10:38.817>uh, <00:10:38.972>is <00:10:39.128>in <00:10:39.283>the <00:10:39.439>unlocking <00:10:39.595>script.

198
00:10:43.175 --> 00:10:44.995
<00:10:43.175>So <00:10:43.330>in <00:10:43.486>this <00:10:43.641>case, <00:10:43.797>but <00:10:43.952>easiest <00:10:44.108>way <00:10:44.263>do <00:10:44.419>you <00:10:44.574>think

199
00:10:44.995 --> 00:10:49.195
<00:10:44.995>of <00:10:45.135>is <00:10:45.275>the <00:10:45.415>in <00:10:45.555>set, <00:10:45.695>they'll <00:10:45.835>go <00:10:45.975>into <00:10:46.115>the <00:10:46.255>unlocking <00:10:46.395>script.

200
00:10:49.295 --> 00:10:53.455
<00:10:49.295>If <00:10:49.450>that <00:10:49.606>is <00:10:49.761>equals <00:10:49.917>to <00:10:50.072>the <00:10:50.228>sum <00:10:50.383>of <00:10:50.539>the <00:10:50.694>x,

201
00:10:54.055 --> 00:10:56.455
<00:10:54.055>y <00:10:54.210>you, <00:10:54.366>you <00:10:54.521>plug <00:10:54.677>in <00:10:54.832>earlier <00:10:54.988>in <00:10:55.143>the <00:10:55.299>locking <00:10:55.454>script,

202
00:10:56.765 --> 00:10:59.655
<00:10:56.765>then <00:10:56.965>you <00:10:57.165>will <00:10:57.365>unlock, <00:10:57.564>otherwise <00:10:57.765>it <00:10:57.965>will <00:10:58.165>fail.

203
00:11:00.235 --> 00:11:04.695
<00:11:00.235>So <00:11:00.375>next <00:11:00.515>let's <00:11:00.655>get <00:11:00.795>some, <00:11:00.935>uh, <00:11:01.075>practical <00:11:01.215>to <00:11:01.355>be <00:11:01.495>some <00:11:01.635>practical.

204
00:11:05.035 --> 00:11:08.895
<00:11:05.035>So <00:11:05.209>in <00:11:05.385>this <00:11:05.560>example, <00:11:05.735>I <00:11:05.910>will <00:11:06.084>show <00:11:06.260>our <00:11:06.435>IDs.

205
00:11:10.495 --> 00:11:15.455
<00:11:10.495>So <00:11:11.195>let's, <00:11:11.895>uh,

206
00:11:15.955 --> 00:11:17.855
<00:11:15.955>switch <00:11:16.305>to <00:11:16.655>the <00:11:17.005>VS <00:11:17.355>code.

207
00:11:18.515 --> 00:11:22.475
<00:11:18.515>So <00:11:18.715>we <00:11:18.915>have <00:11:19.115>released, <00:11:19.314>uh, <00:11:19.515>actually <00:11:19.715>two <00:11:19.915>IDs.

208
00:11:22.575 --> 00:11:25.235
<00:11:22.575>One <00:11:22.715>is, <00:11:22.855>uh, <00:11:22.995>the <00:11:23.135>desktop <00:11:23.275>version. <00:11:23.415>So <00:11:23.555>you <00:11:23.695>can <00:11:23.835>see <00:11:23.975>here.

209
00:11:26.245 --> 00:11:29.425
<00:11:26.245>So <00:11:26.400>for <00:11:26.556>people <00:11:26.711>who <00:11:26.867>are <00:11:27.022>not, <00:11:27.178>uh, <00:11:27.333>familiar <00:11:27.489>with <00:11:27.645>uh,

210
00:11:32.135 --> 00:11:34.395
<00:11:32.135>vs <00:11:32.310>code, <00:11:32.485>so <00:11:32.660>this <00:11:32.835>is <00:11:33.010>the <00:11:33.185>one <00:11:33.360>very <00:11:33.535>popular

211
00:11:35.255 --> 00:11:36.515
<00:11:35.255>id, <00:11:35.538>if <00:11:35.822>not <00:11:36.105>the <00:11:36.389>most.

212
00:11:36.815 --> 00:11:40.915
<00:11:36.815>So <00:11:36.955>basically <00:11:37.095>the <00:11:37.235>biggest <00:11:37.375>advantage <00:11:37.515>is <00:11:37.655>you <00:11:37.795>can <00:11:37.935>have, <00:11:38.075>uh, <00:11:38.215>you,

213
00:11:40.935 --> 00:11:43.475
<00:11:40.935>you <00:11:41.135>can <00:11:41.334>support <00:11:41.535>any <00:11:41.734>language <00:11:41.935>by <00:11:42.135>install <00:11:42.334>the,

214
00:11:44.065 --> 00:11:45.995
<00:11:44.065>this <00:11:44.765>corresponding <00:11:45.465>extensions.

215
00:11:46.135 --> 00:11:47.875
<00:11:46.135>For <00:11:46.415>example, <00:11:46.694>here, <00:11:46.975>in <00:11:47.255>this <00:11:47.535>case,

216
00:11:48.065 --> 00:11:51.195
<00:11:48.065>once <00:11:48.192>you <00:11:48.319>download <00:11:48.446>the <00:11:48.574>v <00:11:48.701>install <00:11:48.828>the <00:11:48.955>V <00:11:49.083>code, <00:11:49.210>you <00:11:49.337>can <00:11:49.465>go

217
00:11:51.195 --> 00:11:52.555
<00:11:51.195>to <00:11:51.603>extension <00:11:52.011>market <00:11:52.419>here.

218
00:11:53.185 --> 00:11:56.365
<00:11:53.185>And <00:11:53.324>if <00:11:53.464>easiest <00:11:53.604>way <00:11:53.744>to <00:11:53.885>support <00:11:54.025>as <00:11:54.165>script <00:11:54.305>is <00:11:54.444>just <00:11:54.584>search

219
00:11:56.425 --> 00:11:59.205
<00:11:56.425>as <00:11:56.580>script, <00:11:56.736>and <00:11:56.891>then <00:11:57.047>it <00:11:57.202>will <00:11:57.358>lead <00:11:57.513>you <00:11:57.669>to <00:11:57.824>our

220
00:12:00.345 --> 00:12:02.275
<00:12:00.345>extension <00:12:00.625>here, <00:12:00.905>which <00:12:01.185>you <00:12:01.465>can <00:12:01.745>see.

221
00:12:03.455 --> 00:12:06.675
<00:12:03.455>So <00:12:03.582>after <00:12:03.709>you <00:12:03.836>can, <00:12:03.964>you <00:12:04.091>can <00:12:04.218>click <00:12:04.345>one, <00:12:04.473>click <00:12:04.600>you <00:12:04.727>can <00:12:04.855>install,

222
00:12:06.815 --> 00:12:10.075
<00:12:06.815>and <00:12:07.515>then, <00:12:08.215>oh,

223
00:12:14.485 --> 00:12:19.285
<00:12:14.485>okay, <00:12:14.660>let <00:12:14.835>me, <00:12:15.010>sorry, <00:12:15.185>let <00:12:15.360>me, <00:12:15.535>I <00:12:15.710>think <00:12:15.885>that's,

224
00:12:19.285 --> 00:12:20.605
<00:12:19.285>uh, <00:12:19.879>switch <00:12:20.473>to,

225
00:12:28.665 --> 00:12:31.085
<00:12:28.665>Okay, <00:12:29.365>isn't <00:12:30.064>it?

226
00:12:31.225 --> 00:12:34.985
<00:12:31.225>Up <00:12:31.505>and <00:12:31.785>up. <00:12:32.065>Okay, <00:12:32.345>thank <00:12:32.625>you.

227
00:12:36.415 --> 00:12:39.315
<00:12:36.415>So <00:12:36.570>now <00:12:36.726>we <00:12:36.881>have, <00:12:37.037>uh, <00:12:37.192>seen <00:12:37.348>the <00:12:37.503>video <00:12:37.659>studio <00:12:37.814>code

228
00:12:39.315 --> 00:12:42.995
<00:12:39.315>and, <00:12:39.470>uh, <00:12:39.626>showed <00:12:39.781>you <00:12:39.937>the <00:12:40.092>steps <00:12:40.248>to <00:12:40.403>install <00:12:40.559>our <00:12:40.715>extension.

229
00:12:42.995 --> 00:12:46.355
<00:12:42.995>Basically, <00:12:43.170>you <00:12:43.345>search <00:12:43.520>as <00:12:43.695>script <00:12:43.870>in <00:12:44.045>the <00:12:44.220>extension <00:12:44.395>market,

230
00:12:46.695 --> 00:12:48.595
<00:12:46.695>and <00:12:47.045>then <00:12:47.395>you <00:12:47.745>click <00:12:48.095>install.

231
00:12:48.595 --> 00:12:51.475
<00:12:48.595>Then <00:12:48.735>that's, <00:12:48.875>that's <00:12:49.015>all <00:12:49.155>you <00:12:49.295>have <00:12:49.435>to <00:12:49.575>do <00:12:49.715>to <00:12:49.855>get <00:12:49.995>started.

232
00:12:52.525 --> 00:12:54.495
<00:12:52.525>Nothing <00:12:52.805>else, <00:12:53.084>just, <00:12:53.365>uh, <00:12:53.645>one <00:12:53.925>click.

233
00:12:54.555 --> 00:12:57.295
<00:12:54.555>And <00:12:54.682>you're, <00:12:54.809>you <00:12:54.936>are <00:12:55.064>about <00:12:55.191>to <00:12:55.318>enter <00:12:55.445>the <00:12:55.573>word <00:12:55.700>of <00:12:55.827>as <00:12:55.954>script.

234
00:12:57.795 --> 00:13:01.095
<00:12:57.795>So <00:12:57.995>I <00:12:58.194>previously <00:12:58.395>showed <00:12:58.594>the <00:12:58.795>hello <00:12:58.995>word, <00:12:59.194>uh,

235
00:13:01.445 --> 00:13:04.475
<00:13:01.445>demo <00:13:02.845>contract.

236
00:13:04.615 --> 00:13:06.475
<00:13:04.615>So <00:13:04.815>you <00:13:05.015>can <00:13:05.215>see <00:13:05.415>it <00:13:05.615>here <00:13:05.815>as <00:13:06.015>usual.

237
00:13:06.655 --> 00:13:10.835
<00:13:06.655>You <00:13:06.829>can <00:13:07.005>see <00:13:07.180>all <00:13:07.355>the <00:13:07.530>is <00:13:07.704>highlighted <00:13:07.880>is, <00:13:08.055>uh,

238
00:13:10.835 --> 00:13:14.555
<00:13:10.835>you <00:13:11.115>can <00:13:11.395>hover <00:13:11.675>up <00:13:11.955>hover <00:13:12.235>functions,

239
00:13:14.555 --> 00:13:17.235
<00:13:14.555>you <00:13:14.755>can <00:13:14.954>show <00:13:15.155>the <00:13:15.354>function <00:13:15.555>signatures, <00:13:15.755>input <00:13:15.954>output,

240
00:13:17.235 --> 00:13:18.955
<00:13:17.235>return <00:13:17.935>values, <00:13:18.635>type.

241
00:13:19.295 --> 00:13:22.395
<00:13:19.295>You <00:13:19.528>can <00:13:19.761>also <00:13:19.995>hover <00:13:20.228>upon, <00:13:20.461>uh, <00:13:20.694>variables.

242
00:13:22.575 --> 00:13:25.635
<00:13:22.575>It <00:13:22.750>will <00:13:22.925>show <00:13:23.100>you, <00:13:23.275>uh, <00:13:23.450>what <00:13:23.625>is <00:13:23.800>the <00:13:23.975>type.

243
00:13:25.775 --> 00:13:29.425
<00:13:25.775>You <00:13:25.975>can <00:13:26.175>also, <00:13:26.375>if <00:13:26.574>you <00:13:26.775>press, <00:13:26.975>uh, <00:13:27.175>control,

244
00:13:29.525 --> 00:13:32.945
<00:13:29.525>and <00:13:29.680>then <00:13:29.836>you <00:13:29.991>can <00:13:30.147>also <00:13:30.302>follow, <00:13:30.458>you <00:13:30.613>go <00:13:30.769>to <00:13:30.925>the,

245
00:13:32.945 --> 00:13:34.065
<00:13:32.945>this, <00:13:33.449>this <00:13:33.953>definition.

246
00:13:34.205 --> 00:13:36.585
<00:13:34.205>So <00:13:34.360>for <00:13:34.516>example, <00:13:34.671>here <00:13:34.827>you <00:13:34.982>have <00:13:35.138>X, <00:13:35.293>we <00:13:35.449>can <00:13:35.605>click

247
00:13:36.765 --> 00:13:38.145
<00:13:36.765>and <00:13:36.972>you <00:13:37.179>can <00:13:37.386>go <00:13:37.593>back <00:13:37.800>to <00:13:38.007>X.

248
00:13:39.045 --> 00:13:42.305
<00:13:39.045>And, <00:13:39.200>uh, <00:13:39.356>also <00:13:39.511>you <00:13:39.667>can, <00:13:39.822>as <00:13:39.978>you <00:13:40.133>type, <00:13:40.289>for <00:13:40.444>example,

249
00:13:42.505 --> 00:13:45.915
<00:13:42.505>I <00:13:42.680>show <00:13:42.855>some <00:13:43.030>example, <00:13:43.205>uh, <00:13:43.380>you <00:13:43.555>can, <00:13:43.730>you <00:13:43.905>can,

250
00:13:45.915 --> 00:13:49.375
<00:13:45.915>if <00:13:46.148>you <00:13:46.381>can <00:13:46.615>start <00:13:46.848>typing, <00:13:47.081>you <00:13:47.314>also

251
00:13:50.345 --> 00:13:54.395
<00:13:50.345>give <00:13:50.695>you <00:13:51.045>the, <00:13:51.395>the <00:13:51.745>order

252
00:13:54.395 --> 00:13:55.995
<00:13:54.395>completion, <00:13:54.745>uh, <00:13:55.095>features <00:13:55.444>as <00:13:55.795>well.

253
00:13:55.995 --> 00:13:59.475
<00:13:55.995>For <00:13:56.122>example, <00:13:56.249>here, <00:13:56.376>you <00:13:56.504>can <00:13:56.631>type <00:13:56.758>I, <00:13:56.885>you <00:13:57.013>can, <00:13:57.140>you <00:13:57.267>can <00:13:57.395>import,

254
00:13:59.575 --> 00:14:02.675
<00:13:59.575>you <00:13:59.702>can <00:13:59.829>type <00:13:59.956>if <00:14:00.084>you <00:14:00.211>can <00:14:00.338>type, <00:14:00.465>uh, <00:14:00.593>individual <00:14:00.720>type <00:14:00.847>as <00:14:00.975>well.

255
00:14:03.535 --> 00:14:05.835
<00:14:03.535>So <00:14:04.001>it <00:14:04.468>is <00:14:04.935>basically,

256
00:14:06.095 --> 00:14:08.675
<00:14:06.095>it <00:14:06.270>looks <00:14:06.445>like <00:14:06.620>any <00:14:06.795>other <00:14:06.970>standard <00:14:07.145>ID <00:14:07.320>this <00:14:07.495>days,

257
00:14:09.455 --> 00:14:13.915
<00:14:09.455>you <00:14:09.610>can <00:14:09.766>get <00:14:09.921>all <00:14:10.077>the <00:14:10.232>language <00:14:10.388>features <00:14:10.543>inside <00:14:10.699>this, <00:14:10.855>uh,

258
00:14:13.915 --> 00:14:16.675
<00:14:13.915>with <00:14:14.148>this <00:14:14.381>one <00:14:14.615>installation <00:14:14.848>of <00:14:15.081>the <00:14:15.314>SDK.

259
00:14:20.155 --> 00:14:24.495
<00:14:20.155>So <00:14:20.329>now <00:14:20.505>let <00:14:20.680>me <00:14:20.855>switch <00:14:21.030>back <00:14:21.204>to <00:14:21.380>the <00:14:21.555>slides.

260
00:14:27.065 --> 00:14:29.845
<00:14:27.065>Okay, <00:14:28.465>so

261
00:14:32.585 --> 00:14:34.565
<00:14:32.585>we, <00:14:32.935>besides <00:14:33.285>the <00:14:33.635>desktop <00:14:33.985>id,

262
00:14:34.585 --> 00:14:36.645
<00:14:34.585>we <00:14:34.818>also <00:14:35.051>have <00:14:35.285>the, <00:14:35.518>the <00:14:35.751>cloud <00:14:35.985>version.

263
00:14:36.755 --> 00:14:39.365
<00:14:36.755>Basically <00:14:36.955>this, <00:14:37.155>uh, <00:14:37.355>serve <00:14:37.555>as <00:14:37.755>a <00:14:37.955>different <00:14:38.155>purpose.

264
00:14:39.625 --> 00:14:42.645
<00:14:39.625>So <00:14:39.765>this <00:14:39.905>is <00:14:40.045>for <00:14:40.185>people <00:14:40.325>who <00:14:40.465>just <00:14:40.605>want <00:14:40.745>to, <00:14:40.885>you <00:14:41.025>know,

265
00:14:42.645 --> 00:14:45.525
<00:14:42.645>they <00:14:42.819>just <00:14:42.995>learn <00:14:43.170>about <00:14:43.345>the, <00:14:43.520>as <00:14:43.694>heard <00:14:43.870>about <00:14:44.045>sri,

266
00:14:45.555 --> 00:14:48.855
<00:14:45.555>they <00:14:45.710>just <00:14:45.866>want <00:14:46.021>to <00:14:46.177>stay, <00:14:46.332>just <00:14:46.488>start <00:14:46.643>play <00:14:46.799>with, <00:14:46.954>play

267
00:14:48.855 --> 00:14:51.405
<00:14:48.855>with <00:14:49.088>it <00:14:49.321>immediately <00:14:49.555>without <00:14:49.788>doing <00:14:50.021>anything <00:14:50.255>else.

268
00:14:51.715 --> 00:14:54.725
<00:14:51.715>Well, <00:14:51.855>so <00:14:51.995>if <00:14:52.135>you <00:14:52.275>want <00:14:52.415>just <00:14:52.555>to <00:14:52.695>try <00:14:52.835>it <00:14:52.975>out <00:14:53.115>simply,

269
00:14:55.305 --> 00:14:59.445
<00:14:55.305>so <00:14:55.432>we <00:14:55.559>have <00:14:55.686>this, <00:14:55.814>uh, <00:14:55.941>cloud <00:14:56.068>ID <00:14:56.195>called <00:14:56.323>the <00:14:56.450>As <00:14:56.577>script <00:14:56.704>studio.

270
00:14:59.745 --> 00:15:03.205
<00:14:59.745>So <00:14:59.885>you <00:15:00.025>can <00:15:00.165>click <00:15:00.305>and <00:15:00.445>go, <00:15:00.585>I <00:15:00.725>think, <00:15:00.865>let <00:15:01.005>me <00:15:01.145>briefly

271
00:15:03.875 --> 00:15:05.005
<00:15:03.875>show <00:15:04.078>you <00:15:04.281>to <00:15:04.485>here <00:15:04.688>as <00:15:04.892>well.

272
00:15:05.985 --> 00:15:10.475
<00:15:05.985>Uh, <00:15:06.265>okay, <00:15:06.545>so <00:15:06.825>show <00:15:07.105>demo <00:15:07.385>here,

273
00:15:10.815 --> 00:15:13.575
<00:15:10.815>uh, <00:15:11.165>show <00:15:11.515>the <00:15:11.865>web <00:15:12.215>browser.

274
00:15:15.425 --> 00:15:18.485
<00:15:15.425>So <00:15:15.599>here <00:15:15.775>we <00:15:15.949>can <00:15:16.125>go <00:15:16.300>to <00:15:16.474>s <00:15:16.650>script <00:15:16.824>studio.

275
00:15:18.825 --> 00:15:23.085
<00:15:18.825>So <00:15:18.941>this <00:15:19.058>also <00:15:19.175>is, <00:15:19.291>uh, <00:15:19.408>it's <00:15:19.525>almost <00:15:19.641>like <00:15:19.758>a <00:15:19.875>web <00:15:19.991>version <00:15:20.108>of <00:15:20.225>the,

276
00:15:23.345 --> 00:15:25.645
<00:15:23.345>the <00:15:23.545>previous, <00:15:23.745>uh, <00:15:23.945>visit <00:15:24.145>studio <00:15:24.345>id <00:15:24.545>I've <00:15:24.745>showed.

277
00:15:25.985 --> 00:15:30.565
<00:15:25.985>So <00:15:26.112>inside <00:15:26.239>here, <00:15:26.366>you <00:15:26.494>can <00:15:26.621>also <00:15:26.748>compile, <00:15:26.875>you <00:15:27.003>can <00:15:27.130>also <00:15:27.257>run <00:15:27.385>it,

278
00:15:31.375 --> 00:15:35.075
<00:15:31.375>and <00:15:31.515>you, <00:15:31.655>you <00:15:31.795>can <00:15:31.935>also, <00:15:32.075>there's <00:15:32.215>also <00:15:32.355>a <00:15:32.495>very <00:15:32.635>nice, <00:15:32.775>uh,

279
00:15:35.075 --> 00:15:37.155
<00:15:35.075>visual <00:15:35.775>debugger <00:15:36.475>building.

280
00:15:37.535 --> 00:15:39.555
<00:15:37.535>So <00:15:37.735>you <00:15:37.935>can, <00:15:38.135>you <00:15:38.334>can <00:15:38.535>step <00:15:38.735>through <00:15:38.935>code,

281
00:15:39.735 --> 00:15:41.475
<00:15:39.735>you <00:15:40.015>can <00:15:40.295>set, <00:15:40.575>uh, <00:15:40.855>break <00:15:41.135>points.

282
00:15:41.775 --> 00:15:44.235
<00:15:41.775>So <00:15:41.949>for <00:15:42.125>example, <00:15:42.300>if <00:15:42.475>I <00:15:42.650>can <00:15:42.824>go <00:15:43.000>next <00:15:43.175>step,

283
00:15:44.465 --> 00:15:46.275
<00:15:44.465>okay, <00:15:44.815>I <00:15:45.165>can <00:15:45.515>also <00:15:45.865>debug.

284
00:15:46.995 --> 00:15:50.435
<00:15:46.995>I, <00:15:47.111>I <00:15:47.228>can <00:15:47.345>run <00:15:47.461>through <00:15:47.578>different, <00:15:47.695>uh, <00:15:47.811>you <00:15:47.928>can <00:15:48.045>see <00:15:48.161>the <00:15:48.278>op <00:15:48.395>codes

285
00:15:50.815 --> 00:15:53.275
<00:15:50.815>and <00:15:50.970>it <00:15:51.126>also, <00:15:51.281>you <00:15:51.437>can <00:15:51.592>see <00:15:51.748>how <00:15:51.903>the <00:15:52.059>stacks <00:15:52.215>change.

286
00:15:54.155 --> 00:15:56.615
<00:15:54.155>So <00:15:54.310>a <00:15:54.466>another <00:15:54.621>thing <00:15:54.777>I <00:15:54.932>want <00:15:55.088>to <00:15:55.243>mention <00:15:55.399>is, <00:15:55.555>so

287
00:15:56.645 --> 00:15:59.535
<00:15:56.645>besides <00:15:56.819>s <00:15:56.995>script, <00:15:57.170>you <00:15:57.345>can <00:15:57.520>also <00:15:57.694>run <00:15:57.870>native <00:15:58.045>script.

288
00:16:00.035 --> 00:16:02.015
<00:16:00.035>So <00:16:00.190>you <00:16:00.346>don't <00:16:00.501>have <00:16:00.657>to <00:16:00.812>write <00:16:00.968>s <00:16:01.123>script <00:16:01.279>code <00:16:01.435>here.

289
00:16:02.315 --> 00:16:04.375
<00:16:02.315>If <00:16:02.548>you <00:16:02.781>want <00:16:03.015>to <00:16:03.248>debug <00:16:03.481>native <00:16:03.715>script,

290
00:16:04.475 --> 00:16:05.735
<00:16:04.475>you <00:16:04.701>can <00:16:04.928>also <00:16:05.155>type <00:16:05.382>in <00:16:05.609>here.

291
00:16:06.235 --> 00:16:08.135
<00:16:06.235>And <00:16:06.410>this <00:16:06.585>give <00:16:06.760>you <00:16:06.935>a <00:16:07.110>very <00:16:07.285>good <00:16:07.460>tool <00:16:07.635>to,

292
00:16:09.505 --> 00:16:11.565
<00:16:09.505>to <00:16:09.705>debug <00:16:09.905>your <00:16:10.105>native <00:16:10.305>script <00:16:10.505>if <00:16:10.705>you <00:16:10.905>want.

293
00:16:13.785 --> 00:16:18.755
<00:16:13.785>So <00:16:13.925>after <00:16:14.064>I <00:16:14.204>show <00:16:14.344>you <00:16:14.485>how <00:16:14.625>you, <00:16:14.765>how <00:16:14.905>you <00:16:15.045>can <00:16:15.185>write

294
00:16:19.425 --> 00:16:23.035
<00:16:19.425>some <00:16:19.564>contract <00:16:19.704>and <00:16:19.844>based <00:16:19.984>of <00:16:20.125>the, <00:16:20.265>some <00:16:20.405>of <00:16:20.545>the <00:16:20.685>basic <00:16:20.824>syntax.

295
00:16:23.415 --> 00:16:26.075
<00:16:23.415>So <00:16:23.694>let's <00:16:23.974>get, <00:16:24.255>uh, <00:16:24.535>some, <00:16:24.814>what's,

296
00:16:26.075 --> 00:16:28.395
<00:16:26.075>what's <00:16:26.355>next <00:16:26.635>usually <00:16:26.915>in <00:16:27.195>a <00:16:27.475>standard

297
00:16:29.435 --> 00:16:31.395
<00:16:29.435>software <00:16:29.901>development <00:16:30.368>workflow <00:16:30.834>is

298
00:16:31.395 --> 00:16:33.355
<00:16:31.395>to <00:16:31.569>you <00:16:31.745>right <00:16:31.920>now <00:16:32.095>you <00:16:32.270>have <00:16:32.444>a <00:16:32.620>contract, <00:16:32.795>right?

299
00:16:33.735 --> 00:16:36.115
<00:16:33.735>You <00:16:33.910>are, <00:16:34.085>you <00:16:34.260>are <00:16:34.435>playing <00:16:34.610>with <00:16:34.785>real <00:16:34.960>money <00:16:35.135>here.

300
00:16:36.295 --> 00:16:37.915
<00:16:36.295>So <00:16:36.528>you <00:16:36.761>want <00:16:36.995>to <00:16:37.228>be <00:16:37.461>very <00:16:37.694>confident

301
00:16:38.015 --> 00:16:40.675
<00:16:38.015>before <00:16:38.248>you <00:16:38.481>actually <00:16:38.715>deploy <00:16:38.948>this <00:16:39.181>on <00:16:39.415>chain.

302
00:16:40.775 --> 00:16:43.715
<00:16:40.775>So <00:16:40.891>what <00:16:41.008>do <00:16:41.125>you <00:16:41.241>usually <00:16:41.358>do? <00:16:41.475>You <00:16:41.591>write <00:16:41.708>a <00:16:41.824>lot <00:16:41.941>of <00:16:42.058>tests, <00:16:42.175>right?

303
00:16:44.495 --> 00:16:48.755
<00:16:44.495>But <00:16:44.670>if <00:16:44.845>you <00:16:45.020>just <00:16:45.195>use <00:16:45.370>native <00:16:45.545>script, <00:16:45.720>is, <00:16:45.895>is,

304
00:16:48.905 --> 00:16:49.955
<00:16:48.905>yeah, <00:16:49.141>you <00:16:49.377>can <00:16:49.613>do <00:16:49.850>it.

305
00:16:50.115 --> 00:16:51.755
<00:16:50.115>I <00:16:50.315>mean, <00:16:50.515>maybe <00:16:50.715>with <00:16:50.915>some <00:16:51.115>of <00:16:51.315>the <00:16:51.515>tools,

306
00:16:51.915 --> 00:16:55.155
<00:16:51.915>I <00:16:52.089>think <00:16:52.265>the <00:16:52.439>Steve <00:16:52.615>shared, <00:16:52.790>shared <00:16:52.964>showed <00:16:53.140>one <00:16:53.314>way

307
00:16:55.415 --> 00:16:58.235
<00:16:55.415>how <00:16:55.615>you <00:16:55.814>can <00:16:56.015>play <00:16:56.214>with <00:16:56.415>it <00:16:56.615>yesterday <00:16:56.814>and,

308
00:16:58.375 --> 00:17:02.795
<00:16:58.375>but, <00:16:58.550>uh, <00:16:58.725>it <00:16:58.900>is <00:16:59.075>not <00:16:59.250>that <00:16:59.425>standard <00:16:59.600>to <00:16:59.775>whatever

309
00:17:03.415 --> 00:17:06.755
<00:17:03.415>we <00:17:03.648>developers <00:17:03.881>us <00:17:04.115>usually <00:17:04.348>used <00:17:04.581>in <00:17:04.815>our

310
00:17:06.755 --> 00:17:08.155
<00:17:06.755>daily, <00:17:07.175>daily <00:17:07.595>life, <00:17:08.014>right?

311
00:17:08.575 --> 00:17:12.235
<00:17:08.575>So <00:17:08.715>for <00:17:08.855>that <00:17:08.995>to <00:17:09.135>happen, <00:17:09.275>we <00:17:09.415>also <00:17:09.555>build <00:17:09.694>a <00:17:09.835>testing <00:17:09.975>framework.

312
00:17:12.815 --> 00:17:14.515
<00:17:12.815>So <00:17:13.515>in <00:17:14.215>JavaScript.

313
00:17:15.055 --> 00:17:17.715
<00:17:15.055>So <00:17:15.182>if <00:17:15.309>you <00:17:15.436>are <00:17:15.564>familiar <00:17:15.691>with <00:17:15.818>JavaScript, <00:17:15.945>uh, <00:17:16.073>there <00:17:16.200>are <00:17:16.327>a <00:17:16.455>lot

314
00:17:17.715 --> 00:17:18.715
<00:17:17.714>of <00:17:18.014>the <00:17:18.314>testing <00:17:18.615>framework.

315
00:17:19.455 --> 00:17:21.955
<00:17:19.454>So <00:17:19.629>the <00:17:19.804>good <00:17:19.980>thing <00:17:20.155>about <00:17:20.329>us <00:17:20.504>is <00:17:20.679>for <00:17:20.855>this,

316
00:17:22.135 --> 00:17:23.675
<00:17:22.135>for <00:17:22.597>our <00:17:23.059>testing <00:17:23.521>framework,

317
00:17:24.175 --> 00:17:26.715
<00:17:24.175>you <00:17:24.375>can <00:17:24.575>use <00:17:24.774>any <00:17:24.974>underlying <00:17:25.175>framework <00:17:25.375>you <00:17:25.575>like.

318
00:17:26.855 --> 00:17:31.115
<00:17:26.855>For <00:17:26.995>example, <00:17:27.135>you <00:17:27.275>can <00:17:27.415>use <00:17:27.555>J <00:17:27.694>you <00:17:27.835>can <00:17:27.974>use, <00:17:28.115>uh, <00:17:28.255>mocha,

319
00:17:31.585 --> 00:17:32.675
<00:17:31.585>some <00:17:31.912>people <00:17:32.239>use <00:17:32.566>try.

320
00:17:33.175 --> 00:17:36.395
<00:17:33.175>And <00:17:33.315>in <00:17:33.455>this <00:17:33.595>example <00:17:33.735>we <00:17:33.875>just <00:17:34.014>using <00:17:34.155>Mocha <00:17:34.294>as <00:17:34.435>an <00:17:34.575>example.

321
00:17:37.625 --> 00:17:41.525
<00:17:37.625>So <00:17:37.780>let <00:17:37.936>me <00:17:38.091>demonstrate <00:17:38.247>how <00:17:38.402>it <00:17:38.558>works <00:17:38.713>in <00:17:38.869>this <00:17:39.025>case.

322
00:17:43.845 --> 00:17:45.465
<00:17:43.845>So <00:17:44.125>let's <00:17:44.405>go <00:17:44.685>back <00:17:44.965>to <00:17:45.245>the,

323
00:17:47.875 --> 00:17:49.290
<00:17:47.875>to <00:17:48.193>the <00:17:48.511>Visa <00:17:48.830>studio <00:17:49.148>code.

324
00:17:49.515 --> 00:17:52.925
<00:17:49.515>Okay? <00:17:49.670>Again, <00:17:49.826>here <00:17:49.981>we <00:17:50.137>have <00:17:50.292>the, <00:17:50.448>previously <00:17:50.603>we <00:17:50.759>have <00:17:50.915>the

325
00:17:54.465 --> 00:17:56.075
<00:17:54.465>demo <00:17:55.865>code.

326
00:17:56.655 --> 00:18:01.515
<00:17:56.655>So <00:17:56.782>on <00:17:56.909>the <00:17:57.036>right <00:17:57.164>hand <00:17:57.291>side, <00:17:57.418>I <00:17:57.545>also <00:17:57.673>show <00:17:57.800>let <00:17:57.927>merge <00:17:58.055>this.

327
00:18:01.575 --> 00:18:04.945
<00:18:01.575>So <00:18:01.925>you <00:18:02.275>can <00:18:02.625>see, <00:18:02.975>so

328
00:18:07.785 --> 00:18:11.845
<00:18:07.785>for <00:18:07.925>example, <00:18:08.065>here <00:18:08.205>in <00:18:08.345>this <00:18:08.485>demo, <00:18:08.625>do <00:18:08.765>s <00:18:08.905>script <00:18:09.045>test <00:18:09.185>J

329
00:18:12.505 --> 00:18:16.035
<00:18:12.505>we <00:18:12.738>test <00:18:12.971>this <00:18:13.205>JavaScript <00:18:13.438>in <00:18:13.671>JavaScript <00:18:13.905>code.

330
00:18:16.415 --> 00:18:20.155
<00:18:16.415>So <00:18:16.590>you <00:18:16.764>can <00:18:16.940>notice <00:18:17.115>this, <00:18:17.290>we <00:18:17.465>have <00:18:17.639>this, <00:18:17.815>uh,

331
00:18:20.725 --> 00:18:24.315
<00:18:20.725>write <00:18:20.899>this <00:18:21.074>SDK <00:18:21.250>tool <00:18:21.425>called <00:18:21.600>the <00:18:21.774>built <00:18:21.949>contract <00:18:22.125>class.

332
00:18:24.655 --> 00:18:26.955
<00:18:24.655>So <00:18:24.855>basically <00:18:25.055>you <00:18:25.254>tell <00:18:25.455>which <00:18:25.655>contract <00:18:25.855>it <00:18:26.055>is,

333
00:18:27.535 --> 00:18:30.995
<00:18:27.535>and <00:18:27.735>then <00:18:27.935>it <00:18:28.135>will <00:18:28.335>be <00:18:28.535>translated <00:18:28.735>all <00:18:28.935>in,

334
00:18:31.015 --> 00:18:34.195
<00:18:31.015>in <00:18:31.190>summary <00:18:31.365>language <00:18:31.540>called, <00:18:31.715>uh, <00:18:31.890>reflected <00:18:32.065>into <00:18:32.240>a <00:18:32.415>native

335
00:18:36.565 --> 00:18:37.795
<00:18:36.565>JavaScript, <00:18:37.118>uh, <00:18:37.672>class.

336
00:18:38.575 --> 00:18:42.275
<00:18:38.575>So <00:18:38.750>once <00:18:38.925>it's, <00:18:39.100>uh, <00:18:39.275>reflected <00:18:39.450>in <00:18:39.625>the <00:18:39.800>JavaScript <00:18:39.975>class,

337
00:18:42.455 --> 00:18:45.955
<00:18:42.455>you <00:18:42.595>can <00:18:42.735>use <00:18:42.875>it <00:18:43.014>at <00:18:43.155>any, <00:18:43.294>any <00:18:43.435>other <00:18:43.574>JavaScript, <00:18:43.715>uh, <00:18:43.855>class

338
00:18:46.535 --> 00:18:48.755
<00:18:46.535>you <00:18:46.735>can, <00:18:46.935>you <00:18:47.135>can <00:18:47.335>use <00:18:47.535>it, <00:18:47.735>you <00:18:47.935>know,

339
00:18:49.025 --> 00:18:50.595
<00:18:49.025>this <00:18:49.491>is <00:18:49.958>essentially <00:18:50.425>translate

340
00:18:50.595 --> 00:18:52.275
<00:18:50.595>to <00:18:50.945>calling <00:18:51.295>the <00:18:51.645>constructor <00:18:51.995>here.

341
00:18:52.495 --> 00:18:54.915
<00:18:52.495>So <00:18:52.650>for <00:18:52.806>example, <00:18:52.961>here, <00:18:53.117>new <00:18:53.272>I <00:18:53.428>give <00:18:53.583>a <00:18:53.739>seven <00:18:53.895>four.

342
00:18:55.695 --> 00:19:00.355
<00:18:55.695>And <00:18:55.835>again, <00:18:55.975>then <00:18:56.115>you <00:18:56.254>can <00:18:56.395>write <00:18:56.534>a, <00:18:56.675>a, <00:18:56.814>uh, <00:18:56.955>expectations <00:18:57.095>or,

343
00:19:00.415 --> 00:19:02.515
<00:19:00.415>or <00:19:00.695>assertions <00:19:00.975>on <00:19:01.254>top <00:19:01.534>of <00:19:01.815>this.

344
00:19:02.575 --> 00:19:03.875
<00:19:02.575>So <00:19:02.867>in, <00:19:03.160>in <00:19:03.452>this <00:19:03.745>example,

345
00:19:03.875 --> 00:19:05.355
<00:19:03.875>because <00:19:04.208>I'm <00:19:04.541>using <00:19:04.874>Chai <00:19:05.207>here,

346
00:19:05.735 --> 00:19:08.595
<00:19:05.735>so <00:19:05.909>you <00:19:06.084>can <00:19:06.260>see <00:19:06.435>I'm <00:19:06.610>calling <00:19:06.784>the <00:19:06.959>add <00:19:07.135>function,

347
00:19:08.935 --> 00:19:12.515
<00:19:08.935>the <00:19:09.051>public <00:19:09.168>function, <00:19:09.284>I <00:19:09.401>can <00:19:09.518>call <00:19:09.635>it, <00:19:09.751>I <00:19:09.868>can <00:19:09.985>give <00:19:10.101>it, <00:19:10.218>uh, <00:19:10.335>two

348
00:19:13.135 --> 00:19:14.475
<00:19:13.135>for <00:19:13.436>for <00:19:13.738>example <00:19:14.039>here, <00:19:14.341>right?

349
00:19:14.855 --> 00:19:16.075
<00:19:14.855>So <00:19:15.129>I <00:19:15.404>can <00:19:15.678>run <00:19:15.953>it.

350
00:19:17.115 --> 00:19:20.855
<00:19:17.115>So <00:19:17.255>here, <00:19:17.395>I <00:19:17.535>can <00:19:17.675>just <00:19:17.815>try <00:19:17.955>it <00:19:18.095>on <00:19:18.235>let's <00:19:18.375>click <00:19:18.515>run.

351
00:19:20.995 --> 00:19:24.495
<00:19:20.995>Oh, <00:19:21.195>this <00:19:21.395>also <00:19:21.594>I <00:19:21.794>run, <00:19:21.995>I <00:19:22.195>installed <00:19:22.395>another,

352
00:19:25.805 --> 00:19:28.675
<00:19:25.805>uh, <00:19:26.505>multi <00:19:27.205>plugin

353
00:19:28.705 --> 00:19:31.435
<00:19:28.705>that <00:19:28.905>lets <00:19:29.105>me <00:19:29.304>just <00:19:29.504>run <00:19:29.705>directly <00:19:29.905>from <00:19:30.105>here.

354
00:19:31.915 --> 00:19:34.675
<00:19:31.915>I <00:19:32.022>can <00:19:32.130>show <00:19:32.238>you <00:19:32.345>ways <00:19:32.453>to <00:19:32.561>how <00:19:32.668>you <00:19:32.776>run <00:19:32.884>if <00:19:32.991>you <00:19:33.099>don't <00:19:33.207>have <00:19:33.315>this,

355
00:19:34.695 --> 00:19:37.695
<00:19:34.695>uh, <00:19:35.161>uh, <00:19:35.628>uh, <00:19:36.095>extension.

356
00:19:37.835 --> 00:19:41.255
<00:19:37.835>So <00:19:37.975>of <00:19:38.115>course <00:19:38.255>here <00:19:38.395>you <00:19:38.535>can <00:19:38.675>see, <00:19:38.815>because <00:19:38.955>I <00:19:39.095>use <00:19:39.235>seven

357
00:19:41.355 --> 00:19:42.775
<00:19:41.355>and <00:19:41.674>four <00:19:41.994>to <00:19:42.313>initialize <00:19:42.633>this,

358
00:19:43.315 --> 00:19:46.455
<00:19:43.315>and <00:19:43.490>add <00:19:43.665>is <00:19:43.840>pretty <00:19:44.015>much, <00:19:44.190>uh, <00:19:44.365>doing <00:19:44.540>the <00:19:44.715>sum.

359
00:19:46.555 --> 00:19:49.255
<00:19:46.555>So <00:19:46.695>if <00:19:46.835>I <00:19:46.975>give <00:19:47.115>it <00:19:47.255>a <00:19:47.395>sum, <00:19:47.535>it <00:19:47.675>will <00:19:47.815>be <00:19:47.955>true.

360
00:19:49.835 --> 00:19:53.165
<00:19:49.835>So <00:19:49.990>what <00:19:50.146>if <00:19:50.301>I <00:19:50.457>give <00:19:50.612>it, <00:19:50.768>uh, <00:19:50.923>a <00:19:51.079>wrong <00:19:51.235>number?

361
00:19:54.015 --> 00:19:56.515
<00:19:54.015>We <00:19:54.190>expect, <00:19:54.365>right? <00:19:54.540>We <00:19:54.715>expect <00:19:54.890>it <00:19:55.065>to, <00:19:55.240>to <00:19:55.415>fail.

362
00:19:56.855 --> 00:19:59.435
<00:19:56.855>In <00:19:56.995>this <00:19:57.135>case, <00:19:57.275>we <00:19:57.415>can <00:19:57.555>run <00:19:57.695>here, <00:19:57.835>we <00:19:57.975>can <00:19:58.115>quickly <00:19:58.255>run.

363
00:20:01.045 --> 00:20:02.215
<00:20:01.045>Okay, <00:20:01.308>now <00:20:01.571>it's <00:20:01.834>good, <00:20:02.098>right?

364
00:20:02.395 --> 00:20:04.895
<00:20:02.395>So <00:20:02.628>this <00:20:02.861>basically <00:20:03.095>lets <00:20:03.328>you <00:20:03.561>to <00:20:03.795>write

365
00:20:06.105 --> 00:20:07.645
<00:20:06.105>the <00:20:06.451>Bitcoin <00:20:06.798>smart <00:20:07.144>contracts <00:20:07.491>as,

366
00:20:07.705 --> 00:20:11.125
<00:20:07.705>as <00:20:07.845>you <00:20:07.985>write <00:20:08.125>any <00:20:08.264>other <00:20:08.405>like <00:20:08.544>modern <00:20:08.685>languages, <00:20:08.824>like <00:20:08.965>a <00:20:09.105>Python

367
00:20:11.385 --> 00:20:14.005
<00:20:11.385>or, <00:20:11.618>or <00:20:11.851>Java <00:20:12.085>script <00:20:12.318>or <00:20:12.551>a <00:20:12.785>Java,

368
00:20:14.425 --> 00:20:18.645
<00:20:14.425>and <00:20:14.565>this <00:20:14.705>very <00:20:14.845>nice <00:20:14.985>little <00:20:15.125>tool <00:20:15.264>we <00:20:15.405>built, <00:20:15.544>you <00:20:15.685>can <00:20:15.825>have,

369
00:20:18.705 --> 00:20:21.205
<00:20:18.705>you <00:20:18.879>can <00:20:19.054>let <00:20:19.230>you <00:20:19.405>quickly, <00:20:19.580>very <00:20:19.754>quickly <00:20:19.929>you <00:20:20.105>test

370
00:20:21.435 --> 00:20:23.245
<00:20:21.435>your <00:20:22.835>contracts.

371
00:20:23.835 --> 00:20:28.205
<00:20:23.835>Very <00:20:23.975>easy. <00:20:24.115>So <00:20:24.255>as <00:20:24.395>I <00:20:24.535>mentioned, <00:20:24.675>if <00:20:24.815>there's <00:20:24.955>one <00:20:25.095>way <00:20:25.235>to

372
00:20:29.025 --> 00:20:33.285
<00:20:29.025>is <00:20:29.200>to <00:20:29.375>install <00:20:29.550>this <00:20:29.725>extension <00:20:29.900>in <00:20:30.075>Test <00:20:30.250>Runner <00:20:30.425>basically

373
00:20:33.965 --> 00:20:35.425
<00:20:33.965>is <00:20:34.293>a <00:20:34.621>test <00:20:34.950>test <00:20:35.279>runner.

374
00:20:35.485 --> 00:20:37.225
<00:20:35.485>You <00:20:35.640>can <00:20:35.796>run <00:20:35.951>here, <00:20:36.107>you <00:20:36.262>can <00:20:36.418>see <00:20:36.573>all <00:20:36.729>the <00:20:36.885>tests,

375
00:20:37.525 --> 00:20:39.665
<00:20:37.525>you <00:20:37.725>can <00:20:37.925>run <00:20:38.125>them <00:20:38.325>individually <00:20:38.525>or <00:20:38.725>by <00:20:38.925>group.

376
00:20:39.735 --> 00:20:43.985
<00:20:39.735>Another <00:20:39.935>way, <00:20:40.135>if <00:20:40.334>you <00:20:40.534>don't <00:20:40.735>install <00:20:40.935>another <00:20:41.135>extension,

377
00:20:44.005 --> 00:20:46.305
<00:20:44.005>you <00:20:44.205>the <00:20:44.405>easiest <00:20:44.605>way <00:20:44.805>would <00:20:45.005>also <00:20:45.205>right <00:20:45.405>click

378
00:20:46.845 --> 00:20:49.245
<00:20:46.845>and <00:20:47.125>say, <00:20:47.405>run <00:20:47.685>a <00:20:47.965>script <00:20:48.245>test.

379
00:20:50.135 --> 00:20:52.555
<00:20:50.135>So <00:20:50.368>we <00:20:50.601>are <00:20:50.835>running <00:20:51.068>this <00:20:51.301>demo, <00:20:51.535>okay?

380
00:20:52.815 --> 00:20:57.135
<00:20:52.815>Now <00:20:52.970>also <00:20:53.126>you <00:20:53.281>can <00:20:53.437>see <00:20:53.592>this <00:20:53.748>runs <00:20:53.903>all <00:20:54.059>good, <00:20:54.215>right?

381
00:20:57.995 --> 00:21:02.835
<00:20:57.995>So <00:20:58.169>once <00:20:58.344>you <00:20:58.520>have <00:20:58.695>a <00:20:58.870>right <00:20:59.044>start <00:20:59.219>writing <00:20:59.395>test,

382
00:21:03.185 --> 00:21:06.995
<00:21:03.185>what <00:21:03.325>you <00:21:03.465>should <00:21:03.605>happens, <00:21:03.745>you <00:21:03.885>are <00:21:04.024>not, <00:21:04.165>dunno <00:21:04.304>about <00:21:04.445>you, <00:21:04.585>but,

383
00:21:06.995 --> 00:21:10.395
<00:21:06.995>but, <00:21:07.150>uh, <00:21:07.306>when <00:21:07.461>I <00:21:07.617>write <00:21:07.772>text, <00:21:07.928>it <00:21:08.083>usually <00:21:08.239>doesn't <00:21:08.395>work

384
00:21:11.125 --> 00:21:12.145
<00:21:11.125>for <00:21:11.431>first <00:21:11.737>time, <00:21:12.043>right?

385
00:21:12.325 --> 00:21:15.945
<00:21:12.325>So <00:21:12.465>for <00:21:12.605>example, <00:21:12.745>what <00:21:12.885>if, <00:21:13.025>uh, <00:21:13.165>there's <00:21:13.305>some <00:21:13.445>bug <00:21:13.585>in <00:21:13.725>my,

386
00:21:16.815 --> 00:21:18.755
<00:21:16.815>in <00:21:17.281>my <00:21:17.748>demo <00:21:18.215>contract.

387
00:21:19.295 --> 00:21:23.435
<00:21:19.295>So <00:21:19.435>if <00:21:19.575>I <00:21:19.715>put <00:21:19.855>a <00:21:19.995>wrong <00:21:20.135>number, <00:21:20.275>let's <00:21:20.415>say <00:21:20.555>if <00:21:20.695>instead

388
00:21:23.435 --> 00:21:28.395
<00:21:23.435>of <00:21:23.534>a <00:21:23.635>putting <00:21:23.735>11, <00:21:23.835>you <00:21:23.935>can <00:21:24.034>imagine <00:21:24.135>if <00:21:24.235>I, <00:21:24.335>if <00:21:24.435>I <00:21:24.534>put <00:21:24.635>a <00:21:24.735>10, <00:21:24.835>right?

389
00:21:28.735 --> 00:21:32.195
<00:21:28.735>In <00:21:28.935>this <00:21:29.135>case, <00:21:29.334>what <00:21:29.534>do <00:21:29.735>you <00:21:29.935>expect <00:21:30.135>it,

390
00:21:32.375 --> 00:21:33.675
<00:21:32.375>expect <00:21:32.667>it <00:21:32.960>to <00:21:33.252>fail, <00:21:33.545>right?

391
00:21:33.685 --> 00:21:35.235
<00:21:33.685>Let's <00:21:34.149>range <00:21:34.615>quickly <00:21:35.080>here.

392
00:21:36.825 --> 00:21:38.525
<00:21:36.825>Oh, <00:21:37.105>okay, <00:21:37.385>now <00:21:37.665>it <00:21:37.945>says <00:21:38.225>fail

393
00:21:38.525 --> 00:21:42.515
<00:21:38.525>because <00:21:38.700>seven <00:21:38.875>plus <00:21:39.050>four <00:21:39.225>is <00:21:39.400>not <00:21:39.575>equal <00:21:39.750>to <00:21:39.925>10.

394
00:21:43.135 --> 00:21:46.075
<00:21:43.135>So <00:21:43.415>what <00:21:43.695>we <00:21:43.975>need <00:21:44.254>here <00:21:44.535>is

395
00:21:46.705 --> 00:21:50.315
<00:21:46.705>besides <00:21:46.879>testing <00:21:47.054>from, <00:21:47.230>also <00:21:47.405>I <00:21:47.580>need <00:21:47.754>a <00:21:47.929>debugger, <00:21:48.105>right?

396
00:21:50.855 --> 00:21:54.035
<00:21:50.855>So <00:21:51.010>let <00:21:51.166>me <00:21:51.321>show <00:21:51.477>you <00:21:51.632>how <00:21:51.788>to <00:21:51.943>run <00:21:52.099>this <00:21:52.255>here.

397
00:21:55.055 --> 00:21:56.235
<00:21:55.055>So <00:21:55.586>for <00:21:56.117>this,

398
00:21:56.235 --> 00:22:00.355
<00:21:56.235>because <00:21:56.390>I <00:21:56.546>want <00:21:56.701>to <00:21:56.857>use <00:21:57.012>a <00:21:57.168>more <00:21:57.323>complex, <00:21:57.479>more <00:21:57.635>practical

399
00:22:01.555 --> 00:22:04.435
<00:22:01.555>contract <00:22:01.730>to <00:22:01.905>show <00:22:02.080>you <00:22:02.255>this, <00:22:02.430>I, <00:22:02.605>I <00:22:02.780>choose, <00:22:02.955>uh,

400
00:22:04.435 --> 00:22:06.795
<00:22:04.435>there's <00:22:04.715>another <00:22:04.995>contract <00:22:05.274>called <00:22:05.554>we <00:22:05.835>have

401
00:22:08.135 --> 00:22:10.995
<00:22:08.135>in <00:22:08.335>our <00:22:08.535>SDK <00:22:08.735>we <00:22:08.935>release <00:22:09.135>called <00:22:09.335>a <00:22:09.535>er.

402
00:22:11.535 --> 00:22:14.355
<00:22:11.535>So <00:22:11.675>basically <00:22:11.815>this <00:22:11.955>is <00:22:12.095>more <00:22:12.235>complex <00:22:12.375>than <00:22:12.515>the <00:22:12.655>the <00:22:12.795>previous <00:22:12.935>one.

403
00:22:14.375 --> 00:22:17.515
<00:22:14.375>So <00:22:14.530>I <00:22:14.686>want <00:22:14.841>to <00:22:14.997>briefly <00:22:15.152>demonstrate <00:22:15.308>how <00:22:15.463>you <00:22:15.619>use <00:22:15.775>this.

404
00:22:18.095 --> 00:22:20.995
<00:22:18.095>So <00:22:18.295>again, <00:22:18.495>using <00:22:18.695>this <00:22:18.895>is <00:22:19.095>a <00:22:19.295>standard, <00:22:19.495>uh,

405
00:22:20.995 --> 00:22:22.715
<00:22:20.995>visual <00:22:21.695>studio <00:22:22.395>workflow.

406
00:22:22.855 --> 00:22:24.735
<00:22:22.855>You <00:22:23.321>go <00:22:23.788>to <00:22:24.255>debug,

407
00:22:25.795 --> 00:22:29.055
<00:22:25.795>and <00:22:25.970>then <00:22:26.145>in <00:22:26.320>the <00:22:26.495>dropdown <00:22:26.670>you <00:22:26.845>can <00:22:27.020>config <00:22:27.195>which,

408
00:22:30.275 --> 00:22:32.505
<00:22:30.275>which <00:22:30.555>contract <00:22:30.835>you <00:22:31.115>want <00:22:31.395>to <00:22:31.675>debug.

409
00:22:32.925 --> 00:22:36.665
<00:22:32.925>And <00:22:33.041>for <00:22:33.158>this <00:22:33.274>to <00:22:33.391>work, <00:22:33.508>you <00:22:33.625>also <00:22:33.741>need <00:22:33.858>to, <00:22:33.975>I <00:22:34.091>think <00:22:34.208>this <00:22:34.325>is,

410
00:22:36.665 --> 00:22:39.145
<00:22:36.665>this <00:22:36.898>is <00:22:37.131>all <00:22:37.365>standard, <00:22:37.598>uh, <00:22:37.831>which <00:22:38.065>studio,

411
00:22:39.175 --> 00:22:42.705
<00:22:39.175>this <00:22:39.350>is <00:22:39.524>not <00:22:39.700>just <00:22:39.875>specific <00:22:40.050>to <00:22:40.225>s <00:22:40.399>script <00:22:40.575>testing.

412
00:22:43.405 --> 00:22:47.585
<00:22:43.405>So <00:22:43.605>in <00:22:43.805>V <00:22:44.004>code <00:22:44.205>you <00:22:44.405>can <00:22:44.605>config <00:22:44.805>your

413
00:22:48.805 --> 00:22:53.045
<00:22:48.805>debug <00:22:49.038>using <00:22:49.271>this <00:22:49.505>so-called <00:22:49.738>launch <00:22:49.971>js <00:22:50.205>file.

414
00:22:53.185 --> 00:22:55.925
<00:22:53.185>So <00:22:53.360>basically <00:22:53.534>json <00:22:53.710>file, <00:22:53.885>you <00:22:54.060>will <00:22:54.235>specify <00:22:54.409>what <00:22:54.585>kind

415
00:22:55.925 --> 00:22:58.005
<00:22:55.925>of <00:22:56.080>test <00:22:56.236>you <00:22:56.391>want <00:22:56.547>to <00:22:56.702>have, <00:22:56.858>what <00:22:57.013>parameters <00:22:57.169>you <00:22:57.325>have.

416
00:22:58.305 --> 00:23:02.925
<00:22:58.305>So <00:22:58.505>for <00:22:58.705>example, <00:22:58.905>I'm <00:22:59.105>choosing <00:22:59.305>to <00:22:59.505>using <00:22:59.705>Acumen

417
00:23:05.195 --> 00:23:08.795
<00:23:05.195>contract, <00:23:05.428>and <00:23:05.661>this <00:23:05.895>is <00:23:06.128>the <00:23:06.361>constructor <00:23:06.595>parameters.

418
00:23:08.955 --> 00:23:10.555
<00:23:08.955>I <00:23:09.129>give <00:23:09.304>it <00:23:09.480>to <00:23:09.655>you. <00:23:09.830>Uh, <00:23:10.004>this <00:23:10.179>is <00:23:10.355>the,

419
00:23:11.805 --> 00:23:14.535
<00:23:11.805>this <00:23:11.980>is <00:23:12.155>the <00:23:12.330>public <00:23:12.505>function, <00:23:12.680>which <00:23:12.855>is <00:23:13.030>called <00:23:13.205>unlock.

420
00:23:14.815 --> 00:23:19.575
<00:23:14.815>I <00:23:14.931>want <00:23:15.048>to <00:23:15.165>call. <00:23:15.281>And <00:23:15.398>this <00:23:15.515>is, <00:23:15.631>uh, <00:23:15.748>the <00:23:15.865>y <00:23:15.981>value <00:23:16.098>I'm <00:23:16.215>giving.

421
00:23:20.555 --> 00:23:23.535
<00:23:20.555>So <00:23:20.788>once <00:23:21.021>we <00:23:21.255>have <00:23:21.488>this <00:23:21.721>configuration <00:23:21.955>ready,

422
00:23:23.995 --> 00:23:25.575
<00:23:23.995>we <00:23:24.274>can <00:23:24.554>start <00:23:24.834>the <00:23:25.114>debugging <00:23:25.395>section.

423
00:23:25.955 --> 00:23:28.415
<00:23:25.955>So <00:23:26.082>before <00:23:26.209>I <00:23:26.336>start <00:23:26.464>there, <00:23:26.591>I <00:23:26.718>think <00:23:26.845>you <00:23:26.973>can <00:23:27.100>see <00:23:27.227>around <00:23:27.355>here,

424
00:23:28.815 --> 00:23:30.935
<00:23:28.815>I <00:23:29.015>also <00:23:29.215>put <00:23:29.415>a <00:23:29.615>few <00:23:29.815>breaking <00:23:30.015>points <00:23:30.215>here

425
00:23:31.035 --> 00:23:33.535
<00:23:31.035>so <00:23:31.235>it <00:23:31.435>doesn't <00:23:31.635>just <00:23:31.835>run <00:23:32.035>immediately <00:23:32.235>and <00:23:32.435>finish.

426
00:23:34.075 --> 00:23:35.735
<00:23:34.075>So <00:23:34.541>let's <00:23:35.008>start <00:23:35.475>it.

427
00:23:36.655 --> 00:23:41.485
<00:23:36.655>So <00:23:36.830>you <00:23:37.004>can <00:23:37.180>go <00:23:37.355>to <00:23:37.530>debugger <00:23:37.705>and <00:23:37.879>choose <00:23:38.055>acumen,

428
00:23:41.545 --> 00:23:42.885
<00:23:41.545>or <00:23:41.746>you <00:23:41.947>can <00:23:42.148>choose <00:23:42.349>any <00:23:42.550>other <00:23:42.751>ones.

429
00:23:42.885 --> 00:23:44.845
<00:23:42.885>For <00:23:43.085>here, <00:23:43.285>I <00:23:43.485>want <00:23:43.685>to <00:23:43.885>demo <00:23:44.085>this <00:23:44.285>one.

430
00:23:45.265 --> 00:23:47.085
<00:23:45.265>So <00:23:45.545>you <00:23:45.825>can <00:23:46.105>just <00:23:46.385>click <00:23:46.665>run,

431
00:23:47.425 --> 00:23:52.245
<00:23:47.425>and <00:23:47.600>then <00:23:47.774>the <00:23:47.950>debugger <00:23:48.125>session <00:23:48.300>will <00:23:48.475>be <00:23:48.649>live <00:23:48.825>in,

432
00:23:53.985 --> 00:23:55.395
<00:23:53.985>just <00:23:54.238>give <00:23:54.492>it <00:23:54.746>a <00:23:55.000>few <00:23:55.254>seconds.

433
00:23:55.625 --> 00:24:00.415
<00:23:55.625>Okay, <00:23:55.741>now <00:23:55.858>we <00:23:55.975>are <00:23:56.091>up. <00:23:56.208>So <00:23:56.325>you <00:23:56.441>can <00:23:56.558>see, <00:23:56.675>we <00:23:56.791>can <00:23:56.908>go <00:23:57.025>back.

434
00:24:01.115 --> 00:24:03.485
<00:24:01.115>Now <00:24:01.348>you <00:24:01.581>can <00:24:01.815>see <00:24:02.048>on <00:24:02.281>this <00:24:02.515>screen

435
00:24:05.025 --> 00:24:07.205
<00:24:05.025>now <00:24:05.225>it <00:24:05.425>looks <00:24:05.625>like <00:24:05.825>any <00:24:06.025>other <00:24:06.225>debugger, <00:24:06.425>right?

436
00:24:07.305 --> 00:24:11.725
<00:24:07.305>So <00:24:07.432>you <00:24:07.559>have <00:24:07.686>this <00:24:07.814>control <00:24:07.941>widget <00:24:08.068>over <00:24:08.195>here, <00:24:08.323>which <00:24:08.450>you <00:24:08.577>can <00:24:08.705>do,

437
00:24:12.145 --> 00:24:15.485
<00:24:12.145>you <00:24:12.300>know, <00:24:12.456>you <00:24:12.611>can <00:24:12.767>continue <00:24:12.922>to <00:24:13.078>the <00:24:13.233>next <00:24:13.389>break <00:24:13.545>point.

438
00:24:16.365 --> 00:24:19.055
<00:24:16.365>Okay? <00:24:16.540>So <00:24:16.715>we <00:24:16.890>can <00:24:17.065>set <00:24:17.240>up, <00:24:17.415>uh, <00:24:17.590>let's <00:24:17.765>say

439
00:24:20.485 --> 00:24:22.895
<00:24:20.485>another <00:24:20.834>break <00:24:21.185>point <00:24:21.534>randomly <00:24:21.885>here.

440
00:24:23.195 --> 00:24:24.415
<00:24:23.195>We <00:24:23.378>can <00:24:23.561>go <00:24:23.744>to <00:24:23.927>the <00:24:24.110>next <00:24:24.293>one.

441
00:24:25.295 --> 00:24:29.515
<00:24:25.295>We <00:24:25.411>can, <00:24:25.528>uh, <00:24:25.645>you <00:24:25.761>can <00:24:25.878>step <00:24:25.995>by <00:24:26.111>step, <00:24:26.228>you <00:24:26.345>can <00:24:26.461>go <00:24:26.578>to <00:24:26.695>say

442
00:24:30.845 --> 00:24:33.625
<00:24:30.845>the <00:24:31.045>next <00:24:31.245>step, <00:24:31.445>right <00:24:31.645>on <00:24:31.845>the <00:24:32.045>right <00:24:32.245>hand,

443
00:24:33.765 --> 00:24:35.465
<00:24:33.765>you <00:24:34.045>can <00:24:34.325>see <00:24:34.605>all <00:24:34.885>the <00:24:35.165>variables.

444
00:24:36.245 --> 00:24:41.145
<00:24:36.245>You <00:24:36.400>know, <00:24:36.556>we <00:24:36.711>have, <00:24:36.867>uh, <00:24:37.022>we <00:24:37.178>have, <00:24:37.333>uh, <00:24:37.489>class <00:24:37.645>properties.

445
00:24:41.325 --> 00:24:45.915
<00:24:41.325>Let <00:24:41.452>me <00:24:41.579>minimize <00:24:41.706>this <00:24:41.834>so <00:24:41.961>we <00:24:42.088>don't, <00:24:42.215>oh, <00:24:42.343>you <00:24:42.470>can, <00:24:42.597>you <00:24:42.725>can,

446
00:24:45.915 --> 00:24:47.515
<00:24:45.915>on <00:24:46.148>the, <00:24:46.381>on <00:24:46.615>the <00:24:46.848>left <00:24:47.081>hand <00:24:47.315>side,

447
00:24:47.615 --> 00:24:49.835
<00:24:47.615>you <00:24:47.848>can <00:24:48.081>see <00:24:48.315>all <00:24:48.548>these <00:24:48.781>variable <00:24:49.015>values.

448
00:24:50.025 --> 00:24:54.395
<00:24:50.025>Currently <00:24:50.225>you <00:24:50.425>can <00:24:50.625>see <00:24:50.825>ab, <00:24:51.025>we <00:24:51.225>have <00:24:51.425>plaing,

449
00:24:54.775 --> 00:24:56.995
<00:24:54.775>you <00:24:54.975>have <00:24:55.175>C, <00:24:55.375>local <00:24:55.575>variables, <00:24:55.775>M <00:24:55.975>and <00:24:56.175>N.

450
00:24:57.295 --> 00:24:59.955
<00:24:57.295>And <00:24:57.470>also <00:24:57.645>you <00:24:57.820>can <00:24:57.995>see <00:24:58.170>some <00:24:58.345>so-called <00:24:58.520>block <00:24:58.695>variables,

451
00:24:59.955 --> 00:25:04.085
<00:24:59.955>because <00:25:00.155>this <00:25:00.355>is <00:25:00.554>decide <00:25:00.754>within <00:25:00.955>this <00:25:01.155>if <00:25:01.355>block.

452
00:25:04.385 --> 00:25:06.645
<00:25:04.385>So <00:25:04.560>you, <00:25:04.735>you <00:25:04.910>can <00:25:05.085>see <00:25:05.260>the <00:25:05.435>top <00:25:05.610>value <00:25:05.785>here.

453
00:25:07.105 --> 00:25:11.205
<00:25:07.105>And <00:25:07.245>also <00:25:07.385>as <00:25:07.525>usual, <00:25:07.665>you <00:25:07.805>can <00:25:07.945>also <00:25:08.085>set, <00:25:08.225>uh, <00:25:08.365>which <00:25:08.505>kind

454
00:25:11.205 --> 00:25:12.405
<00:25:11.205>of <00:25:11.420>variable <00:25:11.637>you <00:25:11.853>want <00:25:12.069>to <00:25:12.284>watch.

455
00:25:12.625 --> 00:25:16.085
<00:25:12.625>For <00:25:12.825>example, <00:25:13.025>here <00:25:13.225>I <00:25:13.425>set <00:25:13.625>some, <00:25:13.825>you <00:25:14.025>can,

456
00:25:18.355 --> 00:25:22.775
<00:25:18.355>you <00:25:18.495>can <00:25:18.635>set, <00:25:18.775>let's <00:25:18.915>say <00:25:19.055>this <00:25:19.195>B, <00:25:19.335>you <00:25:19.475>can <00:25:19.615>watch <00:25:19.755>it,

457
00:25:25.105 --> 00:25:27.665
<00:25:25.105>I <00:25:25.305>can, <00:25:25.505>for <00:25:25.705>example, <00:25:25.905>I <00:25:26.105>can <00:25:26.305>change <00:25:26.505>it.

458
00:25:27.935 --> 00:25:29.865
<00:25:27.935>This <00:25:28.284>B <00:25:28.635>you <00:25:28.985>can <00:25:29.335>watch

459
00:25:30.285 --> 00:25:33.185
<00:25:30.285>and <00:25:30.460>you <00:25:30.635>can <00:25:30.810>also <00:25:30.985>here <00:25:31.160>see <00:25:31.335>the <00:25:31.510>cost <00:25:31.685>stack.

460
00:25:33.725 --> 00:25:35.265
<00:25:33.725>For <00:25:34.002>example, <00:25:34.279>this <00:25:34.556>is <00:25:34.833>entry <00:25:35.111>point.

461
00:25:35.405 --> 00:25:37.385
<00:25:35.405>Now <00:25:35.605>we <00:25:35.805>are <00:25:36.004>in <00:25:36.205>this <00:25:36.405>function <00:25:36.605>called <00:25:36.805>Aman.

462
00:25:37.565 --> 00:25:39.625
<00:25:37.565>So <00:25:37.798>you <00:25:38.031>have <00:25:38.265>unlock, <00:25:38.498>you <00:25:38.731>have <00:25:38.965>Aman,

463
00:25:40.005 --> 00:25:41.745
<00:25:40.005>and <00:25:40.205>also <00:25:40.405>this <00:25:40.605>show <00:25:40.805>all <00:25:41.005>the <00:25:41.205>break <00:25:41.405>points.

464
00:25:42.055 --> 00:25:44.625
<00:25:42.055>This <00:25:42.230>is <00:25:42.405>like, <00:25:42.580>uh, <00:25:42.755>any <00:25:42.930>other <00:25:43.105>programming <00:25:43.280>language, <00:25:43.455>debugger.

465
00:25:45.095 --> 00:25:46.145
<00:25:45.095>It's, <00:25:45.410>uh, <00:25:45.725>no <00:25:46.040>stress.

466
00:25:46.685 --> 00:25:51.585
<00:25:46.685>So <00:25:46.801>also <00:25:46.918>another <00:25:47.034>way <00:25:47.151>we <00:25:47.268>can <00:25:47.385>see <00:25:47.501>is <00:25:47.618>to <00:25:47.735>play, <00:25:47.851>interact <00:25:47.968>with <00:25:48.085>it,

467
00:25:51.645 --> 00:25:56.125
<00:25:51.645>uh, <00:25:51.925>through <00:25:52.205>the <00:25:52.485>so-called, <00:25:52.764>uh, <00:25:53.045>console

468
00:25:56.855 --> 00:25:58.085
<00:25:56.855>debug, <00:25:57.224>a <00:25:57.593>debug <00:25:57.962>console.

469
00:25:58.225 --> 00:25:59.765
<00:25:58.225>So <00:25:58.502>basically <00:25:58.779>this <00:25:59.056>is <00:25:59.333>the <00:25:59.611>repo.

470
00:26:00.505 --> 00:26:04.725
<00:26:00.505>If <00:26:00.632>you <00:26:00.759>like <00:26:00.886>any <00:26:01.014>other <00:26:01.141>repo, <00:26:01.268>you <00:26:01.395>can <00:26:01.523>instead <00:26:01.650>of, <00:26:01.777>uh, <00:26:01.905>compile

471
00:26:04.785 --> 00:26:06.125
<00:26:04.785>and, <00:26:05.388>uh, <00:26:05.991>deploy

472
00:26:06.305 --> 00:26:09.565
<00:26:06.305>and <00:26:06.460>test, <00:26:06.616>you <00:26:06.771>can <00:26:06.927>start <00:26:07.082>playing <00:26:07.238>with <00:26:07.393>it <00:26:07.549>here <00:26:07.705>immediately

473
00:26:10.025 --> 00:26:11.645
<00:26:10.025>by <00:26:10.491>typing <00:26:10.958>some <00:26:11.425>expressions.

474
00:26:11.945 --> 00:26:14.285
<00:26:11.945>For <00:26:12.120>example, <00:26:12.294>you <00:26:12.470>can, <00:26:12.645>you <00:26:12.820>can <00:26:12.995>type <00:26:13.169>some, <00:26:13.345>uh,

475
00:26:14.285 --> 00:26:16.545
<00:26:14.285>simple <00:26:14.985>expressions <00:26:15.685>in.

476
00:26:17.775 --> 00:26:19.145
<00:26:17.775>This <00:26:18.021>is <00:26:18.268>as <00:26:18.514>you <00:26:18.761>are <00:26:19.008>writing,

477
00:26:19.365 --> 00:26:21.305
<00:26:19.365>as <00:26:19.565>if <00:26:19.765>you <00:26:19.965>are <00:26:20.165>writing <00:26:20.365>a <00:26:20.565>script <00:26:20.765>code.

478
00:26:22.545 --> 00:26:24.885
<00:26:22.545>So <00:26:22.778>you <00:26:23.011>can <00:26:23.245>also <00:26:23.478>start <00:26:23.711>with <00:26:23.945>this

479
00:26:27.625 --> 00:26:30.695
<00:26:27.625>let's <00:26:27.780>me, <00:26:27.936>this <00:26:28.091>is <00:26:28.247>the <00:26:28.402>debugger <00:26:28.558>we <00:26:28.713>just, <00:26:28.869>uh, <00:26:29.025>mentioned.

480
00:26:31.395 --> 00:26:34.375
<00:26:31.395>Let <00:26:31.628>me <00:26:31.861>switch <00:26:32.095>back <00:26:32.328>to <00:26:32.561>slides <00:26:32.795>again.

481
00:26:40.285 --> 00:26:42.585
<00:26:40.285>So <00:26:40.635>we <00:26:40.985>showed <00:26:41.335>the <00:26:41.685>testing

482
00:26:44.435 --> 00:26:47.815
<00:26:44.435>and <00:26:44.575>we <00:26:44.715>showed, <00:26:44.855>uh, <00:26:44.995>when <00:26:45.135>testing <00:26:45.274>fails, <00:26:45.415>what <00:26:45.554>do <00:26:45.695>you <00:26:45.835>do?

483
00:26:47.815 --> 00:26:50.855
<00:26:47.815>You <00:26:47.955>debug. <00:26:48.095>So <00:26:48.235>we <00:26:48.375>have <00:26:48.515>the, <00:26:48.655>the <00:26:48.795>debugger <00:26:48.935>session <00:26:49.075>as <00:26:49.215>well.

484
00:26:51.195 --> 00:26:53.335
<00:26:51.195>How <00:26:51.370>do <00:26:51.544>you <00:26:51.720>configure <00:26:51.895>and <00:26:52.070>how <00:26:52.245>do <00:26:52.419>you <00:26:52.595>write

485
00:26:53.555 --> 00:26:56.335
<00:26:53.555>and, <00:26:53.710>uh, <00:26:53.866>set <00:26:54.021>break <00:26:54.177>points, <00:26:54.332>watch <00:26:54.488>variables, <00:26:54.643>all <00:26:54.799>this, <00:26:54.955>uh,

486
00:26:57.175 --> 00:26:58.855
<00:26:57.175>standard, <00:26:57.641>uh, <00:26:58.108>debugging <00:26:58.575>techniques.

487
00:26:59.245 --> 00:27:03.815
<00:26:59.245>This, <00:26:59.400>this <00:26:59.556>will <00:26:59.711>help <00:26:59.867>you <00:27:00.022>identify, <00:27:00.178>uh, <00:27:00.333>hopefully <00:27:00.489>catch <00:27:00.645>most

488
00:27:03.815 --> 00:27:04.895
<00:27:03.815>of <00:27:04.009>the <00:27:04.203>bug <00:27:04.398>you <00:27:04.592>can <00:27:04.787>have.

489
00:27:05.515 --> 00:27:09.135
<00:27:05.515>So, <00:27:05.670>and <00:27:05.826>eventually, <00:27:05.981>right <00:27:06.137>when <00:27:06.292>you <00:27:06.448>are, <00:27:06.603>you <00:27:06.759>have <00:27:06.915>debugged,

490
00:27:09.245 --> 00:27:11.975
<00:27:09.245>when <00:27:09.385>you <00:27:09.524>are <00:27:09.665>writing <00:27:09.804>a <00:27:09.945>large <00:27:10.084>test, <00:27:10.225>they're <00:27:10.364>all <00:27:10.504>looking <00:27:10.645>good.

491
00:27:12.525 --> 00:27:14.975
<00:27:12.525>What <00:27:12.665>do <00:27:12.805>you <00:27:12.945>do <00:27:13.085>next? <00:27:13.225>You <00:27:13.365>want <00:27:13.505>to <00:27:13.645>be <00:27:13.785>real, <00:27:13.925>right?

492
00:27:15.155 --> 00:27:18.415
<00:27:15.155>So <00:27:15.295>you <00:27:15.435>want <00:27:15.575>to <00:27:15.715>deploy <00:27:15.855>it <00:27:15.995>on <00:27:16.135>chain <00:27:16.274>and <00:27:16.415>try <00:27:16.555>it.

493
00:27:18.715 --> 00:27:22.495
<00:27:18.715>Uh, <00:27:18.870>you <00:27:19.026>put <00:27:19.181>your <00:27:19.337>contract, <00:27:19.492>deploy <00:27:19.648>your <00:27:19.803>contract <00:27:19.959>on <00:27:20.115>chain,

494
00:27:23.035 --> 00:27:26.525
<00:27:23.035>and <00:27:23.235>then <00:27:23.435>you <00:27:23.635>call, <00:27:23.835>call <00:27:24.035>is <00:27:24.235>the <00:27:24.435>so-called,

495
00:27:26.525 --> 00:27:27.805
<00:27:26.525>uh, <00:27:26.909>functions, <00:27:27.293>right <00:27:27.677>methods.

496
00:27:28.505 --> 00:27:31.605
<00:27:28.505>So <00:27:28.660>to <00:27:28.816>order <00:27:28.971>to <00:27:29.127>that, <00:27:29.282>in <00:27:29.438>order <00:27:29.593>to <00:27:29.749>facilitate <00:27:29.905>that.

497
00:27:32.145 --> 00:27:34.845
<00:27:32.145>So <00:27:32.320>in <00:27:32.495>theory, <00:27:32.670>you <00:27:32.845>can, <00:27:33.020>you <00:27:33.195>know, <00:27:33.370>put <00:27:33.545>the,

498
00:27:34.985 --> 00:27:37.885
<00:27:34.985>the <00:27:35.159>native <00:27:35.334>script <00:27:35.510>you <00:27:35.685>can <00:27:35.860>get <00:27:36.034>from <00:27:36.209>the <00:27:36.385>compiler.

499
00:27:38.185 --> 00:27:40.765
<00:27:38.185>You <00:27:38.360>can, <00:27:38.534>you <00:27:38.710>can <00:27:38.885>put <00:27:39.060>it <00:27:39.235>manually <00:27:39.409>into <00:27:39.585>the

500
00:27:41.955 --> 00:27:42.965
<00:27:41.955>locking <00:27:42.409>script <00:27:42.864>part,

501
00:27:43.025 --> 00:27:45.445
<00:27:43.025>and <00:27:43.258>then <00:27:43.491>you <00:27:43.725>can <00:27:43.958>also <00:27:44.191>compose <00:27:44.425>your

502
00:27:45.445 --> 00:27:46.765
<00:27:45.445>unlocking <00:27:46.039>script <00:27:46.633>manually.

503
00:27:47.025 --> 00:27:49.725
<00:27:47.025>But <00:27:47.180>you <00:27:47.336>know, <00:27:47.491>it <00:27:47.647>is, <00:27:47.802>it's <00:27:47.958>a <00:27:48.113>very <00:27:48.269>standard <00:27:48.425>way.

504
00:27:49.865 --> 00:27:53.485
<00:27:49.865>We, <00:27:50.040>we <00:27:50.215>publish <00:27:50.390>some <00:27:50.565>SDKs <00:27:50.740>to <00:27:50.915>simplify <00:27:51.090>all <00:27:51.265>this

505
00:27:53.485 --> 00:27:56.525
<00:27:53.485>because <00:27:53.640>this <00:27:53.796>is <00:27:53.951>the, <00:27:54.107>this <00:27:54.262>is <00:27:54.418>the <00:27:54.573>most <00:27:54.729>basic <00:27:54.885>bad.

506
00:27:56.585 --> 00:27:58.365
<00:27:56.585>So <00:27:56.785>we <00:27:56.985>want <00:27:57.185>to <00:27:57.385>make <00:27:57.585>your <00:27:57.785>life <00:27:57.985>easier.

507
00:27:59.065 --> 00:28:03.325
<00:27:59.065>That's <00:27:59.205>the <00:27:59.345>whole <00:27:59.485>point <00:27:59.625>for, <00:27:59.765>for <00:27:59.905>the <00:28:00.045>as <00:28:00.185>script <00:28:00.325>is, <00:28:00.465>uh,

508
00:28:03.345 --> 00:28:07.645
<00:28:03.345>to <00:28:03.500>make <00:28:03.656>the <00:28:03.811>developing <00:28:03.967>smart <00:28:04.122>contracts <00:28:04.278>on <00:28:04.433>SB <00:28:04.589>as <00:28:04.745>easy

509
00:28:07.865 --> 00:28:10.325
<00:28:07.865>as <00:28:08.098>if <00:28:08.331>you <00:28:08.565>are <00:28:08.798>writing <00:28:09.031>JavaScript <00:28:09.265>code.

510
00:28:11.065 --> 00:28:15.755
<00:28:11.065>So <00:28:11.265>let <00:28:11.465>me <00:28:11.665>go <00:28:11.865>back <00:28:12.065>to, <00:28:12.265>uh, <00:28:12.465>the,

511
00:28:16.175 --> 00:28:17.635
<00:28:16.175>to <00:28:16.437>the <00:28:16.700>code <00:28:16.963>here <00:28:17.226>as <00:28:17.489>well.

512
00:28:18.215 --> 00:28:21.935
<00:28:18.215>Go <00:28:18.389>back. <00:28:18.564>So <00:28:18.740>let <00:28:18.915>me <00:28:19.090>first <00:28:19.264>stop <00:28:19.439>the <00:28:19.615>debugger.

513
00:28:22.835 --> 00:28:26.695
<00:28:22.835>So <00:28:22.990>coming <00:28:23.146>back, <00:28:23.301>uh, <00:28:23.457>again, <00:28:23.612>let's <00:28:23.768>say <00:28:23.923>use <00:28:24.079>the <00:28:24.235>example

514
00:28:26.795 --> 00:28:29.055
<00:28:26.795>of <00:28:27.145>a <00:28:27.495>demo, <00:28:27.845>for <00:28:28.195>example.

515
00:28:29.235 --> 00:28:32.735
<00:28:29.235>Now, <00:28:29.375>I, <00:28:29.514>I'm <00:28:29.655>ready <00:28:29.794>to, <00:28:29.935>I'm <00:28:30.074>very <00:28:30.215>confident <00:28:30.354>this <00:28:30.495>is, <00:28:30.635>uh,

516
00:28:32.845 --> 00:28:35.055
<00:28:32.845>this <00:28:33.195>works <00:28:33.545>as <00:28:33.895>I <00:28:34.245>expected.

517
00:28:35.195 --> 00:28:37.655
<00:28:35.195>So <00:28:35.350>what <00:28:35.506>I <00:28:35.661>do, <00:28:35.817>I <00:28:35.972>want <00:28:36.128>to <00:28:36.283>deploy <00:28:36.439>it, <00:28:36.595>right?

518
00:28:38.585 --> 00:28:43.475
<00:28:38.585>So <00:28:38.785>going, <00:28:38.985>I <00:28:39.185>have <00:28:39.385>here, <00:28:39.585>got <00:28:39.785>another, <00:28:39.985>uh,

519
00:28:43.505 --> 00:28:45.235
<00:28:43.505>file <00:28:43.971>card, <00:28:44.438>demo, <00:28:44.905>digest.

520
00:28:45.375 --> 00:28:48.355
<00:28:45.375>So <00:28:45.575>basically <00:28:45.775>this <00:28:45.975>one <00:28:46.175>will <00:28:46.375>deploy <00:28:46.575>this <00:28:46.775>contract

521
00:28:48.695 --> 00:28:50.035
<00:28:48.695>and <00:28:48.996>call <00:28:49.298>a <00:28:49.599>few <00:28:49.901>functions.

522
00:28:51.175 --> 00:28:55.465
<00:28:51.175>This <00:28:51.375>will <00:28:51.575>basically <00:28:51.774>put <00:28:51.975>this <00:28:52.175>contract <00:28:52.375>inside, <00:28:52.575>uh,

523
00:28:56.185 --> 00:28:58.625
<00:28:56.185>a <00:28:56.651>lot <00:28:57.118>one <00:28:57.585>transaction

524
00:28:58.925 --> 00:29:01.065
<00:28:58.925>and <00:28:59.391>then <00:28:59.858>have <00:29:00.325>another

525
00:29:01.655 --> 00:29:05.385
<00:29:01.655>transaction <00:29:01.855>spending <00:29:02.055>in <00:29:02.254>the <00:29:02.455>previous <00:29:02.655>one <00:29:02.855>by <00:29:03.055>unlocking.

526
00:29:06.045 --> 00:29:10.175
<00:29:06.045>So <00:29:06.185>again, <00:29:06.325>there's <00:29:06.465>only <00:29:06.605>a <00:29:06.745>few <00:29:06.885>lines <00:29:07.025>of <00:29:07.165>code <00:29:07.305>we <00:29:07.445>can,

527
00:29:10.515 --> 00:29:13.095
<00:29:10.515>if <00:29:10.715>you <00:29:10.915>have, <00:29:11.115>remember <00:29:11.315>our <00:29:11.515>previous <00:29:11.715>test <00:29:11.915>example,

528
00:29:13.355 --> 00:29:16.895
<00:29:13.355>we <00:29:13.495>also <00:29:13.635>have <00:29:13.775>the <00:29:13.915>major <00:29:14.055>one <00:29:14.195>called <00:29:14.335>the <00:29:14.475>build <00:29:14.615>contract <00:29:14.755>class.

529
00:29:17.235 --> 00:29:20.265
<00:29:17.235>So <00:29:17.584>this <00:29:17.935>basically, <00:29:18.284>uh, <00:29:18.635>reflect

530
00:29:20.965 --> 00:29:23.105
<00:29:20.965>or <00:29:21.314>convert <00:29:21.665>the <00:29:22.014>ascr, <00:29:22.365>the

531
00:29:23.245 --> 00:29:25.185
<00:29:23.245>as <00:29:23.524>script <00:29:23.804>contract <00:29:24.084>into <00:29:24.364>a <00:29:24.645>native

532
00:29:25.355 --> 00:29:28.505
<00:29:25.355>JavaScript <00:29:26.755>class.

533
00:29:28.605 --> 00:29:30.385
<00:29:28.605>So <00:29:28.838>once <00:29:29.071>you <00:29:29.305>have <00:29:29.538>that, <00:29:29.771>you <00:29:30.005>can,

534
00:29:30.385 --> 00:29:33.345
<00:29:30.385>you <00:29:30.512>can <00:29:30.639>either <00:29:30.766>see <00:29:30.894>this <00:29:31.021>is <00:29:31.148>very <00:29:31.275>similar <00:29:31.403>to <00:29:31.530>the <00:29:31.657>test <00:29:31.785>code.

535
00:29:33.845 --> 00:29:35.745
<00:29:33.845>You <00:29:34.125>can <00:29:34.405>have <00:29:34.685>the <00:29:34.965>convey <00:29:35.245>code.

536
00:29:36.165 --> 00:29:40.295
<00:29:36.165>You <00:29:36.398>can <00:29:36.631>put <00:29:36.865>inside <00:29:37.098>this <00:29:37.331>basic <00:29:37.565>place,

537
00:29:40.565 --> 00:29:44.725
<00:29:40.565>this <00:29:40.765>contract <00:29:40.965>inside <00:29:41.165>a <00:29:41.365>contract, <00:29:41.565>inside <00:29:41.765>a <00:29:41.965>transaction,

538
00:29:44.725 --> 00:29:47.565
<00:29:44.725>sorry, <00:29:45.074>and <00:29:45.425>then <00:29:45.774>broadcast <00:29:46.125>it.

539
00:29:48.225 --> 00:29:52.605
<00:29:48.225>And <00:29:48.380>this <00:29:48.536>is <00:29:48.691>the <00:29:48.847>first <00:29:49.002>transaction <00:29:49.158>by <00:29:49.313>deploying <00:29:49.469>the <00:29:49.625>contract.

540
00:29:52.945 --> 00:29:54.965
<00:29:52.945>And <00:29:53.294>afterwards <00:29:53.645>immediately <00:29:53.995>you <00:29:54.345>can

541
00:29:56.925 --> 00:29:58.025
<00:29:56.925>go <00:29:57.172>to <00:29:57.420>the <00:29:57.667>other <00:29:57.915>step.

542
00:29:58.205 --> 00:30:00.345
<00:29:58.205>You <00:29:58.671>can <00:29:59.138>unlock <00:29:59.605>it.

543
00:30:00.845 --> 00:30:05.355
<00:30:00.845>So <00:30:01.020>basically <00:30:01.195>this <00:30:01.370>one <00:30:01.545>here, <00:30:01.720>this <00:30:01.895>is <00:30:02.070>your <00:30:02.245>locking

544
00:30:06.805 --> 00:30:08.465
<00:30:06.805>script, <00:30:07.271>let's <00:30:07.738>get <00:30:08.205>deployed

545
00:30:08.725 --> 00:30:11.505
<00:30:08.725>and <00:30:08.925>the <00:30:09.125>next <00:30:09.324>part <00:30:09.524>is <00:30:09.725>immediately <00:30:09.925>unlock <00:30:10.125>it.

546
00:30:11.805 --> 00:30:14.065
<00:30:11.805>So <00:30:12.005>let's, <00:30:12.205>let's <00:30:12.405>try <00:30:12.605>it <00:30:12.805>on <00:30:13.005>the <00:30:13.205>real

547
00:30:14.065 --> 00:30:15.145
<00:30:14.065>network <00:30:14.259>and <00:30:14.453>see <00:30:14.648>how <00:30:14.842>it <00:30:15.037>goes.

548
00:30:15.685 --> 00:30:20.435
<00:30:15.685>So <00:30:15.825>I'm <00:30:15.965>praying <00:30:16.105>to <00:30:16.245>my <00:30:16.385>demo, <00:30:16.524>God. <00:30:16.665>So <00:30:16.804>let's <00:30:16.945>see <00:30:17.085>this.

549
00:30:20.435 --> 00:30:23.075
<00:30:20.435>Hopefully <00:30:20.668>this <00:30:20.901>is <00:30:21.135>live, <00:30:21.368>so <00:30:21.601>we'll <00:30:21.835>see.

550
00:30:24.235 --> 00:30:26.575
<00:30:24.235>Uh, <00:30:24.468>so, <00:30:24.701>so <00:30:24.935>basically <00:30:25.168>this <00:30:25.401>all <00:30:25.635>part

551
00:30:26.575 --> 00:30:28.255
<00:30:26.575>of <00:30:26.808>the <00:30:27.041>SDK, <00:30:27.275>you <00:30:27.508>can <00:30:27.741>download <00:30:27.975>this.

552
00:30:28.455 --> 00:30:31.175
<00:30:28.455>I <00:30:28.595>show <00:30:28.735>you <00:30:28.875>later <00:30:29.014>how, <00:30:29.155>where <00:30:29.294>you <00:30:29.435>can <00:30:29.574>find <00:30:29.715>this <00:30:29.855>easily.

553
00:30:31.675 --> 00:30:33.575
<00:30:31.675>So <00:30:31.850>basically <00:30:32.024>the <00:30:32.200>only <00:30:32.375>thing <00:30:32.550>you <00:30:32.725>need <00:30:32.899>is, <00:30:33.075>uh,

554
00:30:33.575 --> 00:30:35.015
<00:30:33.575>plugging <00:30:34.007>your <00:30:34.439>private <00:30:34.871>key.

555
00:30:35.435 --> 00:30:39.185
<00:30:35.435>So <00:30:35.575>for <00:30:35.715>this, <00:30:35.855>because <00:30:35.995>it's <00:30:36.135>dampers, <00:30:36.274>I <00:30:36.415>just <00:30:36.554>use, <00:30:36.695>uh, <00:30:36.835>testnet.

556
00:30:39.285 --> 00:30:43.235
<00:30:39.285>So <00:30:39.460>you <00:30:39.635>can <00:30:39.810>steal <00:30:39.985>the <00:30:40.160>test <00:30:40.335>coins, <00:30:40.510>that's <00:30:40.685>fine.

557
00:30:44.755 --> 00:30:46.695
<00:30:44.755>So <00:30:44.988>the <00:30:45.221>way <00:30:45.455>I <00:30:45.688>try <00:30:45.921>to <00:30:46.155>write,

558
00:30:46.795 --> 00:30:50.075
<00:30:46.795>and <00:30:47.028>I <00:30:47.261>already <00:30:47.495>have <00:30:47.728>some, <00:30:47.961>uh, <00:30:48.195>uh,

559
00:30:50.315 --> 00:30:54.195
<00:30:50.315>NPSI <00:30:50.490>al <00:30:50.665>already <00:30:50.840>write <00:30:51.015>some <00:30:51.190>script <00:30:51.365>to <00:30:51.540>handle <00:30:51.715>this.

560
00:30:54.815 --> 00:30:57.585
<00:30:54.815>So <00:30:55.015>we <00:30:55.215>can <00:30:55.415>just <00:30:55.615>run <00:30:55.815>this <00:30:56.015>NPM <00:30:56.215>script,

561
00:30:58.085 --> 00:31:00.105
<00:30:58.085>so <00:30:58.365>called <00:30:58.645>MPM <00:30:58.925>run <00:30:59.205>the <00:30:59.485>testnet.

562
00:31:00.255 --> 00:31:02.835
<00:31:00.255>Okay, <00:31:00.605>this <00:31:00.955>seems <00:31:01.305>working <00:31:01.655>now,

563
00:31:03.175 --> 00:31:06.275
<00:31:03.175>but <00:31:03.408>basically <00:31:03.641>it <00:31:03.875>shows <00:31:04.108>succeeded <00:31:04.341>on <00:31:04.575>Testnet

564
00:31:06.935 --> 00:31:11.155
<00:31:06.935>and <00:31:07.090>give <00:31:07.246>me <00:31:07.401>the <00:31:07.557>transaction <00:31:07.712>IDs <00:31:07.868>for <00:31:08.023>the <00:31:08.179>two <00:31:08.335>transactions.

565
00:31:11.695 --> 00:31:15.595
<00:31:11.695>One <00:31:11.850>is <00:31:12.006>deploy <00:31:12.161>the <00:31:12.317>contract, <00:31:12.472>the <00:31:12.628>other <00:31:12.783>one <00:31:12.939>is <00:31:13.095>to

566
00:31:16.225 --> 00:31:18.395
<00:31:16.225>call <00:31:16.504>the <00:31:16.784>contract <00:31:17.064>by <00:31:17.344>unlocking <00:31:17.625>it.

567
00:31:18.495 --> 00:31:23.115
<00:31:18.495>So <00:31:18.669>let's <00:31:18.844>go <00:31:19.020>to <00:31:19.195>our <00:31:19.370>favorite, <00:31:19.544>uh, <00:31:19.719>block <00:31:19.895>explorer

568
00:31:23.335 --> 00:31:25.795
<00:31:23.335>and <00:31:23.615>just <00:31:23.895>verify <00:31:24.175>it <00:31:24.455>actually <00:31:24.735>works.

569
00:31:26.785 --> 00:31:30.125
<00:31:26.785>So <00:31:26.985>let's <00:31:27.185>go <00:31:27.385>to <00:31:27.585>the, <00:31:27.785>the <00:31:27.985>browser <00:31:28.185>again,

570
00:31:31.075 --> 00:31:34.215
<00:31:31.075>and <00:31:31.230>let's <00:31:31.386>go <00:31:31.541>to <00:31:31.697>Watson <00:31:31.852>chain <00:31:32.008>that <00:31:32.163>I <00:31:32.319>showed <00:31:32.475>you.

571
00:31:35.225 --> 00:31:37.975
<00:31:35.225>You <00:31:35.925>can, <00:31:36.625>okay,

572
00:31:38.945 --> 00:31:40.475
<00:31:38.945>find, <00:31:39.404>okay, <00:31:39.862>it's <00:31:40.322>here.

573
00:31:40.575 --> 00:31:44.685
<00:31:40.575>We <00:31:40.715>found <00:31:40.855>it. <00:31:40.995>You <00:31:41.135>can <00:31:41.275>see <00:31:41.415>this <00:31:41.555>is <00:31:41.695>pretty <00:31:41.835>much, <00:31:41.975>uh,

574
00:31:45.105 --> 00:31:47.925
<00:31:45.105>you <00:31:45.232>can <00:31:45.359>go <00:31:45.486>to <00:31:45.614>the, <00:31:45.741>for <00:31:45.868>looking <00:31:45.995>at <00:31:46.123>our <00:31:46.250>contract, <00:31:46.377>we <00:31:46.505>go

575
00:31:47.925 --> 00:31:50.215
<00:31:47.925>to <00:31:48.391>the <00:31:48.858>scripts <00:31:49.325>tab.

576
00:31:50.315 --> 00:31:55.295
<00:31:50.315>We <00:31:50.431>can <00:31:50.548>see <00:31:50.665>here. <00:31:50.781>So <00:31:50.898>this <00:31:51.015>is <00:31:51.131>our <00:31:51.248>contract, <00:31:51.365>what <00:31:51.481>looks <00:31:51.598>like <00:31:51.715>in

577
00:31:56.405 --> 00:31:58.905
<00:31:56.405>native <00:31:56.605>script, <00:31:56.805>you <00:31:57.004>can <00:31:57.205>see <00:31:57.405>it <00:31:57.605>is <00:31:57.805>not,

578
00:32:00.105 --> 00:32:03.835
<00:32:00.105>it's <00:32:00.245>not <00:32:00.385>very <00:32:00.525>human <00:32:00.665>readable, <00:32:00.805>even <00:32:00.945>it's <00:32:01.085>not <00:32:01.225>a <00:32:01.365>big <00:32:01.505>contract.

579
00:32:04.295 --> 00:32:07.715
<00:32:04.295>You <00:32:04.435>can, <00:32:04.575>you <00:32:04.715>can <00:32:04.855>see <00:32:04.995>it's <00:32:05.135>not <00:32:05.275>very <00:32:05.415>easy <00:32:05.555>to <00:32:05.695>understand.

580
00:32:08.615 --> 00:32:10.395
<00:32:08.615>And <00:32:08.770>the <00:32:08.926>good <00:32:09.081>thing <00:32:09.237>is <00:32:09.392>we <00:32:09.548>already <00:32:09.703>wrap <00:32:09.859>up <00:32:10.015>in

581
00:32:10.395 --> 00:32:12.275
<00:32:10.395>as <00:32:10.675>script <00:32:10.955>is <00:32:11.235>very <00:32:11.514>easy <00:32:11.795>from,

582
00:32:12.335 --> 00:32:16.715
<00:32:12.335>and <00:32:12.490>also <00:32:12.646>we <00:32:12.801>can <00:32:12.957>see <00:32:13.112>here, <00:32:13.268>so <00:32:13.423>previously <00:32:13.579>we <00:32:13.735>showed,

583
00:32:17.095 --> 00:32:20.475
<00:32:17.095>you <00:32:17.222>can <00:32:17.349>get <00:32:17.476>a <00:32:17.604>little <00:32:17.731>bit <00:32:17.858>of <00:32:17.985>numbers <00:32:18.113>here, <00:32:18.240>we <00:32:18.367>showed, <00:32:18.495>uh,

584
00:32:21.975 --> 00:32:24.795
<00:32:21.975>you, <00:32:22.149>when <00:32:22.324>you <00:32:22.500>deploy <00:32:22.675>the <00:32:22.850>contract, <00:32:23.024>you <00:32:23.199>initialize <00:32:23.375>X

585
00:32:24.795 --> 00:32:26.475
<00:32:24.795>and <00:32:25.075>Y <00:32:25.355>as <00:32:25.635>four <00:32:25.915>and <00:32:26.195>seven.

586
00:32:26.895 --> 00:32:29.675
<00:32:26.895>So <00:32:27.022>basically <00:32:27.149>in <00:32:27.276>the <00:32:27.404>end, <00:32:27.531>in <00:32:27.658>order <00:32:27.785>to <00:32:27.913>unlock <00:32:28.040>it, <00:32:28.167>you <00:32:28.295>have

587
00:32:29.675 --> 00:32:31.035
<00:32:29.675>to <00:32:30.083>put <00:32:30.491>the <00:32:30.899>sign.

588
00:32:31.415 --> 00:32:33.235
<00:32:31.415>So <00:32:31.695>which <00:32:31.975>is <00:32:32.254>here <00:32:32.534>is <00:32:32.815>11.

589
00:32:33.935 --> 00:32:37.075
<00:32:33.935>So <00:32:34.110>you <00:32:34.284>can <00:32:34.460>see <00:32:34.635>that's <00:32:34.810>why <00:32:34.985>it <00:32:35.159>gets <00:32:35.335>unlocked.

590
00:32:37.375 --> 00:32:42.275
<00:32:37.375>So <00:32:37.550>meaning, <00:32:37.725>okay, <00:32:37.900>we, <00:32:38.075>uh, <00:32:38.250>we <00:32:38.425>have <00:32:38.600>just <00:32:38.775>successfully

591
00:32:43.705 --> 00:32:46.985
<00:32:43.705>deployed <00:32:43.879>our <00:32:44.054>first <00:32:44.230>contract <00:32:44.405>and <00:32:44.580>unlock <00:32:44.754>it <00:32:44.929>as <00:32:45.105>well.

592
00:32:48.245 --> 00:32:51.145
<00:32:48.245>Always, <00:32:48.445>uh, <00:32:48.645>just <00:32:48.844>one <00:32:49.044>line, <00:32:49.245>we <00:32:49.445>just, <00:32:49.645>uh,

593
00:32:51.145 --> 00:32:53.445
<00:32:51.145>plugging <00:32:51.611>our <00:32:52.078>private <00:32:52.545>key.

594
00:32:54.135 --> 00:32:56.635
<00:32:54.135>That's <00:32:54.310>it. <00:32:54.485>Everything <00:32:54.660>else <00:32:54.835>is <00:32:55.010>done <00:32:55.185>by <00:32:55.360>our <00:32:55.535>framework.

595
00:32:57.375 --> 00:33:01.275
<00:32:57.375>So <00:32:57.530>I <00:32:57.686>just <00:32:57.841>showed <00:32:57.997>I <00:32:58.152>think <00:32:58.308>the <00:32:58.463>little <00:32:58.619>bit, <00:32:58.775>uh,

596
00:33:03.115 --> 00:33:05.515
<00:33:03.115>overwhelming <00:33:03.465>lot <00:33:03.815>of <00:33:04.165>information <00:33:04.515>here.

597
00:33:05.655 --> 00:33:07.235
<00:33:05.655>So <00:33:05.935>where <00:33:06.215>do <00:33:06.495>you <00:33:06.774>find <00:33:07.055>us?

598
00:33:08.425 --> 00:33:13.125
<00:33:08.425>Let's <00:33:08.658>go <00:33:08.891>to <00:33:09.125>the, <00:33:09.358>the <00:33:09.591>final <00:33:09.825>slide.

599
00:33:13.385 --> 00:33:17.485
<00:33:13.385>We <00:33:13.512>can <00:33:13.639>show. <00:33:13.766>So <00:33:13.894>we <00:33:14.021>just, <00:33:14.148>what <00:33:14.275>we <00:33:14.403>have <00:33:14.530>done <00:33:14.657>so <00:33:14.785>far,

600
00:33:18.265 --> 00:33:22.205
<00:33:18.265>so <00:33:18.420>we <00:33:18.576>have <00:33:18.731>showed, <00:33:18.887>uh, <00:33:19.042>our <00:33:19.198>IDs <00:33:19.353>you <00:33:19.509>can <00:33:19.665>download,

601
00:33:22.835 --> 00:33:26.085
<00:33:22.835>then <00:33:22.975>you <00:33:23.115>can, <00:33:23.255>you <00:33:23.395>can, <00:33:23.535>you <00:33:23.675>can <00:33:23.815>edit, <00:33:23.955>you <00:33:24.095>can <00:33:24.235>develop,

602
00:33:26.175 --> 00:33:27.245
<00:33:26.175>write <00:33:26.656>your <00:33:27.138>contract

603
00:33:27.245 --> 00:33:31.065
<00:33:27.245>after <00:33:27.361>you <00:33:27.478>write <00:33:27.594>it, <00:33:27.711>you <00:33:27.828>can, <00:33:27.945>you <00:33:28.061>can <00:33:28.178>write <00:33:28.294>a <00:33:28.411>lot <00:33:28.528>of <00:33:28.645>tests.

604
00:33:32.025 --> 00:33:33.595
<00:33:32.025>There's, <00:33:32.491>uh, <00:33:32.958>with <00:33:33.425>it,

605
00:33:33.885 --> 00:33:36.635
<00:33:33.885>using <00:33:34.085>our <00:33:34.285>testing <00:33:34.485>framework <00:33:34.685>is <00:33:34.885>almost <00:33:35.085>like <00:33:35.285>you

606
00:33:36.635 --> 00:33:37.715
<00:33:36.635>are <00:33:37.120>writing <00:33:37.607>JavaScript.

607
00:33:38.565 --> 00:33:40.305
<00:33:38.565>And <00:33:38.845>then <00:33:39.125>you <00:33:39.405>have <00:33:39.685>showed <00:33:39.965>you

608
00:33:40.305 --> 00:33:43.865
<00:33:40.305>how <00:33:40.432>do <00:33:40.559>you <00:33:40.686>do <00:33:40.814>if <00:33:40.941>something <00:33:41.068>goes <00:33:41.195>wrong, <00:33:41.323>you <00:33:41.450>during <00:33:41.577>the <00:33:41.705>test,

609
00:33:44.115 --> 00:33:45.545
<00:33:44.115>which <00:33:44.372>happens <00:33:44.629>most <00:33:44.887>of <00:33:45.144>the <00:33:45.402>time,

610
00:33:46.165 --> 00:33:48.145
<00:33:46.165>and <00:33:46.365>how <00:33:46.565>do <00:33:46.764>you <00:33:46.965>debug <00:33:47.165>and <00:33:47.365>fix <00:33:47.565>it.

611
00:33:48.485 --> 00:33:50.745
<00:33:48.485>And <00:33:48.659>then <00:33:48.834>once <00:33:49.010>you <00:33:49.185>feel <00:33:49.360>confident, <00:33:49.534>this <00:33:49.709>is <00:33:49.885>working

612
00:33:51.245 --> 00:33:52.425
<00:33:51.245>and <00:33:51.457>how <00:33:51.669>do <00:33:51.882>you <00:33:52.094>deploy <00:33:52.307>it?

613
00:33:53.215 --> 00:33:57.035
<00:33:53.215>So <00:33:53.355>all <00:33:53.495>of <00:33:53.635>this, <00:33:53.774>you <00:33:53.915>can <00:33:54.054>find <00:33:54.195>us <00:33:54.334>on <00:33:54.475>our <00:33:54.615>website

614
00:33:57.575 --> 00:33:58.675
<00:33:57.575>as <00:33:57.822>script <00:33:58.070>dot <00:33:58.317>i <00:33:58.565>io.

615
00:33:59.765 --> 00:34:04.075
<00:33:59.765>So <00:33:59.905>there <00:34:00.045>you <00:34:00.185>can <00:34:00.325>have, <00:34:00.465>find <00:34:00.605>the <00:34:00.745>formal <00:34:00.885>do <00:34:01.025>I <00:34:01.165>can,

616
00:34:04.255 --> 00:34:07.195
<00:34:04.255>let <00:34:04.430>me <00:34:04.605>go <00:34:04.780>to <00:34:04.955>this <00:34:05.130>website <00:34:05.305>as <00:34:05.480>script <00:34:05.655>io

617
00:34:08.175 --> 00:34:10.355
<00:34:08.175>and <00:34:08.375>show <00:34:08.575>what <00:34:08.775>we, <00:34:08.975>uh, <00:34:09.175>we <00:34:09.375>have <00:34:09.575>there.

618
00:34:10.535 --> 00:34:12.795
<00:34:10.534>All <00:34:10.710>the <00:34:10.884>information <00:34:11.060>I <00:34:11.234>just <00:34:11.409>showed <00:34:11.585>is <00:34:11.759>all <00:34:11.935>listed

619
00:34:12.795 --> 00:34:14.515
<00:34:12.795>there <00:34:14.195>conveniently.

620
00:34:15.945 --> 00:34:20.795
<00:34:15.945>So <00:34:16.072>you <00:34:16.199>can <00:34:16.326>go <00:34:16.454>to <00:34:16.581>s <00:34:16.708>script <00:34:16.835>io <00:34:16.963>okay, <00:34:17.090>s <00:34:17.217>script <00:34:17.345>io.

621
00:34:20.815 --> 00:34:24.115
<00:34:20.815>You <00:34:20.990>can <00:34:21.165>find, <00:34:21.340>you <00:34:21.514>know, <00:34:21.690>our <00:34:21.865>ID <00:34:22.040>download <00:34:22.215>links.

622
00:34:24.175 --> 00:34:28.265
<00:34:24.175>You <00:34:24.375>can <00:34:24.575>find <00:34:24.775>our <00:34:24.975>web <00:34:25.175>version <00:34:25.375>as <00:34:25.575>well.

623
00:34:28.485 --> 00:34:30.705
<00:34:28.485>You <00:34:28.718>can <00:34:28.951>also <00:34:29.185>find <00:34:29.418>the <00:34:29.651>formal <00:34:29.885>specification

624
00:34:30.725 --> 00:34:34.585
<00:34:30.725>for <00:34:30.864>the <00:34:31.005>ass <00:34:31.145>script <00:34:31.284>language, <00:34:31.424>which <00:34:31.565>I <00:34:31.705>can <00:34:31.844>show <00:34:31.985>you <00:34:32.125>briefly.

625
00:34:34.815 --> 00:34:38.465
<00:34:34.815>Here <00:34:34.970>again <00:34:35.126>is, <00:34:35.281>uh, <00:34:35.437>you <00:34:35.592>can <00:34:35.748>show <00:34:35.903>all <00:34:36.059>the <00:34:36.215>syntax

626
00:34:38.685 --> 00:34:41.265
<00:34:38.685>and, <00:34:38.918>uh, <00:34:39.151>I <00:34:39.384>even <00:34:39.618>have <00:34:39.851>some <00:34:40.085>examples.

627
00:34:42.525 --> 00:34:44.465
<00:34:42.525>And <00:34:42.700>one <00:34:42.875>last <00:34:43.050>thing <00:34:43.225>I <00:34:43.400>want <00:34:43.575>to <00:34:43.750>point <00:34:43.925>out,

628
00:34:44.465 --> 00:34:46.065
<00:34:44.465>you <00:34:44.698>can <00:34:44.931>also <00:34:45.165>go <00:34:45.398>to <00:34:45.631>our <00:34:45.865>data.

629
00:34:46.845 --> 00:34:50.785
<00:34:46.844>So <00:34:47.000>by <00:34:47.156>clicking <00:34:47.311>here, <00:34:47.467>this <00:34:47.622>is <00:34:47.778>where <00:34:47.933>you <00:34:48.089>find <00:34:48.245>all,

630
00:34:50.965 --> 00:34:52.225
<00:34:50.965>all <00:34:51.532>our <00:34:52.099>sdk.

631
00:34:54.245 --> 00:34:58.065
<00:34:54.245>So <00:34:54.384>for <00:34:54.525>example, <00:34:54.665>the <00:34:54.804>most <00:34:54.944>one, <00:34:55.085>this <00:34:55.225>one <00:34:55.364>is <00:34:55.505>this <00:34:55.645>con

632
00:34:59.015 --> 00:35:00.435
<00:34:59.015>we <00:34:59.441>called <00:34:59.866>a <00:35:00.293>boilerplate.

633
00:35:01.015 --> 00:35:05.075
<00:35:01.015>So <00:35:01.248>basically <00:35:01.481>the <00:35:01.714>recommended <00:35:01.948>way <00:35:02.181>to <00:35:02.415>start

634
00:35:05.695 --> 00:35:10.195
<00:35:05.695>any <00:35:05.835>script <00:35:05.975>project <00:35:06.115>of <00:35:06.255>your <00:35:06.395>own <00:35:06.535>is <00:35:06.675>to <00:35:06.815>get <00:35:06.955>clone <00:35:07.095>this

635
00:35:11.235 --> 00:35:15.495
<00:35:11.235>and <00:35:11.410>use <00:35:11.585>this <00:35:11.760>as <00:35:11.935>a <00:35:12.110>standard, <00:35:12.285>uh, <00:35:12.460>product <00:35:12.635>plate,

636
00:35:16.125 --> 00:35:19.375
<00:35:16.125>just <00:35:16.252>like, <00:35:16.379>uh, <00:35:16.506>what <00:35:16.634>I <00:35:16.761>have <00:35:16.888>shown <00:35:17.015>in <00:35:17.143>the <00:35:17.270>ID <00:35:17.397>as <00:35:17.525>well.

637
00:35:20.585 --> 00:35:21.805
<00:35:20.585>So <00:35:21.683>lastly,

638
00:35:22.305 --> 00:35:23.965
<00:35:22.305>but <00:35:22.654>not, <00:35:23.004>um, <00:35:23.355>this <00:35:23.705>importantly,

639
00:35:24.105 --> 00:35:25.925
<00:35:24.105>you <00:35:24.280>can <00:35:24.455>find <00:35:24.630>us <00:35:24.805>on <00:35:24.980>all <00:35:25.155>the <00:35:25.330>social <00:35:25.505>media.

640
00:35:27.435 --> 00:35:32.035
<00:35:27.435>You <00:35:27.610>can, <00:35:27.785>we <00:35:27.960>have, <00:35:28.134>I <00:35:28.310>just <00:35:28.485>showed <00:35:28.660>you <00:35:28.835>very

641
00:35:32.865 --> 00:35:36.895
<00:35:32.865>like <00:35:33.214>a <00:35:33.564>hello <00:35:33.915>ish <00:35:34.265>examples.

642
00:35:37.605 --> 00:35:40.025
<00:35:37.605>And <00:35:37.955>just <00:35:38.305>actually <00:35:38.655>you <00:35:39.005>can,

643
00:35:41.445 --> 00:35:43.585
<00:35:41.445>beside <00:35:41.795>this <00:35:42.145>very <00:35:42.495>basic <00:35:42.845>contracts,

644
00:35:43.605 --> 00:35:46.825
<00:35:43.605>you <00:35:43.760>can <00:35:43.916>write <00:35:44.071>any <00:35:44.227>arbitrary <00:35:44.382>contracts <00:35:44.538>you <00:35:44.693>can <00:35:44.849>have <00:35:45.005>actually

645
00:35:46.885 --> 00:35:48.665
<00:35:46.885>on <00:35:47.351>Bitcoin <00:35:47.818>SV <00:35:48.285>today.

646
00:35:49.665 --> 00:35:54.315
<00:35:49.665>And, <00:35:49.865>uh, <00:35:50.065>you <00:35:50.265>can, <00:35:50.465>you <00:35:50.665>can <00:35:50.865>have <00:35:51.065>any,

647
00:35:55.455 --> 00:35:58.035
<00:35:55.455>any <00:35:55.735>other <00:35:56.015>chain <00:35:56.295>contract <00:35:56.575>that <00:35:56.855>can,

648
00:35:58.135 --> 00:36:00.995
<00:35:58.135>you <00:35:58.262>can <00:35:58.389>write <00:35:58.516>on <00:35:58.644>any <00:35:58.771>other <00:35:58.898>chain, <00:35:59.025>you <00:35:59.153>can <00:35:59.280>write <00:35:59.407>it <00:35:59.535>here

649
00:36:01.695 --> 00:36:03.435
<00:36:01.695>and <00:36:02.161>is <00:36:02.628>much <00:36:03.095>cheaper.

650
00:36:03.715 --> 00:36:05.155
<00:36:03.715>I <00:36:03.974>think <00:36:04.233>it's <00:36:04.492>for, <00:36:04.751>for <00:36:05.011>example,

651
00:36:05.355 --> 00:36:07.715
<00:36:05.355>I <00:36:05.635>show <00:36:05.915>some <00:36:06.195>token <00:36:06.475>examples <00:36:06.755>previously.

652
00:36:08.135 --> 00:36:11.435
<00:36:08.135>So <00:36:08.262>if <00:36:08.389>you <00:36:08.516>look <00:36:08.644>at <00:36:08.771>the <00:36:08.898>transaction <00:36:09.025>fee, <00:36:09.153>it <00:36:09.280>is <00:36:09.407>about <00:36:09.535>100th

653
00:36:11.455 --> 00:36:16.275
<00:36:11.455>or <00:36:11.630>even <00:36:11.805>sometimes <00:36:11.980>1000 <00:36:12.154>times <00:36:12.330>cheaper <00:36:12.505>than, <00:36:12.680>uh, <00:36:12.855>the,

654
00:36:16.695 --> 00:36:19.395
<00:36:16.695>the <00:36:16.975>transaction <00:36:17.255>fees <00:36:17.535>on <00:36:17.815>other <00:36:18.095>chains.

655
00:36:19.615 --> 00:36:23.075
<00:36:19.615>And <00:36:19.848>because <00:36:20.081>we <00:36:20.314>can <00:36:20.548>scale, <00:36:20.781>there's <00:36:21.015>no,

656
00:36:23.855 --> 00:36:27.795
<00:36:23.855>you <00:36:24.010>never <00:36:24.166>have <00:36:24.321>crypto <00:36:24.477>kitty <00:36:24.632>and <00:36:24.788>blocking <00:36:24.943>the <00:36:25.099>whole <00:36:25.255>network.

657
00:36:27.975 --> 00:36:31.795
<00:36:27.975>You, <00:36:28.115>you'll <00:36:28.255>never <00:36:28.395>have <00:36:28.535>it. <00:36:28.674>And <00:36:28.815>also <00:36:28.955>you <00:36:29.095>can, <00:36:29.235>we <00:36:29.375>also

658
00:36:32.305 --> 00:36:33.715
<00:36:32.305>have <00:36:32.622>a <00:36:32.939>lot <00:36:33.256>of <00:36:33.574>examples.

659
00:36:33.895 --> 00:36:36.915
<00:36:33.895>For <00:36:34.035>example, <00:36:34.175>you <00:36:34.315>can <00:36:34.455>maintain <00:36:34.595>state, <00:36:34.735>you <00:36:34.875>can <00:36:35.015>do <00:36:35.155>atomic <00:36:35.295>swap,

660
00:36:37.295 --> 00:36:39.195
<00:36:37.295>you <00:36:37.575>can, <00:36:37.855>you <00:36:38.135>can <00:36:38.415>do <00:36:38.695>articles,

661
00:36:39.195 --> 00:36:40.795
<00:36:39.195>you <00:36:39.475>can <00:36:39.755>do <00:36:40.035>insurance <00:36:40.315>and <00:36:40.595>inheritance.

662
00:36:41.215 --> 00:36:44.275
<00:36:41.215>So <00:36:41.355>for <00:36:41.495>all <00:36:41.635>this <00:36:41.775>example, <00:36:41.915>you <00:36:42.055>can <00:36:42.195>find <00:36:42.335>on <00:36:42.475>our, <00:36:42.615>uh,

663
00:36:44.275 --> 00:36:46.715
<00:36:44.275>medium.com, <00:36:44.741>which <00:36:45.208>I <00:36:45.675>have,

664
00:36:47.175 --> 00:36:49.835
<00:36:47.175>we <00:36:47.330>have <00:36:47.486>released <00:36:47.641>a <00:36:47.797>serious <00:36:47.952>articles <00:36:48.108>to <00:36:48.263>how <00:36:48.419>you <00:36:48.575>develop

665
00:36:51.325 --> 00:36:53.155
<00:36:51.325>nontrivial <00:36:52.725>contracts.

666
00:36:53.615 --> 00:36:55.315
<00:36:53.615>You <00:36:53.895>can, <00:36:54.174>you <00:36:54.455>can <00:36:54.734>from <00:36:55.015>here.

667
00:36:55.695 --> 00:36:58.435
<00:36:55.695>And, <00:36:55.870>uh, <00:36:56.045>again, <00:36:56.220>lastly, <00:36:56.395>if <00:36:56.570>you <00:36:56.745>have <00:36:56.920>any <00:36:57.095>questions,

668
00:36:58.495 --> 00:36:59.835
<00:36:58.495>you <00:36:58.696>can <00:36:58.897>go <00:36:59.098>to <00:36:59.299>our <00:36:59.500>Slack <00:36:59.701>channel

669
00:37:00.695 --> 00:37:02.635
<00:37:00.695>and, <00:37:00.975>uh, <00:37:01.255>ask <00:37:01.535>any <00:37:01.815>questions <00:37:02.095>there.

670
00:37:03.175 --> 00:37:04.595
<00:37:03.175>So <00:37:03.814>thank <00:37:04.453>you.

671
00:37:04.995 --> 00:37:08.165
<00:37:04.995>I <00:37:05.170>look <00:37:05.345>forward <00:37:05.520>to <00:37:05.694>hearing <00:37:05.870>questions <00:37:06.045>from <00:37:06.220>you <00:37:06.395>guys.

672
00:37:11.755 --> 00:37:12.825
<00:37:11.755>Thank <00:37:12.236>you, <00:37:12.718>zwei.

673
00:37:12.825 --> 00:37:14.785
<00:37:12.825>We've <00:37:12.980>got <00:37:13.136>a <00:37:13.291>couple <00:37:13.447>of <00:37:13.602>questions, <00:37:13.758>if <00:37:13.913>you <00:37:14.069>wouldn't <00:37:14.225>mind,

674
00:37:14.785 --> 00:37:18.785
<00:37:14.785>just <00:37:14.924>unshare <00:37:15.065>your <00:37:15.205>screen <00:37:15.345>so <00:37:15.484>that <00:37:15.625>I <00:37:15.765>can, <00:37:15.904>uh, <00:37:16.045>show <00:37:16.185>them.

675
00:37:19.495 --> 00:37:21.655
<00:37:19.495>Okay? <00:37:20.895>Okay.

676
00:37:22.675 --> 00:37:25.695
<00:37:22.675>Uh, <00:37:22.830>so <00:37:22.986>not <00:37:23.141>surprisingly, <00:37:23.297>I've <00:37:23.452>got <00:37:23.608>a <00:37:23.763>couple <00:37:23.919>of <00:37:24.075>questions

677
00:37:25.695 --> 00:37:28.295
<00:37:25.695>of <00:37:25.870>my <00:37:26.045>own, <00:37:26.220>but, <00:37:26.395>uh, <00:37:26.570>we'll <00:37:26.745>get <00:37:26.920>through, <00:37:27.095>uh,

678
00:37:28.295 --> 00:37:29.495
<00:37:28.295>the <00:37:28.655>audience <00:37:29.015>questions <00:37:29.375>first.

679
00:37:29.715 --> 00:37:32.775
<00:37:29.715>Um, <00:37:29.890>uh, <00:37:30.065>firstly <00:37:30.240>actually <00:37:30.415>here <00:37:30.590>from <00:37:30.765>Raul <00:37:30.940>is, <00:37:31.115>uh,

680
00:37:33.125 --> 00:37:36.095
<00:37:33.125>it's <00:37:33.325>probably <00:37:33.525>more <00:37:33.725>of <00:37:33.925>a <00:37:34.125>question <00:37:34.325>for, <00:37:34.525>uh,

681
00:37:36.195 --> 00:37:37.575
<00:37:36.195>for <00:37:36.816>Bitcoin <00:37:37.437>association,

682
00:37:37.675 --> 00:37:39.415
<00:37:37.675>but <00:37:37.908>it's, <00:37:38.141>uh, <00:37:38.375>it's <00:37:38.608>an <00:37:38.841>important <00:37:39.075>topic.

683
00:37:39.635 --> 00:37:42.015
<00:37:39.635>Um, <00:37:39.868>Raul <00:37:40.101>asks, <00:37:40.335>is <00:37:40.568>there <00:37:40.801>any <00:37:41.035>workshop

684
00:37:42.115 --> 00:37:44.215
<00:37:42.115>or <00:37:42.464>course <00:37:42.814>to <00:37:43.165>learn, <00:37:43.515>uh,

685
00:37:44.215 --> 00:37:46.855
<00:37:44.215>Bitcoin <00:37:44.448>SV <00:37:44.681>programming, <00:37:44.915>uh, <00:37:45.148>for <00:37:45.381>normal <00:37:45.615>people?

686
00:37:47.015 --> 00:37:49.175
<00:37:47.015>I <00:37:47.295>mean, <00:37:47.575>without <00:37:47.855>prior <00:37:48.134>knowledge, <00:37:48.415>um,

687
00:37:50.325 --> 00:37:53.255
<00:37:50.325>this <00:37:50.480>is <00:37:50.636>certainly <00:37:50.791>something <00:37:50.947>that, <00:37:51.102>uh, <00:37:51.258>I <00:37:51.413>expect <00:37:51.569>a <00:37:51.725>lot

688
00:37:53.255 --> 00:37:56.655
<00:37:53.255>of <00:37:53.382>people <00:37:53.509>are <00:37:53.636>gonna <00:37:53.764>ask, <00:37:53.891>uh, <00:37:54.018>over, <00:37:54.145>over <00:37:54.273>the <00:37:54.400>next <00:37:54.527>few <00:37:54.655>months.

689
00:37:57.195 --> 00:37:59.575
<00:37:57.195>Um, <00:37:57.428>so <00:37:57.661>the <00:37:57.895>short <00:37:58.128>answer <00:37:58.361>is, <00:37:58.595>uh,

690
00:37:59.575 --> 00:38:02.895
<00:37:59.575>there <00:37:59.730>are <00:37:59.886>some <00:38:00.041>resources <00:38:00.197>out, <00:38:00.352>out <00:38:00.508>right <00:38:00.663>now, <00:38:00.819>um, <00:38:00.975>uh,

691
00:38:02.895 --> 00:38:04.895
<00:38:02.895>including <00:38:03.245>the <00:38:03.595>Bitcoin, <00:38:03.945>uh, <00:38:04.295>Wiki,

692
00:38:04.895 --> 00:38:09.215
<00:38:04.895>which <00:38:05.050>you <00:38:05.206>can <00:38:05.361>find <00:38:05.517>on <00:38:05.672>Wiki <00:38:05.828>dot <00:38:05.983>bitcoin <00:38:06.139>sv.io, <00:38:06.295>um,

693
00:38:09.305 --> 00:38:12.495
<00:38:09.305>which <00:38:09.444>is <00:38:09.585>a <00:38:09.725>great <00:38:09.865>place <00:38:10.004>to <00:38:10.145>start <00:38:10.285>learning, <00:38:10.424>learning <00:38:10.565>the, <00:38:10.705>um,

694
00:38:12.635 --> 00:38:14.815
<00:38:12.635>the <00:38:12.868>fundamentals <00:38:13.101>I <00:38:13.335>guess, <00:38:13.568>of <00:38:13.801>Bitcoin <00:38:14.035>SV

695
00:38:14.815 --> 00:38:19.215
<00:38:14.815>and <00:38:14.955>in <00:38:15.095>particular, <00:38:15.235>great <00:38:15.375>place <00:38:15.515>to, <00:38:15.655>uh, <00:38:15.795>unlearn <00:38:15.935>some <00:38:16.075>of <00:38:16.215>the,

696
00:38:19.435 --> 00:38:23.735
<00:38:19.435>um, <00:38:19.575>the <00:38:19.715>ideas <00:38:19.855>around, <00:38:19.995>uh, <00:38:20.134>uh, <00:38:20.275>BTC, <00:38:20.415>which <00:38:20.555>are, <00:38:20.695>are <00:38:20.835>actually,

697
00:38:23.835 --> 00:38:26.815
<00:38:23.835>uh, <00:38:24.010>just, <00:38:24.185>uh, <00:38:24.360>not <00:38:24.535>applic, <00:38:24.710>uh, <00:38:24.885>not <00:38:25.060>applicable <00:38:25.235>or,

698
00:38:27.235 --> 00:38:28.775
<00:38:27.235>or <00:38:27.512>just <00:38:27.789>plain <00:38:28.066>wrong <00:38:28.343>when <00:38:28.621>you,

699
00:38:28.775 --> 00:38:30.535
<00:38:28.775>when <00:38:29.055>you're <00:38:29.335>talking <00:38:29.615>about <00:38:29.895>Bitcoin <00:38:30.175>sv.

700
00:38:30.675 --> 00:38:32.495
<00:38:30.675>So <00:38:30.955>that's <00:38:31.235>a <00:38:31.515>good <00:38:31.795>starting <00:38:32.075>point.

701
00:38:32.555 --> 00:38:36.965
<00:38:32.555>But <00:38:32.710>the, <00:38:32.866>um, <00:38:33.021>uh, <00:38:33.177>the <00:38:33.332>Bitcoin <00:38:33.488>Association <00:38:33.643>has <00:38:33.799>a, <00:38:33.955>um,

702
00:38:36.985 --> 00:38:40.285
<00:38:36.985>an <00:38:37.160>education <00:38:37.335>program, <00:38:37.510>uh, <00:38:37.685>in <00:38:37.860>the <00:38:38.035>works <00:38:38.210>right <00:38:38.385>now.

703
00:38:40.505 --> 00:38:44.005
<00:38:40.505>Um, <00:38:40.680>it's, <00:38:40.855>it's <00:38:41.030>well <00:38:41.205>and <00:38:41.380>truly, <00:38:41.555>uh, <00:38:41.730>coming <00:38:41.905>along

704
00:38:44.005 --> 00:38:45.725
<00:38:44.005>and <00:38:44.285>they're <00:38:44.565>developing <00:38:44.845>a <00:38:45.125>full <00:38:45.405>curriculum.

705
00:38:45.865 --> 00:38:49.325
<00:38:45.865>So, <00:38:45.992>um, <00:38:46.119>later <00:38:46.246>this <00:38:46.374>year, <00:38:46.501>they <00:38:46.628>expect <00:38:46.755>to <00:38:46.883>be <00:38:47.010>released <00:38:47.137>in <00:38:47.265>the,

706
00:38:49.345 --> 00:38:51.005
<00:38:49.345>um, <00:38:49.694>the <00:38:50.044>first <00:38:50.395>course <00:38:50.745>materials

707
00:38:51.105 --> 00:38:53.645
<00:38:51.105>or <00:38:51.260>actually, <00:38:51.416>uh, <00:38:51.571>courses <00:38:51.727>that, <00:38:51.882>that, <00:38:52.038>that <00:38:52.193>you <00:38:52.349>can <00:38:52.505>take.

708
00:38:54.265 --> 00:38:57.005
<00:38:54.265>Um, <00:38:54.404>and <00:38:54.545>the <00:38:54.685>goal <00:38:54.825>is <00:38:54.964>for <00:38:55.105>those <00:38:55.245>courses <00:38:55.384>to <00:38:55.525>be <00:38:55.665>available,

709
00:38:57.025 --> 00:38:59.885
<00:38:57.025>either <00:38:57.200>as, <00:38:57.375>you <00:38:57.550>know, <00:38:57.725>uh, <00:38:57.900>delivered <00:38:58.075>in <00:38:58.250>person <00:38:58.425>or,

710
00:38:59.945 --> 00:39:04.085
<00:38:59.945>or <00:39:00.100>online, <00:39:00.256>um, <00:39:00.411>and, <00:39:00.567>um, <00:39:00.722>and <00:39:00.878>other <00:39:01.033>formats <00:39:01.189>as <00:39:01.345>well.

711
00:39:04.665 --> 00:39:07.045
<00:39:04.665>Um, <00:39:04.865>and <00:39:05.065>they're <00:39:05.265>meant <00:39:05.465>to <00:39:05.665>target <00:39:05.865>both <00:39:06.065>beginner,

712
00:39:07.045 --> 00:39:08.565
<00:39:07.045>intermediate, <00:39:07.729>and <00:39:08.413>advanced.

713
00:39:08.905 --> 00:39:11.125
<00:39:08.905>So, <00:39:09.185>um, <00:39:09.465>in <00:39:09.745>the <00:39:10.025>short <00:39:10.305>term,

714
00:39:11.155 --> 00:39:13.005
<00:39:11.155>Bitcoin <00:39:11.355>wiki <00:39:11.555>is <00:39:11.755>a <00:39:11.955>good <00:39:12.155>place <00:39:12.355>to <00:39:12.555>start.

715
00:39:13.225 --> 00:39:15.765
<00:39:13.225>And, <00:39:13.424>uh, <00:39:13.625>slack <00:39:13.825>channels, <00:39:14.025>the <00:39:14.225>various <00:39:14.424>Slack <00:39:14.625>channels

716
00:39:15.765 --> 00:39:19.045
<00:39:15.765>and <00:39:15.920>telegram <00:39:16.076>channels, <00:39:16.231>um, <00:39:16.387>uh, <00:39:16.542>the <00:39:16.698>Esri <00:39:16.853>channel <00:39:17.009>is <00:39:17.165>a,

717
00:39:19.045 --> 00:39:20.845
<00:39:19.045>is <00:39:19.245>a <00:39:19.445>great <00:39:19.645>place <00:39:19.845>to <00:39:20.045>find <00:39:20.245>knowledgeable <00:39:20.445>people.

718
00:39:21.665 --> 00:39:24.845
<00:39:21.665>So, <00:39:21.792>um, <00:39:21.919>uh, <00:39:22.046>you, <00:39:22.174>you're <00:39:22.301>not <00:39:22.428>sure <00:39:22.555>what <00:39:22.683>of <00:39:22.810>places <00:39:22.937>to <00:39:23.065>go

719
00:39:24.845 --> 00:39:26.245
<00:39:24.845>to <00:39:25.096>learn <00:39:25.348>right <00:39:25.600>now, <00:39:25.853>but, <00:39:26.105>uh,

720
00:39:26.305 --> 00:39:28.045
<00:39:26.305>but <00:39:26.480>keep <00:39:26.654>your <00:39:26.830>eye <00:39:27.004>out <00:39:27.180>for <00:39:27.355>that <00:39:27.529>later <00:39:27.705>on.

721
00:39:29.265 --> 00:39:32.485
<00:39:29.265>So, <00:39:29.464>jwe, <00:39:29.665>we'll, <00:39:29.865>uh, <00:39:30.065>we'll, <00:39:30.265>divine <00:39:30.464>asks, <00:39:30.665>uh,

722
00:39:32.585 --> 00:39:34.725
<00:39:32.585>can <00:39:32.818>we <00:39:33.051>make <00:39:33.285>non <00:39:33.518>fungible <00:39:33.751>tokens, <00:39:33.985>uh,

723
00:39:34.725 --> 00:39:38.005
<00:39:34.725>with <00:39:34.865>the <00:39:35.005>op <00:39:35.145>push <00:39:35.285>TX <00:39:35.424>method <00:39:35.565>so <00:39:35.705>that <00:39:35.845>each <00:39:35.985>token, <00:39:36.125>uh,

724
00:39:38.005 --> 00:39:39.685
<00:39:38.005>could <00:39:38.285>have <00:39:38.565>a <00:39:38.845>unique <00:39:39.125>serial <00:39:39.405>number?

725
00:39:40.985 --> 00:39:42.565
<00:39:40.985>Oh, <00:39:41.218>yes, <00:39:41.451>that's <00:39:41.685>a <00:39:41.918>very <00:39:42.151>good <00:39:42.385>question.

726
00:39:42.665 --> 00:39:46.685
<00:39:42.665>So, <00:39:42.792>uh, <00:39:42.919>as <00:39:43.046>I <00:39:43.174>just <00:39:43.301>mentioned, <00:39:43.428>we, <00:39:43.555>um, <00:39:43.683>we, <00:39:43.810>if <00:39:43.937>you <00:39:44.065>go

727
00:39:46.685 --> 00:39:47.885
<00:39:46.685>to <00:39:47.045>our <00:39:47.405>official <00:39:47.765>website,

728
00:39:48.025 --> 00:39:50.845
<00:39:48.025>and <00:39:48.225>then, <00:39:48.425>which <00:39:48.625>links <00:39:48.825>to <00:39:49.025>our <00:39:49.225>medium.com, <00:39:49.425>uh,

729
00:39:50.865 --> 00:39:52.005
<00:39:50.865>series <00:39:51.891>articles.

730
00:39:52.185 --> 00:39:54.685
<00:39:52.185>So <00:39:52.340>the <00:39:52.496>latest, <00:39:52.651>uh, <00:39:52.807>we <00:39:52.962>release <00:39:53.118>is <00:39:53.273>how <00:39:53.429>do <00:39:53.585>you,

731
00:39:55.145 --> 00:39:58.525
<00:39:55.145>how <00:39:55.320>do <00:39:55.495>you <00:39:55.670>use <00:39:55.845>Apple's <00:39:56.020>transaction <00:39:56.195>to, <00:39:56.370>to, <00:39:56.545>uh,

732
00:39:58.905 --> 00:40:01.725
<00:39:58.905>to <00:39:59.255>issue <00:39:59.605>fungible <00:39:59.955>tokens, <00:40:00.305>right?

733
00:40:02.225 --> 00:40:04.965
<00:40:02.225>So <00:40:02.400>with <00:40:02.575>that <00:40:02.750>example, <00:40:02.924>you <00:40:03.100>can, <00:40:03.275>it's <00:40:03.450>not <00:40:03.625>difficult

734
00:40:04.965 --> 00:40:06.685
<00:40:04.965>to <00:40:05.245>extend <00:40:05.525>it <00:40:05.805>to <00:40:06.085>non <00:40:06.365>fungible.

735
00:40:06.865 --> 00:40:09.005
<00:40:06.865>So <00:40:07.145>think <00:40:07.424>about <00:40:07.705>this <00:40:07.984>way, <00:40:08.265>right?

736
00:40:09.545 --> 00:40:13.365
<00:40:09.545>So <00:40:09.685>the <00:40:09.825>functional <00:40:09.965>tokens <00:40:10.105>is, <00:40:10.245>uh, <00:40:10.385>for <00:40:10.525>each <00:40:10.665>token <00:40:10.805>type <00:40:10.945>you

737
00:40:13.505 --> 00:40:16.685
<00:40:13.505>for <00:40:13.660>each, <00:40:13.816>um, <00:40:13.971>each <00:40:14.127>token <00:40:14.282>for, <00:40:14.438>uh, <00:40:14.593>so <00:40:14.749>far, <00:40:14.905>sorry,

738
00:40:16.745 --> 00:40:18.405
<00:40:16.745>for <00:40:16.978>each <00:40:17.211>owner, <00:40:17.444>you <00:40:17.678>can <00:40:17.911>have <00:40:18.145>a,

739
00:40:18.965 --> 00:40:20.605
<00:40:18.965>a <00:40:19.245>certain <00:40:19.525>number <00:40:19.805>of <00:40:20.085>tokens, <00:40:20.365>right?

740
00:40:20.905 --> 00:40:24.125
<00:40:20.905>So <00:40:21.032>when <00:40:21.159>you <00:40:21.286>transfer <00:40:21.414>the <00:40:21.541>tokens, <00:40:21.668>you <00:40:21.795>have <00:40:21.923>to <00:40:22.050>make <00:40:22.177>sure <00:40:22.305>the,

741
00:40:24.295 --> 00:40:27.995
<00:40:24.295>the <00:40:24.495>to <00:40:24.695>token <00:40:24.895>number <00:40:25.095>of <00:40:25.295>tokens <00:40:25.495>doesn't <00:40:25.695>change

742
00:40:28.295 --> 00:40:29.595
<00:40:28.295>before <00:40:28.685>and <00:40:29.075>afterwards, <00:40:29.464>right?

743
00:40:29.595 --> 00:40:31.315
<00:40:29.595>They <00:40:29.828>have <00:40:30.061>to <00:40:30.294>equal <00:40:30.528>whatever <00:40:30.761>you <00:40:30.995>have

744
00:40:31.315 --> 00:40:34.755
<00:40:31.315>before <00:40:31.548>you <00:40:31.781>have, <00:40:32.015>uh, <00:40:32.248>once <00:40:32.481>you <00:40:32.715>transfer,

745
00:40:34.775 --> 00:40:36.395
<00:40:34.775>you <00:40:35.008>still <00:40:35.241>have <00:40:35.475>same <00:40:35.708>number <00:40:35.941>of <00:40:36.175>tokens.

746
00:40:36.615 --> 00:40:39.835
<00:40:36.615>So <00:40:36.814>there <00:40:37.015>you're <00:40:37.214>comparing <00:40:37.415>the <00:40:37.615>numerical <00:40:37.814>equality, <00:40:38.015>right?

747
00:40:40.295 --> 00:40:42.635
<00:40:40.295>So <00:40:40.450>for <00:40:40.606>fungible, <00:40:40.761>the <00:40:40.917>only <00:40:41.072>thing <00:40:41.228>you <00:40:41.383>have <00:40:41.539>to <00:40:41.695>change

748
00:40:43.375 --> 00:40:45.315
<00:40:43.375>is <00:40:43.725>instead <00:40:44.075>of <00:40:44.425>numerical <00:40:44.775>equality,

749
00:40:45.735 --> 00:40:47.395
<00:40:45.735>you <00:40:46.085>use <00:40:46.435>set <00:40:46.785>equality, <00:40:47.135>right?

750
00:40:47.495 --> 00:40:51.395
<00:40:47.495>So <00:40:47.670>instead <00:40:47.845>of <00:40:48.020>each, <00:40:48.194>each, <00:40:48.370>each <00:40:48.545>puff, <00:40:48.720>for <00:40:48.895>example,

751
00:40:51.495 --> 00:40:53.235
<00:40:51.495>is <00:40:51.728>probably <00:40:51.961>how <00:40:52.194>many <00:40:52.428>tokens <00:40:52.661>you <00:40:52.895>have.

752
00:40:53.575 --> 00:40:56.115
<00:40:53.575>So <00:40:53.750>it <00:40:53.924>will <00:40:54.100>be <00:40:54.274>a, <00:40:54.450>a <00:40:54.625>set <00:40:54.799>of <00:40:54.975>tokens.

753
00:40:56.255 --> 00:40:58.355
<00:40:56.255>So <00:40:56.430>you <00:40:56.605>have <00:40:56.780>token <00:40:56.955>A, <00:40:57.130>B, <00:40:57.305>and <00:40:57.480>C, <00:40:57.655>right?

754
00:40:58.695 --> 00:41:02.835
<00:40:58.695>So <00:40:58.822>when <00:40:58.949>you, <00:40:59.076>after <00:40:59.204>you <00:40:59.331>transfer, <00:40:59.458>you <00:40:59.585>make <00:40:59.713>sure, <00:40:59.840>uh, <00:40:59.967>a <00:41:00.095>set

755
00:41:02.835 --> 00:41:05.955
<00:41:02.835>of <00:41:02.990>tokens <00:41:03.146>in <00:41:03.301>output <00:41:03.457>is <00:41:03.612>going <00:41:03.768>to <00:41:03.923>be <00:41:04.079>the <00:41:04.235>same.

756
00:41:06.375 --> 00:41:07.955
<00:41:06.375>You <00:41:06.655>still <00:41:06.935>have <00:41:07.215>A, <00:41:07.495>B, <00:41:07.775>C.

757
00:41:08.135 --> 00:41:10.955
<00:41:08.135>And <00:41:08.310>so <00:41:08.485>instead <00:41:08.660>of <00:41:08.835>numbers, <00:41:09.010>you <00:41:09.185>have <00:41:09.360>a <00:41:09.535>set.

758
00:41:11.455 --> 00:41:15.875
<00:41:11.455>So <00:41:11.630>instead <00:41:11.805>of <00:41:11.980>comparing <00:41:12.154>them, <00:41:12.330>equality <00:41:12.505>numerically <00:41:12.680>you, <00:41:12.855>you,

759
00:41:15.895 --> 00:41:18.475
<00:41:15.895>you <00:41:16.070>check <00:41:16.245>the <00:41:16.420>set <00:41:16.595>equality, <00:41:16.770>I <00:41:16.945>think <00:41:17.120>the, <00:41:17.295>the,

760
00:41:18.495 --> 00:41:22.035
<00:41:18.495>you <00:41:18.611>are <00:41:18.728>not <00:41:18.845>the <00:41:18.961>first <00:41:19.078>person <00:41:19.194>asking <00:41:19.311>this, <00:41:19.428>so <00:41:19.545>I, <00:41:19.661>yeah, <00:41:19.778>I <00:41:19.895>may,

761
00:41:22.095 --> 00:41:23.435
<00:41:22.095>uh, <00:41:22.698>update <00:41:23.301>it

762
00:41:23.435 --> 00:41:26.195
<00:41:23.435>or <00:41:23.610>write <00:41:23.785>another <00:41:23.960>article <00:41:24.134>how <00:41:24.310>to <00:41:24.485>do <00:41:24.660>five <00:41:24.835>joggings

763
00:41:26.195 --> 00:41:29.635
<00:41:26.195>and, <00:41:26.395>uh, <00:41:26.595>uh, <00:41:26.795>give <00:41:26.995>you <00:41:27.195>some, <00:41:27.395>uh, <00:41:27.595>code.

764
00:41:30.095 --> 00:41:31.315
<00:41:30.095>So, <00:41:30.369>very <00:41:30.644>good <00:41:30.918>question, <00:41:31.193>yes.

765
00:41:33.335 --> 00:41:35.505
<00:41:33.335>Okay. <00:41:33.510>So, <00:41:33.685>uh, <00:41:33.860>a <00:41:34.035>couple <00:41:34.210>of <00:41:34.385>questions <00:41:34.560>from <00:41:34.735>me.

766
00:41:35.725 --> 00:41:40.385
<00:41:35.725>Um, <00:41:35.832>uh, <00:41:35.940>as <00:41:36.048>you <00:41:36.155>know, <00:41:36.263>I <00:41:36.371>I, <00:41:36.478>I, <00:41:36.586>I'm <00:41:36.694>building <00:41:36.801>a <00:41:36.909>tool <00:41:37.017>that's, <00:41:37.125>uh,

767
00:41:40.505 --> 00:41:42.905
<00:41:40.505>a <00:41:40.645>long, <00:41:40.785>long <00:41:40.925>way <00:41:41.065>behind <00:41:41.205>yours <00:41:41.345>in <00:41:41.485>terms <00:41:41.625>of <00:41:41.765>its, <00:41:41.905>uh,

768
00:41:43.245 --> 00:41:44.345
<00:41:43.245>its <00:41:43.740>development <00:41:44.234>progress,

769
00:41:44.485 --> 00:41:46.905
<00:41:44.485>but <00:41:44.660>it's <00:41:44.835>also, <00:41:45.010>uh, <00:41:45.185>I <00:41:45.360>guess <00:41:45.535>quite <00:41:45.710>differently <00:41:45.885>targeted.

770
00:41:47.055 --> 00:41:49.625
<00:41:47.055>It's, <00:41:47.288>it, <00:41:47.521>uh, <00:41:47.754>it, <00:41:47.988>it's <00:41:48.221>intended <00:41:48.455>for

771
00:41:50.345 --> 00:41:51.785
<00:41:50.345>probably <00:41:50.604>a <00:41:50.863>lower <00:41:51.122>level <00:41:51.381>of <00:41:51.640>programming.

772
00:41:52.165 --> 00:41:54.705
<00:41:52.165>Um, <00:41:52.320>and <00:41:52.476>I'm <00:41:52.631>interested <00:41:52.787>in <00:41:52.942>how <00:41:53.098>that <00:41:53.253>might <00:41:53.409>be <00:41:53.565>able

773
00:41:54.705 --> 00:41:56.145
<00:41:54.705>to <00:41:55.029>integrate <00:41:55.353>with <00:41:55.677>scrt <00:41:56.001>or,

774
00:41:56.205 --> 00:41:59.545
<00:41:56.205>or <00:41:56.345>be, <00:41:56.485>uh, <00:41:56.625>be <00:41:56.765>a <00:41:56.904>useful <00:41:57.045>tool <00:41:57.185>for, <00:41:57.325>for <00:41:57.465>escr <00:41:57.605>even.

775
00:42:00.005 --> 00:42:01.105
<00:42:00.005>But, <00:42:00.500>um, <00:42:00.995>uh,

776
00:42:01.105 --> 00:42:05.385
<00:42:01.105>before <00:42:01.221>we <00:42:01.338>get <00:42:01.455>to <00:42:01.571>that, <00:42:01.688>how <00:42:01.805>do <00:42:01.921>you <00:42:02.038>have <00:42:02.155>a <00:42:02.271>model, <00:42:02.388>I <00:42:02.505>guess,

777
00:42:05.385 --> 00:42:06.665
<00:42:05.385>in <00:42:05.673>mind <00:42:05.961>for <00:42:06.249>code <00:42:06.537>reuse?

778
00:42:06.885 --> 00:42:10.465
<00:42:06.885>Uh, <00:42:07.025>let's <00:42:07.165>say <00:42:07.305>I <00:42:07.445>wanted <00:42:07.585>to <00:42:07.725>build <00:42:07.865>a <00:42:08.005>sort <00:42:08.145>of <00:42:08.285>a,

779
00:42:10.785 --> 00:42:15.065
<00:42:10.785>a <00:42:10.984>functional <00:42:11.185>library <00:42:11.384>for, <00:42:11.585>um, <00:42:11.785>uh, <00:42:11.984>let's <00:42:12.185>say

780
00:42:15.065 --> 00:42:17.905
<00:42:15.065>for <00:42:15.265>argument's <00:42:15.465>sake, <00:42:15.665>E-C-D-S-A <00:42:15.865>math, <00:42:16.065>uh, <00:42:16.265>sorry, <00:42:16.465>uh,

781
00:42:17.905 --> 00:42:19.345
<00:42:17.905>elliptic <00:42:18.337>curve <00:42:18.769>math, <00:42:19.201>um,

782
00:42:20.175 --> 00:42:22.545
<00:42:20.175>with <00:42:20.455>functions <00:42:20.735>like <00:42:21.015>point <00:42:21.295>multiplication <00:42:21.575>and,

783
00:42:22.965 --> 00:42:24.865
<00:42:22.965>and <00:42:23.165>things <00:42:23.365>like <00:42:23.565>that, <00:42:23.765>that, <00:42:23.965>uh, <00:42:24.165>that, <00:42:24.365>that,

784
00:42:24.865 --> 00:42:26.225
<00:42:24.865>that <00:42:25.109>can <00:42:25.354>be <00:42:25.599>expressed <00:42:25.844>in <00:42:26.089>script.

785
00:42:26.805 --> 00:42:29.025
<00:42:26.805>How <00:42:26.960>could <00:42:27.116>I <00:42:27.271>go <00:42:27.427>about <00:42:27.582>doing <00:42:27.738>that <00:42:27.893>with <00:42:28.049>s <00:42:28.205>script

786
00:42:29.225 --> 00:42:30.905
<00:42:29.225>and <00:42:29.424>then <00:42:29.625>make <00:42:29.825>a <00:42:30.025>library <00:42:30.225>available <00:42:30.424>for <00:42:30.625>other,

787
00:42:30.955 --> 00:42:34.585
<00:42:30.955>other <00:42:31.110>developers, <00:42:31.266>uh, <00:42:31.421>to <00:42:31.577>use <00:42:31.732>in <00:42:31.888>their <00:42:32.043>Scrt <00:42:32.199>Pro <00:42:32.355>projects?

788
00:42:34.645 --> 00:42:36.465
<00:42:34.645>Is <00:42:34.845>that <00:42:35.045>something <00:42:35.245>that <00:42:35.445>you <00:42:35.645>support <00:42:35.845>now <00:42:36.045>or?

789
00:42:37.605 --> 00:42:40.105
<00:42:37.605>Yes. <00:42:37.805>Uh, <00:42:38.005>so <00:42:38.205>there <00:42:38.405>are <00:42:38.605>actually <00:42:38.805>two <00:42:39.005>ways.

790
00:42:40.525 --> 00:42:42.665
<00:42:40.525>One, <00:42:40.725>you <00:42:40.925>can <00:42:41.125>do <00:42:41.325>it <00:42:41.525>now, <00:42:41.725>the <00:42:41.925>other,

791
00:42:42.905 --> 00:42:44.185
<00:42:42.905>I <00:42:43.097>think <00:42:43.289>there's <00:42:43.481>a <00:42:43.673>new <00:42:43.865>feature <00:42:44.057>coming.

792
00:42:44.605 --> 00:42:49.345
<00:42:44.605>So, <00:42:44.721>uh, <00:42:44.838>so <00:42:44.955>the <00:42:45.071>whole <00:42:45.188>thing <00:42:45.305>we <00:42:45.421>have, <00:42:45.538>uh, <00:42:45.655>why <00:42:45.771>we <00:42:45.888>have, <00:42:46.005>uh,

793
00:42:49.365 --> 00:42:51.985
<00:42:49.365>the <00:42:49.645>co <00:42:49.924>the <00:42:50.205>concept <00:42:50.484>of <00:42:50.765>abstraction

794
00:42:52.005 --> 00:42:55.985
<00:42:52.005>as <00:42:52.145>a <00:42:52.285>contract <00:42:52.425>is <00:42:52.565>the <00:42:52.705>number <00:42:52.845>one <00:42:52.985>reason <00:42:53.125>is <00:42:53.265>actually <00:42:53.405>to,

795
00:42:56.085 --> 00:42:57.465
<00:42:56.085>so <00:42:56.395>it <00:42:56.706>can <00:42:57.016>be <00:42:57.327>reused.

796
00:42:57.805 --> 00:43:01.425
<00:42:57.805>So <00:42:57.980>there's <00:42:58.154>a <00:42:58.330>syntax <00:42:58.504>called <00:42:58.680>import <00:42:58.855>contract, <00:42:59.029>right? <00:42:59.205>Mm-hmm.

797
00:43:01.765 --> 00:43:03.265
<00:43:01.765>So <00:43:02.035>existing <00:43:02.305>you <00:43:02.575>have, <00:43:02.845>for <00:43:03.115>example,

798
00:43:03.325 --> 00:43:05.305
<00:43:03.325>you <00:43:03.558>have <00:43:03.791>a <00:43:04.024>contract <00:43:04.258>called, <00:43:04.491>uh, <00:43:04.725>bar,

799
00:43:05.485 --> 00:43:08.865
<00:43:05.485>you <00:43:05.625>have <00:43:05.765>another <00:43:05.905>contract, <00:43:06.045>got <00:43:06.185>cut <00:43:06.325>food <00:43:06.465>do, <00:43:06.605>uh, <00:43:06.745>as <00:43:06.885>script.

800
00:43:09.125 --> 00:43:11.345
<00:43:09.125>So <00:43:09.325>in <00:43:09.525>the <00:43:09.725>bar <00:43:09.925>contract, <00:43:10.125>you <00:43:10.325>can <00:43:10.525>simply

801
00:43:11.855 --> 00:43:14.625
<00:43:11.855>just <00:43:12.205>import <00:43:12.555>the <00:43:12.905>full <00:43:13.255>contract.

802
00:43:14.695 --> 00:43:19.025
<00:43:14.695>Then <00:43:14.811>you <00:43:14.928>can, <00:43:15.045>you <00:43:15.161>can, <00:43:15.278>you <00:43:15.395>can <00:43:15.511>share <00:43:15.628>the <00:43:15.745>code <00:43:15.861>as, <00:43:15.978>uh, <00:43:16.095>any,

803
00:43:19.285 --> 00:43:22.465
<00:43:19.285>it <00:43:19.460>is <00:43:19.634>like <00:43:19.810>any <00:43:19.984>other <00:43:20.160>standard <00:43:20.335>language, <00:43:20.509>uh, <00:43:20.685>libraries.

804
00:43:22.485 --> 00:43:25.465
<00:43:22.485>For <00:43:22.718>example, <00:43:22.951>your, <00:43:23.185>in <00:43:23.418>your <00:43:23.651>example, <00:43:23.885>right?

805
00:43:25.485 --> 00:43:28.185
<00:43:25.485>You <00:43:25.612>can, <00:43:25.739>you, <00:43:25.866>if <00:43:25.994>you <00:43:26.121>can <00:43:26.248>write <00:43:26.375>your <00:43:26.503>code <00:43:26.630>in <00:43:26.757>as <00:43:26.885>script,

806
00:43:28.735 --> 00:43:31.985
<00:43:28.735>then <00:43:28.890>you <00:43:29.046>can <00:43:29.201>just <00:43:29.357>share <00:43:29.512>it <00:43:29.668>on <00:43:29.823>GitHub <00:43:29.979>or <00:43:30.135>anywhere

807
00:43:32.205 --> 00:43:34.825
<00:43:32.205>and <00:43:32.404>people <00:43:32.605>just <00:43:32.805>download <00:43:33.005>and <00:43:33.205>uh, <00:43:33.404>say <00:43:33.605>input.

808
00:43:35.165 --> 00:43:37.265
<00:43:35.165>So <00:43:35.398>going <00:43:35.631>forward, <00:43:35.865>you <00:43:36.098>can <00:43:36.331>even <00:43:36.565>imagine

809
00:43:37.845 --> 00:43:39.825
<00:43:37.845>we <00:43:38.125>have <00:43:38.404>our <00:43:38.685>own <00:43:38.964>package <00:43:39.245>manager.

810
00:43:40.095 --> 00:43:41.465
<00:43:40.095>It's <00:43:40.341>almost <00:43:40.588>like <00:43:40.834>a <00:43:41.081>Mt <00:43:41.328>m,

811
00:43:41.525 --> 00:43:45.665
<00:43:41.525>but <00:43:41.805>it <00:43:42.085>is, <00:43:42.365>uh, <00:43:42.645>uh, <00:43:42.925>grando

812
00:43:45.885 --> 00:43:49.185
<00:43:45.885>for <00:43:46.060>Java <00:43:46.235>or <00:43:46.410>or <00:43:46.585>stack <00:43:46.760>for, <00:43:46.935>for, <00:43:47.110>for <00:43:47.285>Hasco.

813
00:43:49.185 --> 00:43:50.905
<00:43:49.185>You <00:43:49.418>can <00:43:49.651>imagine <00:43:49.884>we <00:43:50.118>have <00:43:50.351>our <00:43:50.585>own

814
00:43:51.525 --> 00:43:53.505
<00:43:51.525>packet <00:43:51.875>manager <00:43:52.225>just <00:43:52.575>for <00:43:52.925>escrow.

815
00:43:53.645 --> 00:43:57.675
<00:43:53.645>So <00:43:53.820>it's <00:43:53.995>almost <00:43:54.170>like <00:43:54.345>a <00:43:54.520>unique, <00:43:54.695>uh, <00:43:54.870>it <00:43:55.045>is,

816
00:43:57.675 --> 00:43:58.755
<00:43:57.675>uh, <00:43:57.999>another <00:43:58.323>packet <00:43:58.647>manager.

817
00:43:58.855 --> 00:44:01.355
<00:43:58.855>So <00:43:59.055>you <00:43:59.255>don't <00:43:59.455>have <00:43:59.655>to <00:43:59.855>go <00:44:00.055>to <00:44:00.255>GitHub

818
00:44:01.415 --> 00:44:05.035
<00:44:01.415>or <00:44:01.555>what, <00:44:01.695>where <00:44:01.835>whatever <00:44:01.975>you <00:44:02.115>can <00:44:02.255>find <00:44:02.395>this <00:44:02.535>contract, <00:44:02.675>you <00:44:02.815>just

819
00:44:05.795 --> 00:44:08.835
<00:44:05.795>MPM <00:44:06.145>install <00:44:06.495>say, <00:44:06.845>Say <00:44:07.195>easy.

820
00:44:09.315 --> 00:44:10.315
<00:44:09.315>A, <00:44:09.540>that's <00:44:09.765>one <00:44:09.990>way, <00:44:10.215>right?

821
00:44:10.415 --> 00:44:13.275
<00:44:10.415>You <00:44:10.522>can, <00:44:10.630>if <00:44:10.738>you <00:44:10.845>can <00:44:10.953>write <00:44:11.061>in <00:44:11.168>as <00:44:11.276>script, <00:44:11.384>you <00:44:11.491>can <00:44:11.599>do <00:44:11.707>it <00:44:11.815>today

822
00:44:13.335 --> 00:44:16.595
<00:44:13.335>by <00:44:13.510>import <00:44:13.685>the <00:44:13.860>import <00:44:14.035>your <00:44:14.210>file <00:44:14.385>as <00:44:14.560>script <00:44:14.735>file.

823
00:44:16.815 --> 00:44:20.795
<00:44:16.815>So <00:44:16.931>another <00:44:17.048>way <00:44:17.165>is <00:44:17.281>I <00:44:17.398>think <00:44:17.515>what <00:44:17.631>you <00:44:17.748>are <00:44:17.865>hinting <00:44:17.981>is <00:44:18.098>you <00:44:18.215>have

824
00:44:21.345 --> 00:44:23.595
<00:44:21.345>your <00:44:21.694>native <00:44:22.044>script <00:44:22.395>implementation, <00:44:22.745>right?

825
00:44:23.655 --> 00:44:25.475
<00:44:23.655>So <00:44:23.888>you <00:44:24.121>may <00:44:24.355>not, <00:44:24.588>for <00:44:24.821>whatever <00:44:25.055>reason,

826
00:44:25.615 --> 00:44:30.115
<00:44:25.615>you're <00:44:25.770>not <00:44:25.926>writing <00:44:26.081>this, <00:44:26.237>this <00:44:26.392>function <00:44:26.548>in <00:44:26.703>a <00:44:26.859>script <00:44:27.015>either

827
00:44:30.215 --> 00:44:32.005
<00:44:30.215>for, <00:44:30.495>because <00:44:30.775>it's <00:44:31.055>optimized <00:44:31.335>or <00:44:31.615>whatever.

828
00:44:32.385 --> 00:44:35.045
<00:44:32.385>So <00:44:32.540>that's <00:44:32.696>another <00:44:32.851>syntax <00:44:33.007>where <00:44:33.162>we <00:44:33.318>are <00:44:33.473>going <00:44:33.629>to <00:44:33.785>write,

829
00:44:35.475 --> 00:44:37.805
<00:44:35.475>basically, <00:44:35.755>this <00:44:36.035>is <00:44:36.315>for <00:44:36.595>low <00:44:36.875>level

830
00:44:38.645 --> 00:44:40.535
<00:44:38.645>because <00:44:38.878>s <00:44:39.111>script <00:44:39.345>is <00:44:39.578>high <00:44:39.811>level, <00:44:40.045>right?

831
00:44:40.635 --> 00:44:44.545
<00:44:40.635>So, <00:44:40.762>but <00:44:40.889>what <00:44:41.016>we <00:44:41.144>also <00:44:41.271>want <00:44:41.398>to <00:44:41.525>people <00:44:41.653>who, <00:44:41.780>who <00:44:41.907>like <00:44:42.035>you,

832
00:44:44.545 --> 00:44:47.505
<00:44:44.545>they're, <00:44:44.778>they're <00:44:45.011>already <00:44:45.245>master <00:44:45.478>of <00:44:45.711>native <00:44:45.945>script.

833
00:44:47.725 --> 00:44:52.345
<00:44:47.725>So <00:44:47.880>we <00:44:48.036>are <00:44:48.191>allow <00:44:48.347>this <00:44:48.502>syntax <00:44:48.658>called <00:44:48.813>a <00:44:48.969>SM <00:44:49.125>is,

834
00:44:52.605 --> 00:44:57.225
<00:44:52.605>is <00:44:52.732>I <00:44:52.859>think <00:44:52.986>some <00:44:53.114>other <00:44:53.241>language <00:44:53.368>like, <00:44:53.495>uh, <00:44:53.623>uh, <00:44:53.750>I <00:44:53.877>think <00:44:54.005>c

835
00:44:57.445 --> 00:45:01.545
<00:44:57.445>and <00:44:57.585>also <00:44:57.725>Solidity <00:44:57.865>also <00:44:58.005>allows <00:44:58.145>you <00:44:58.285>to <00:44:58.425>embed <00:44:58.565>a <00:44:58.705>native <00:44:58.845>language

836
00:45:01.695 --> 00:45:04.345
<00:45:01.695>with <00:45:01.895>this, <00:45:02.095>uh, <00:45:02.295>little <00:45:02.495>bit, <00:45:02.695>uh, <00:45:02.895>you <00:45:03.095>know,

837
00:45:04.405 --> 00:45:07.025
<00:45:04.405>if <00:45:04.580>you <00:45:04.755>are <00:45:04.930>know <00:45:05.105>exactly <00:45:05.280>what <00:45:05.455>you <00:45:05.630>playing <00:45:05.805>with,

838
00:45:07.325 --> 00:45:10.945
<00:45:07.325>you <00:45:07.464>can <00:45:07.605>see <00:45:07.745>we <00:45:07.884>have <00:45:08.024>this <00:45:08.165>file <00:45:08.305>statement <00:45:08.444>called <00:45:08.585>a <00:45:08.725>SM,

839
00:45:11.005 --> 00:45:12.825
<00:45:11.005>and <00:45:11.238>inside <00:45:11.471>you <00:45:11.705>can <00:45:11.938>write <00:45:12.171>native <00:45:12.405>script

840
00:45:13.205 --> 00:45:17.065
<00:45:13.205>and <00:45:13.485>this <00:45:13.765>will <00:45:14.045>be <00:45:14.325>compiled <00:45:14.605>directly

841
00:45:17.135 --> 00:45:19.405
<00:45:17.135>into <00:45:17.415>a <00:45:17.695>script <00:45:17.975>code <00:45:18.255>as <00:45:18.535>well.

842
00:45:20.315 --> 00:45:23.045
<00:45:20.315>Yeah, <00:45:20.455>basically <00:45:20.595>you <00:45:20.735>have <00:45:20.875>one <00:45:21.015>way <00:45:21.155>which <00:45:21.295>you <00:45:21.435>can <00:45:21.575>work <00:45:21.715>today

843
00:45:23.345 --> 00:45:25.125
<00:45:23.345>by <00:45:23.578>writing <00:45:23.811>the <00:45:24.044>f <00:45:24.278>script <00:45:24.511>as <00:45:24.745>script,

844
00:45:25.305 --> 00:45:27.925
<00:45:25.305>but <00:45:25.504>if <00:45:25.705>you <00:45:25.904>only <00:45:26.105>have <00:45:26.305>script, <00:45:26.504>I <00:45:26.705>think

845
00:45:27.925 --> 00:45:30.365
<00:45:27.925>that's <00:45:28.125>one <00:45:28.325>thing <00:45:28.525>I, <00:45:28.725>I <00:45:28.925>need <00:45:29.125>to <00:45:29.325>add.

846
00:45:30.365 --> 00:45:33.125
<00:45:30.365>This <00:45:30.540>feature <00:45:30.714>basically <00:45:30.890>has <00:45:31.064>a <00:45:31.240>SM <00:45:31.415>you <00:45:31.589>can <00:45:31.765>embed.

847
00:45:33.925 --> 00:45:36.605
<00:45:33.925>Hmm, <00:45:34.100>that <00:45:34.275>sounds <00:45:34.450>like <00:45:34.625>something <00:45:34.800>we <00:45:34.975>should <00:45:35.150>definitely <00:45:35.325>have

848
00:45:36.685 --> 00:45:38.685
<00:45:36.685>a, <00:45:36.884>a, <00:45:37.085>a <00:45:37.285>talk <00:45:37.485>about <00:45:37.685>or <00:45:37.884>apply. <00:45:38.085>Yes,

849
00:45:39.065 --> 00:45:41.525
<00:45:39.065>Yes, <00:45:39.220>we <00:45:39.376>can <00:45:39.531>Definitely, <00:45:39.687>I <00:45:39.842>have <00:45:39.998>some <00:45:40.153>ideas <00:45:40.309>there <00:45:40.465>myself.

850
00:45:41.665 --> 00:45:45.725
<00:45:41.665>Uh, <00:45:41.840>in <00:45:42.015>terms <00:45:42.190>of <00:45:42.365>the, <00:45:42.540>the <00:45:42.715>interoperability, <00:45:42.890>um, <00:45:43.065>we,

851
00:45:45.855 --> 00:45:47.805
<00:45:45.855>we've <00:45:46.055>probably <00:45:46.255>just <00:45:46.455>got, <00:45:46.655>uh, <00:45:46.855>time <00:45:47.055>very <00:45:47.255>quickly

852
00:45:47.905 --> 00:45:49.645
<00:45:47.905>for <00:45:48.080>one <00:45:48.255>more <00:45:48.430>question <00:45:48.605>I'll <00:45:48.780>have <00:45:48.955>to <00:45:49.130>ask <00:45:49.305>you

853
00:45:49.645 --> 00:45:50.685
<00:45:49.645>to <00:45:49.879>keep <00:45:50.113>the <00:45:50.346>answer <00:45:50.581>short.

854
00:45:50.945 --> 00:45:54.165
<00:45:50.945>Um, <00:45:51.145>uh, <00:45:51.345>can <00:45:51.545>you <00:45:51.745>explain <00:45:51.945>your <00:45:52.145>thoughts <00:45:52.345>on

855
00:45:54.195 --> 00:45:58.245
<00:45:54.195>what <00:45:54.395>Ethereum <00:45:54.595>Solidity <00:45:54.795>plus <00:45:54.995>gas <00:45:55.195>solution <00:45:55.395>missed, <00:45:55.595>uh,

856
00:45:59.025 --> 00:46:01.365
<00:45:59.025>in <00:45:59.258>terms <00:45:59.491>of <00:45:59.725>allowing <00:45:59.958>scalable <00:46:00.191>scripting <00:46:00.425>contracts?

857
00:46:01.465 --> 00:46:04.205
<00:46:01.465>Is <00:46:01.640>the <00:46:01.815>idea <00:46:01.990>good <00:46:02.165>in <00:46:02.340>the <00:46:02.515>execution <00:46:02.690>role <00:46:02.865>or,

858
00:46:04.545 --> 00:46:06.645
<00:46:04.545>or <00:46:04.685>perhaps <00:46:04.825>the <00:46:04.965>idea <00:46:05.105>is <00:46:05.245>just <00:46:05.385>terrible <00:46:05.525>in <00:46:05.665>the <00:46:05.805>first <00:46:05.945>place?

859
00:46:07.925 --> 00:46:11.425
<00:46:07.925>Mm, <00:46:08.158>I, <00:46:08.391>yeah, <00:46:08.625>simple, <00:46:08.858>simple <00:46:09.091>is <00:46:09.325>wrong.

860
00:46:11.765 --> 00:46:15.865
<00:46:11.765>So <00:46:11.904>there <00:46:12.045>are <00:46:12.185>a <00:46:12.325>lot <00:46:12.464>of <00:46:12.605>reasons <00:46:12.745>I <00:46:12.884>think, <00:46:13.025>um, <00:46:13.165>Steve

861
00:46:15.885 --> 00:46:17.105
<00:46:15.885>and <00:46:16.251>Craig <00:46:16.617>cover <00:46:16.983>yesterday.

862
00:46:17.205 --> 00:46:19.505
<00:46:17.205>Why <00:46:17.380>we <00:46:17.555>don't, <00:46:17.730>the <00:46:17.904>whole <00:46:18.080>point <00:46:18.255>for <00:46:18.430>gas <00:46:18.605>is

863
00:46:19.505 --> 00:46:20.585
<00:46:19.505>because <00:46:19.829>you <00:46:20.153>can <00:46:20.477>have,

864
00:46:21.405 --> 00:46:23.665
<00:46:21.405>you <00:46:21.605>don't <00:46:21.805>know <00:46:22.005>whether <00:46:22.205>your <00:46:22.405>your <00:46:22.605>program <00:46:22.805>will,

865
00:46:23.735 --> 00:46:25.825
<00:46:23.735>will <00:46:23.968>ever <00:46:24.201>stop <00:46:24.435>the <00:46:24.668>hotting <00:46:24.901>problem, <00:46:25.135>right?

866
00:46:26.485 --> 00:46:29.735
<00:46:26.485>Because, <00:46:26.660>because <00:46:26.835>for <00:46:27.010>for <00:46:27.185>script, <00:46:27.360>we <00:46:27.535>don't <00:46:27.710>have <00:46:27.885>the,

867
00:46:29.795 --> 00:46:32.535
<00:46:29.795>the <00:46:30.028>ability <00:46:30.261>to <00:46:30.495>jump <00:46:30.728>a <00:46:30.961>loop <00:46:31.195>natively.

868
00:46:32.795 --> 00:46:35.575
<00:46:32.795>You <00:46:32.911>can <00:46:33.028>do <00:46:33.145>a <00:46:33.261>lot, <00:46:33.378>you <00:46:33.495>can <00:46:33.611>build <00:46:33.728>abstractions <00:46:33.845>on <00:46:33.961>top <00:46:34.078>of <00:46:34.195>it,

869
00:46:35.795 --> 00:46:37.775
<00:46:35.795>but <00:46:36.075>natively <00:46:36.355>you <00:46:36.635>cannot <00:46:36.915>jump <00:46:37.195>back.

870
00:46:37.875 --> 00:46:39.695
<00:46:37.875>So <00:46:38.075>we, <00:46:38.275>we <00:46:38.475>never <00:46:38.675>have <00:46:38.875>this <00:46:39.075>hotting <00:46:39.275>problem.

871
00:46:40.155 --> 00:46:42.735
<00:46:40.155>If <00:46:40.388>you <00:46:40.621>can <00:46:40.855>compile, <00:46:41.088>it <00:46:41.321>will <00:46:41.555>hot

872
00:46:42.735 --> 00:46:46.215
<00:46:42.735>because <00:46:42.968>the <00:46:43.201>script <00:46:43.435>execution <00:46:43.668>is <00:46:43.901>sequential, <00:46:44.135>right?

873
00:46:46.315 --> 00:46:48.775
<00:46:46.315>So <00:46:46.455>you <00:46:46.595>take <00:46:46.735>the <00:46:46.875>script, <00:46:47.015>you <00:46:47.155>run <00:46:47.295>from <00:46:47.435>the <00:46:47.575>first <00:46:47.715>bite

874
00:46:49.235 --> 00:46:52.095
<00:46:49.235>to <00:46:49.435>the <00:46:49.635>last <00:46:49.835>bite <00:46:50.035>by <00:46:50.235>code <00:46:50.435>of <00:46:50.635>code.

875
00:46:52.475 --> 00:46:54.735
<00:46:52.475>If <00:46:52.650>it's, <00:46:52.825>you <00:46:53.000>can <00:46:53.174>always, <00:46:53.350>there's <00:46:53.525>no <00:46:53.700>jumping <00:46:53.875>back.

876
00:46:54.735 --> 00:46:56.815
<00:46:54.735>So <00:46:54.935>you <00:46:55.135>can <00:46:55.335>always <00:46:55.535>sure <00:46:55.735>it <00:46:55.935>will <00:46:56.135>finish

877
00:46:57.325 --> 00:46:58.855
<00:46:57.325>because <00:46:57.669>you <00:46:58.013>can, <00:46:58.357>it's <00:46:58.702>fine.

878
00:46:58.955 --> 00:47:02.095
<00:46:58.955>It <00:46:59.154>fitting <00:46:59.355>wheezing, <00:46:59.555>uh, <00:46:59.755>wheezing <00:46:59.955>a <00:47:00.154>transaction, <00:47:00.355>right?

879
00:47:02.355 --> 00:47:04.455
<00:47:02.355>Versus <00:47:02.821>Ethereum <00:47:03.288>or <00:47:03.755>Solidity,

880
00:47:04.475 --> 00:47:07.855
<00:47:04.475>or <00:47:04.708>that's <00:47:04.941>a <00:47:05.174>jumping <00:47:05.408>instruction <00:47:05.641>and <00:47:05.875>loop.

881
00:47:08.155 --> 00:47:09.935
<00:47:08.155>You <00:47:08.388>don't <00:47:08.621>know <00:47:08.855>whether <00:47:09.088>it <00:47:09.321>will <00:47:09.555>add.

882
00:47:10.395 --> 00:47:14.875
<00:47:10.395>So <00:47:10.511>it <00:47:10.628>is, <00:47:10.745>it <00:47:10.861>is, <00:47:10.978>uh, <00:47:11.095>it's, <00:47:11.211>it's <00:47:11.328>a, <00:47:11.445>it <00:47:11.561>is <00:47:11.678>a <00:47:11.795>regress,

883
00:47:14.955 --> 00:47:18.195
<00:47:14.955>I <00:47:15.095>would <00:47:15.235>say <00:47:15.375>to, <00:47:15.515>to <00:47:15.654>put <00:47:15.795>that, <00:47:15.935>that <00:47:16.075>way <00:47:16.215>we <00:47:16.355>don't,

884
00:47:18.195 --> 00:47:20.755
<00:47:18.195>we <00:47:18.370>don't <00:47:18.545>need, <00:47:18.720>uh, <00:47:18.895>gas, <00:47:19.070>we <00:47:19.245>don't <00:47:19.420>need <00:47:19.595>gas,

885
00:47:20.895 --> 00:47:23.835
<00:47:20.895>and <00:47:21.128>it's, <00:47:21.361>uh, <00:47:21.595>much <00:47:21.828>similar, <00:47:22.061>more <00:47:22.295>secure.

886
00:47:24.055 --> 00:47:25.235
<00:47:24.055>You, <00:47:24.267>you, <00:47:24.479>you <00:47:24.692>are <00:47:24.904>always <00:47:25.117>hot,

887
00:47:27.045 --> 00:47:28.045
<00:47:27.045>For <00:47:27.495>sure. <00:47:27.945>Okay.

888
00:47:28.045 --> 00:47:31.565
<00:47:28.045>Um, <00:47:28.220>well <00:47:28.395>we, <00:47:28.570>uh, <00:47:28.745>need <00:47:28.920>to <00:47:29.095>wrap <00:47:29.270>up <00:47:29.445>now

889
00:47:31.565 --> 00:47:33.565
<00:47:31.565>because, <00:47:31.765>uh, <00:47:31.965>it's <00:47:32.165>only <00:47:32.365>a <00:47:32.565>couple <00:47:32.765>of <00:47:32.965>minutes

890
00:47:33.655 --> 00:47:34.965
<00:47:33.655>until <00:47:34.048>our <00:47:34.441>next <00:47:34.834>presentation.

891
00:47:35.345 --> 00:47:36.845
<00:47:35.345>Um, <00:47:35.615>so <00:47:35.884>thank <00:47:36.154>you <00:47:36.424>very <00:47:36.694>much.

892
00:47:37.065 --> 00:47:39.205
<00:47:37.065>Awe, <00:47:37.298>and, <00:47:37.531>uh, <00:47:37.765>looking <00:47:37.998>forward <00:47:38.231>to <00:47:38.465>working

893
00:47:39.205 --> 00:47:40.325
<00:47:39.205>with <00:47:39.406>you <00:47:39.608>more <00:47:39.809>in <00:47:40.011>the <00:47:40.212>future.