1
00:00:00,000 --> 00:00:08,000
Hi everyone, I just wanted to show off our new Zcash sidechain.

2
00:00:08,000 --> 00:00:16,500
So, this software is primarily for Linux, but if you're running Windows, you can use
a free piece of software, VirtualBox.

3
00:00:16,500 --> 00:00:23,500
I think Mac users have better experience with a different piece of software, but its
name escapes me right now.

4
00:00:23,500 --> 00:00:28,500
But once you have this thing, you can make little computers within computers, and
you can put Linux on there.

5
00:00:28,500 --> 00:00:35,000
This is Ubuntu, that's a version of Linux. All this is free software, so it's kind
of a neat trick.

6
00:00:35,000 --> 00:00:42,000
Once you get all that set up, you want to open up your Linux operating system, and I
have that here.

7
00:00:42,000 --> 00:00:51,500
And then you want to go to the internet and download, this is the drivechain.info
releases page, this little trophy.

8
00:00:51,500 --> 00:00:54,500
Here's where we host all the software files.

9
00:00:54,500 --> 00:01:00,000
You need to get the mainchain, and you need to get zside if you want to use it.

10
00:01:00,000 --> 00:01:05,000
We will put the latest version up here when it's ready, and I've downloaded them
all.

11
00:01:05,000 --> 00:01:14,000
When you get them all, they'll be in these tar.gz files, that you'll have to open
and then extract.

12
00:01:14,000 --> 00:01:19,000
They're compressed to save space, but you're going to uncompress them into these
folders.

13
00:01:19,500 --> 00:01:22,500
Now we're just going to run them all and take a look at them.

14
00:01:22,500 --> 00:01:28,500
To do that, you go into this bin folder for binary files, and you open a terminal
window.

15
00:01:28,500 --> 00:01:35,500
The Qt is the graphical user interface, so this is the one that you want with a Q.

16
00:01:38,500 --> 00:01:43,500
This is what it looks like when the blockchain is blank.

17
00:01:44,000 --> 00:01:52,000
We want to run it in something called write-test mode, so that we're all on our own
and we can just generate blocks as much as we want.

18
00:01:52,000 --> 00:01:54,000
We'll be God over there.

19
00:01:54,000 --> 00:02:00,000
This is the first piece of software. It looks just like Bitcoin Core, except it has
the sidechains tab.

20
00:02:00,000 --> 00:02:02,000
There's no sidechains here yet.

21
00:02:02,000 --> 00:02:04,000
We're going to add them now.

22
00:02:04,000 --> 00:02:08,000
Now we go into this second folder for the testchain.

23
00:02:08,000 --> 00:02:10,000
We're going to give this a run.

24
00:02:10,500 --> 00:02:19,500
Then we're going to do the same thing with the last piece of software, which is
zside, which is what we really want to look at today.

25
00:02:30,500 --> 00:02:36,500
This is all three softwares with no blocks and a brand new version of the
blockchain.

26
00:02:37,000 --> 00:02:41,000
I'm going to move all this stuff so that we can take a better look at it soon.

27
00:02:58,000 --> 00:03:01,000
Now we have three pieces of software. This is the mainchain.

28
00:03:01,500 --> 00:03:07,500
This would be Bitcoin Core 16.99 with BIP300/301 activated on it.

29
00:03:10,500 --> 00:03:12,500
We're in write-test mode for all three.

30
00:03:12,500 --> 00:03:18,500
This is the testchain. It's basically just a blank sidechain that does nothing, but
it can send and receive coins.

31
00:03:19,000 --> 00:03:33,000
This is zside. It has cool Zcash technology in it and a cool little user interface
that we built for that, which I think you're going to enjoy seeing.

32
00:03:34,000 --> 00:03:42,000
The first thing we have to do is, since sidechains are layer 2s, we have to link
them all up to our full node, which is this guy.

33
00:03:42,000 --> 00:03:44,000
This is the full node.

34
00:03:44,000 --> 00:03:47,000
There's actually a little trick for this.

35
00:03:49,000 --> 00:03:54,000
We have this little thing here.

36
00:03:56,000 --> 00:04:06,000
You have to restart, though. That's the only hitch. You have to close these pieces
of software down and restart them, which is a little annoying.

37
00:04:07,000 --> 00:04:11,000
Other than that, it's just clicking a button, which is pretty convenient.

38
00:04:11,500 --> 00:04:17,500
We use a command line to get them all back. We're on the same command as we did
before.

39
00:04:18,500 --> 00:04:26,500
Now they're all going to be connected. If you go to the parent chain tab, you see
that it's now connected to the mainchain.

40
00:04:27,500 --> 00:04:33,500
Now, since we're in write-test mode, we're going to be conjuring some blocks out of
thin air.

41
00:04:34,000 --> 00:04:42,000
On the debug window on the console, you can just make some blocks if you like.

42
00:04:42,000 --> 00:04:44,000
You can make as many as you like. Now we have coins.

43
00:04:44,000 --> 00:04:49,000
In particular, we're going to need to activate these sidechains, so we need some
information in order to do that.

44
00:04:56,000 --> 00:04:58,000
The sidechain parameters.

45
00:04:58,500 --> 00:05:01,500
Sidechain 0 is the test chain.

46
00:05:03,500 --> 00:05:05,500
We're going to add it.

47
00:05:05,500 --> 00:05:07,500
Create sidechain proposal.

48
00:05:17,500 --> 00:05:20,500
We will now click this button.

49
00:05:21,000 --> 00:05:27,000
We'll just do them one at a time, just so you can see them come to life.

50
00:05:40,000 --> 00:05:44,000
Generate another 20 blocks. Now it exists.

51
00:05:45,000 --> 00:05:48,500
Generate another 20 blocks. Now it exists.

52
00:05:52,500 --> 00:05:58,500
Now we will do zside.

53
00:06:14,500 --> 00:06:18,500
This is sidechain number 1. The sidechain has to know what number it is.

54
00:06:18,500 --> 00:06:21,500
Right now, you can only add them in order.

55
00:06:31,500 --> 00:06:35,500
It's much easier to add a sidechain in this test than it would normally be.

56
00:06:36,000 --> 00:06:45,000
We just shortened it for ease of testing and demonstration to 64 blocks, which is
obviously a very short amount of time.

57
00:06:45,000 --> 00:06:47,000
Anyway, now they exist.

58
00:06:47,000 --> 00:06:51,000
We will go to zside, parent chain, transfer.

59
00:06:51,000 --> 00:06:55,000
Here's all these ways of interacting with the sidechain.

60
00:06:55,000 --> 00:06:58,000
What we want to do now is transfer coins over.

61
00:06:58,000 --> 00:07:00,000
We're going to deposit to the sidechain.

62
00:07:00,000 --> 00:07:02,000
It gives us an address here.

63
00:07:02,000 --> 00:07:05,000
We can just copy it over and put it over here.

64
00:07:05,500 --> 00:07:11,500
Thanks to all these blocks I've been finding, I have all these coins.

65
00:07:12,500 --> 00:07:14,500
Let's just send 1,000 over.

66
00:07:16,500 --> 00:07:22,500
This thing will complain about the fee if it's set wrong because it's poorly
designed by whoever made it.

67
00:07:22,500 --> 00:07:24,500
It wasn't me.

68
00:07:25,500 --> 00:07:27,500
You have to type in some fee there.

69
00:07:27,500 --> 00:07:29,500
It can't be too high or too low.

70
00:07:30,000 --> 00:07:36,000
The other thing you need to do is, in order to find blocks, you have to enable Blind
merge mining.

71
00:07:36,000 --> 00:07:41,000
You have to go to BMM, Blind Merged Mining, and click Start.

72
00:07:43,000 --> 00:07:47,000
You can also do it manually, but I don't recommend that because it's pretty
confusing.

73
00:07:47,000 --> 00:07:49,000
We're going to mine blocks on the test chain as well.

74
00:07:49,000 --> 00:07:51,000
Why not?

75
00:07:51,000 --> 00:07:53,000
Oh, that's what I said not to do.

76
00:07:53,500 --> 00:07:55,500
Okay.

77
00:07:55,500 --> 00:07:57,500
Now we have...

78
00:07:57,500 --> 00:07:59,500
The blocks are being...

79
00:07:59,500 --> 00:08:03,500
It's going to try to find blocks in concert with the mainchain.

80
00:08:03,500 --> 00:08:05,500
Now we're going to generate...

81
00:08:05,500 --> 00:08:07,500
It's going to generate one block at a time.

82
00:08:10,500 --> 00:08:13,500
As you can see, we find a block here.

83
00:08:13,500 --> 00:08:15,500
We have a little thing here that you may be able to see.

84
00:08:15,500 --> 00:08:17,500
237 blocks.

85
00:08:17,500 --> 00:08:19,500
Now we have one block on Z side.

86
00:08:20,000 --> 00:08:24,000
And we also have one block on the test chain.

87
00:08:26,000 --> 00:08:28,000
So...

88
00:08:28,000 --> 00:08:33,000
The deposit can't go through until there's some confirmations on...

89
00:08:33,000 --> 00:08:36,000
At least one confirmation on both pieces of software.

90
00:08:38,000 --> 00:08:40,000
So, that was two blocks.

91
00:08:40,000 --> 00:08:42,000
And now it's over here as immature.

92
00:08:42,000 --> 00:08:48,000
We're going to keep finding blocks, block by block, until the coins become available
on...

93
00:08:48,500 --> 00:08:50,500
Z side, which they now are.

94
00:08:50,500 --> 00:08:52,500
So now we have our coins on Z side.

95
00:08:52,500 --> 00:08:56,500
And the coins are in a T address.

96
00:08:56,500 --> 00:08:58,500
Over here.

97
00:08:58,500 --> 00:09:00,500
That we can see.

98
00:09:00,500 --> 00:09:04,500
And we can see that it has two confirmations in this address.

99
00:09:04,500 --> 00:09:06,500
And if you want to shield these...

100
00:09:06,500 --> 00:09:10,500
You can use this Zcash tab to click shield.

101
00:09:10,500 --> 00:09:12,500
And shield a certain amount.

102
00:09:12,500 --> 00:09:15,500
So let's say you want to shield 40 coins.

103
00:09:15,500 --> 00:09:17,500
You click this button.

104
00:09:18,000 --> 00:09:21,000
And then it does some calculations.

105
00:09:21,000 --> 00:09:23,000
You know.

106
00:09:23,000 --> 00:09:25,000
In the background.

107
00:09:25,000 --> 00:09:29,000
But it's going to need more blocks to show up.

108
00:09:29,000 --> 00:09:31,000
On the right.

109
00:09:31,000 --> 00:09:33,000
Which is where it belongs.

110
00:09:33,000 --> 00:09:35,000
Now that it's a Z address.

111
00:09:35,000 --> 00:09:37,000
So you can see it went down to 659.

112
00:09:37,000 --> 00:09:39,000
The 40 coins are gone.

113
00:09:39,000 --> 00:09:41,000
But three blocks and then...

114
00:09:41,000 --> 00:09:43,000
Let's see, still three blocks.

115
00:09:45,000 --> 00:09:47,000
Let's see if we can get some...

116
00:09:48,000 --> 00:09:50,000
Five blocks.

117
00:09:50,000 --> 00:09:52,000
Here we go.

118
00:09:52,000 --> 00:09:54,000
And now you see 40.

119
00:09:54,000 --> 00:09:56,000
Minus the fee.

120
00:09:56,000 --> 00:09:58,000
As you may have noticed.

121
00:09:58,000 --> 00:10:00,000
This amount will be...

122
00:10:00,000 --> 00:10:02,000
There's a fixed shielding fee.

123
00:10:02,000 --> 00:10:04,000
In the world of Zcash.

124
00:10:04,000 --> 00:10:06,000
So let's do another example maybe.

125
00:10:06,000 --> 00:10:08,000
We'll do like 100.

126
00:10:08,000 --> 00:10:10,000
And we'll add the fee in.

127
00:10:10,000 --> 00:10:12,000
Put the fee in here.

128
00:10:12,000 --> 00:10:16,000
So that it comes out to a nice beautiful number.

129
00:10:16,500 --> 00:10:18,500
So we'll do that.

130
00:10:18,500 --> 00:10:20,500
And then we'll get more blocks on everything.

131
00:10:20,500 --> 00:10:22,500
When I do generate on the main chain.

132
00:10:22,500 --> 00:10:24,500
It's finding blocks on all the networks at once.

133
00:10:24,500 --> 00:10:26,500
You see even the test chain is going up to five.

134
00:10:26,500 --> 00:10:28,500
It's finding these blocks over here.

135
00:10:28,500 --> 00:10:30,500
Of course nothing has been deposited here.

136
00:10:30,500 --> 00:10:32,500
So there's no coins in the test chain.

137
00:10:32,500 --> 00:10:34,500
The parent chain on there knows.

138
00:10:34,500 --> 00:10:36,500
That there's a thousand coins.

139
00:10:36,500 --> 00:10:38,500
Here.

140
00:10:38,500 --> 00:10:40,500
So let's...

141
00:10:40,500 --> 00:10:42,500
Remember those calculations took a while.

142
00:10:42,500 --> 00:10:44,500
Oh this is funny.

143
00:10:45,000 --> 00:10:47,000
We've mined over here.

144
00:10:47,000 --> 00:10:49,000
We've mined the fee that it took to shield this.

145
00:10:49,000 --> 00:10:51,000
So we shielded this.

146
00:10:51,000 --> 00:10:53,000
And we also mined that.

147
00:10:53,000 --> 00:10:55,000
It showed up here as a...

148
00:10:55,000 --> 00:10:57,000
I forgot that that happened.

149
00:10:57,000 --> 00:10:59,000
So we should get another one.

150
00:10:59,000 --> 00:11:01,000
If we just keep mining.

151
00:11:01,000 --> 00:11:03,000
Keeps track of the confirmations.

152
00:11:03,000 --> 00:11:05,000
This is a change now.

153
00:11:05,000 --> 00:11:07,000
So it has less.

154
00:11:07,000 --> 00:11:09,000
So now we had our round number of 100 show up.

155
00:11:09,000 --> 00:11:11,000
And we should get another shielding fee.

156
00:11:11,000 --> 00:11:13,000
Should we not?

157
00:11:13,500 --> 00:11:15,500
So...

158
00:11:15,500 --> 00:11:17,500
Now we have some transparent coins and some shielded coins.

159
00:11:17,500 --> 00:11:19,500
And...

160
00:11:19,500 --> 00:11:21,500
We can...

161
00:11:21,500 --> 00:11:23,500
You know, send them around.

162
00:11:23,500 --> 00:11:25,500
Or...

163
00:11:25,500 --> 00:11:27,500
To another Z address and they'll be totally private.

164
00:11:27,500 --> 00:11:29,500
Or we can deshield them.

165
00:11:29,500 --> 00:11:31,500
So let's take...

166
00:11:31,500 --> 00:11:33,500
100 and we're going to say...

167
00:11:33,500 --> 00:11:35,500
Well we want...

168
00:11:35,500 --> 00:11:37,500
14 and then back.

169
00:11:37,500 --> 00:11:39,500
And we'll add the fee back in.

170
00:11:40,000 --> 00:11:42,000
Actually, I don't know what...

171
00:11:42,000 --> 00:11:44,000
I don't really remember where the fee will come out.

172
00:11:44,000 --> 00:11:46,000
So we'll see what happens with that.

173
00:11:46,000 --> 00:11:48,000
But it will come out to a new T address for us.

174
00:11:48,000 --> 00:11:50,000
When it does these operations,

175
00:11:50,000 --> 00:11:52,000
you can click this button

176
00:11:52,000 --> 00:11:54,000
and look at the history of what happened.

177
00:11:54,000 --> 00:11:56,000
Because it's kind of actually confusing

178
00:11:56,000 --> 00:11:58,000
without this button, so we added it.

179
00:11:58,000 --> 00:12:00,000
To figure out what's going on.

180
00:12:00,000 --> 00:12:02,000
Now we need some more blocks.

181
00:12:02,000 --> 00:12:04,000
And we deshield.

182
00:12:04,000 --> 00:12:06,000
So we're just going to find more blocks.

183
00:12:06,000 --> 00:12:08,000
You can see how the number of confirmations keeps going up.

184
00:12:08,500 --> 00:12:10,500
Keeps driving up the confirmations.

185
00:12:10,500 --> 00:12:12,500
Coins have.

186
00:12:16,500 --> 00:12:18,500
Great.

187
00:12:18,500 --> 00:12:20,500
Almost.

188
00:12:20,500 --> 00:12:22,500
There.

189
00:12:28,500 --> 00:12:30,500
Oh, we saw that vanish from that.

190
00:12:30,500 --> 00:12:32,500
Now we have...

191
00:12:32,500 --> 00:12:34,500
Success, success, success.

192
00:12:38,500 --> 00:12:40,500
Our 100 output is gone.

193
00:12:40,500 --> 00:12:42,500
Will it give us a new...

194
00:12:44,500 --> 00:12:46,500
There it is.

195
00:12:46,500 --> 00:12:48,500
85.9999.

196
00:12:48,500 --> 00:12:50,500
And 14.

197
00:12:50,500 --> 00:12:52,500
Oh wait, that's the shielding.

198
00:12:52,500 --> 00:12:54,500
Oh, there it is.

199
00:12:54,500 --> 00:12:56,500
14, 859, and then three of these.

200
00:12:56,500 --> 00:12:58,500
Okay, now.

201
00:12:58,500 --> 00:13:00,500
This is important.

202
00:13:00,500 --> 00:13:02,500
Because most of the people who use

203
00:13:02,500 --> 00:13:04,500
Zcash

204
00:13:04,500 --> 00:13:06,500
actually screw up

205
00:13:07,000 --> 00:13:09,000
and leak all the privacy

206
00:13:09,000 --> 00:13:11,000
that normally would have been added.

207
00:13:11,000 --> 00:13:13,000
So we've reduced...

208
00:13:13,000 --> 00:13:15,000
To stop the user from screwing it up

209
00:13:15,000 --> 00:13:17,000
we've reduced it to two steps called Melt and Cast.

210
00:13:17,000 --> 00:13:19,000
Now all you have to do is click Melt

211
00:13:19,000 --> 00:13:21,000
and it will shield

212
00:13:21,000 --> 00:13:23,000
all of your coins.

213
00:13:23,000 --> 00:13:25,000
And then you just click this button

214
00:13:25,000 --> 00:13:27,000
and then just wait.

215
00:13:27,000 --> 00:13:29,000
It won't... That's a good point.

216
00:13:29,000 --> 00:13:31,000
It won't shield these because

217
00:13:31,000 --> 00:13:33,000
it's so small that it can't pay the shielding fee.

218
00:13:33,500 --> 00:13:35,500
But it will melt all of your other coins.

219
00:13:37,500 --> 00:13:39,500
And then they'll show up over here

220
00:13:39,500 --> 00:13:41,500
this Available to Cast area.

221
00:13:41,500 --> 00:13:43,500
So let's mine some blocks again.

222
00:13:45,500 --> 00:13:47,500
And we'll just wait for them to show up.

223
00:13:47,500 --> 00:13:49,500
And remember it should be like 1,000, right?

224
00:13:49,500 --> 00:13:51,500
It was 1,000 coins.

225
00:13:51,500 --> 00:13:53,500
So okay, there they go.

226
00:13:53,500 --> 00:13:55,500
They've showed up.

227
00:13:55,500 --> 00:13:57,500
999994.

228
00:13:57,500 --> 00:13:59,500
Now what this is going to do is

229
00:13:59,500 --> 00:14:01,500
when you click Cast

230
00:14:02,000 --> 00:14:04,000
it's going to show the largest bills

231
00:14:04,000 --> 00:14:06,000
that are all powers of two.

232
00:14:06,000 --> 00:14:08,000
And it's going to remove them all

233
00:14:08,000 --> 00:14:10,000
on a given day.

234
00:14:10,000 --> 00:14:12,000
So these are fixed amounts.

235
00:14:12,000 --> 00:14:14,000
1, 2, 4, 8, 16, 32, 64, 128.

236
00:14:14,000 --> 00:14:16,000
And as you can see

237
00:14:16,000 --> 00:14:18,000
there's Saturday through Sunday

238
00:14:18,000 --> 00:14:20,000
and it's repeated again Saturday through Sunday.

239
00:14:20,000 --> 00:14:22,000
So what's going to happen is

240
00:14:22,000 --> 00:14:24,000
on this given day

241
00:14:24,000 --> 00:14:26,000
there's just going to be a lot of people

242
00:14:26,000 --> 00:14:28,000
de-shielding the coins

243
00:14:28,000 --> 00:14:30,000
that all have the exact same amount.

244
00:14:30,500 --> 00:14:32,500
A lot of people on Tuesday

245
00:14:32,500 --> 00:14:34,500
de-shielding 0.33554432

246
00:14:36,500 --> 00:14:38,500
in Bitcoin or whatever.

247
00:14:40,500 --> 00:14:42,500
It will then be impossible

248
00:14:42,500 --> 00:14:44,500
to determine

249
00:14:44,500 --> 00:14:46,500
whose shielding

250
00:14:46,500 --> 00:14:48,500
operations are associated

251
00:14:48,500 --> 00:14:50,500
with whose de-shielding operations.

252
00:14:52,500 --> 00:14:54,500
So I just click this button

253
00:14:54,500 --> 00:14:56,500
and it will then

254
00:14:56,500 --> 00:14:58,500
extract

255
00:14:59,000 --> 00:15:01,000
all these coins.

256
00:15:01,000 --> 00:15:03,000
So you start with 999

257
00:15:03,000 --> 00:15:05,000
and it's going to get D987.

258
00:15:05,000 --> 00:15:07,000
So if we get most of them

259
00:15:07,000 --> 00:15:09,000
sometimes it's luckier than other times.

260
00:15:11,000 --> 00:15:13,000
That's just a function of

261
00:15:13,000 --> 00:15:15,000
how close your

262
00:15:15,000 --> 00:15:17,000
balance amount is

263
00:15:17,000 --> 00:15:19,000
to some sum of

264
00:15:19,000 --> 00:15:21,000
four powers of two.

265
00:15:21,000 --> 00:15:23,000
So now that it's scheduled these four casts

266
00:15:23,000 --> 00:15:25,000
you can always cancel them of course.

267
00:15:25,500 --> 00:15:27,500
Now what happens when you

268
00:15:27,500 --> 00:15:29,500
end up de-shielding the coins?

269
00:15:33,500 --> 00:15:35,500
This has it queued up

270
00:15:35,500 --> 00:15:37,500
but it won't

271
00:15:37,500 --> 00:15:39,500
do it for a while

272
00:15:39,500 --> 00:15:41,500
so let's

273
00:15:41,500 --> 00:15:43,500
just manually de-shield some coins

274
00:15:43,500 --> 00:15:45,500
so that we have more

275
00:15:45,500 --> 00:15:47,500
so that we can withdraw a good amount.

276
00:15:47,500 --> 00:15:49,500
Let's take this and just de-shield 500.

277
00:15:49,500 --> 00:15:51,500
This is again not how you should

278
00:15:51,500 --> 00:15:53,500
de-shield but if you are determined

279
00:15:54,000 --> 00:15:56,000
to do so

280
00:15:56,000 --> 00:15:58,000
then you can do it anyway.

281
00:16:02,000 --> 00:16:04,000
Now I'm going to find

282
00:16:04,000 --> 00:16:06,000
two more blocks

283
00:16:06,000 --> 00:16:08,000
blah blah blah

284
00:16:16,000 --> 00:16:18,000
Oh yeah it takes a while to do those calculations

285
00:16:18,000 --> 00:16:20,000
to de-shield the

286
00:16:20,000 --> 00:16:22,000
coin.

287
00:16:22,500 --> 00:16:24,500
Here it is.

288
00:16:24,500 --> 00:16:26,500
Shields and now we have 500

289
00:16:26,500 --> 00:16:28,500
coins basically over here

290
00:16:28,500 --> 00:16:30,500
in the transparent world.

291
00:16:30,500 --> 00:16:32,500
So we want to take those coins back

292
00:16:32,500 --> 00:16:34,500
from Z-side

293
00:16:34,500 --> 00:16:36,500
back to the main chain

294
00:16:36,500 --> 00:16:38,500
and go back to transfer without a withdraw.

295
00:16:40,500 --> 00:16:42,500
And we have

296
00:16:42,500 --> 00:16:44,500
504 in the

297
00:16:44,500 --> 00:16:46,500
transparent balance

298
00:16:46,500 --> 00:16:48,500
so

299
00:16:48,500 --> 00:16:50,500
let's withdraw

300
00:16:51,000 --> 00:16:53,000
Oh whoops

301
00:16:53,000 --> 00:16:55,000
400 of that. I'll put that here where it belongs.

302
00:16:57,000 --> 00:16:59,000
And then main chain fee

303
00:16:59,000 --> 00:17:01,000
it's important to pay a good main chain fee.

304
00:17:01,000 --> 00:17:03,000
Let's make it 90

305
00:17:03,000 --> 00:17:05,000
and then the sidechain

306
00:17:05,000 --> 00:17:07,000
transaction fee can be pretty small.

307
00:17:07,000 --> 00:17:09,000
I'll just make that some random number.

308
00:17:09,000 --> 00:17:11,000
Then we have the total costs.

309
00:17:11,000 --> 00:17:13,000
Now we need a main chain

310
00:17:13,000 --> 00:17:15,000
Bitcoin address which

311
00:17:15,000 --> 00:17:17,000
we will get by going over here

312
00:17:17,000 --> 00:17:19,000
receive, click new a bunch

313
00:17:19,500 --> 00:17:21,500
of times. We'll copy it.

314
00:17:21,500 --> 00:17:23,500
We'll copy it over.

315
00:17:23,500 --> 00:17:25,500
Then we click

316
00:17:25,500 --> 00:17:27,500
withdraw.

317
00:17:27,500 --> 00:17:29,500
And then it says that this amount it doesn't like

318
00:17:29,500 --> 00:17:31,500
is prejudicial

319
00:17:31,500 --> 00:17:33,500
against this fee amount.

320
00:17:33,500 --> 00:17:35,500
Okay there we go.

321
00:17:35,500 --> 00:17:37,500
This fee estimation

322
00:17:37,500 --> 00:17:39,500
stuff sometimes.

323
00:17:39,500 --> 00:17:41,500
Okay so it's done

324
00:17:41,500 --> 00:17:43,500
that and you see the balance

325
00:17:43,500 --> 00:17:45,500
went down to 99.

326
00:17:45,500 --> 00:17:47,500
We now need to explore

327
00:17:48,000 --> 00:17:50,000
Go to the withdrawal explorer to see

328
00:17:50,000 --> 00:17:52,000
these withdrawals show up.

329
00:17:52,000 --> 00:17:54,000
So we're going to mine some more blocks.

330
00:17:58,000 --> 00:18:00,000
Okay here it is.

331
00:18:00,000 --> 00:18:02,000
It's programmed

332
00:18:02,000 --> 00:18:04,000
to wait to make the first one

333
00:18:04,000 --> 00:18:06,000
for there to be 10.

334
00:18:06,000 --> 00:18:08,000
So I'm just going to click this

335
00:18:08,000 --> 00:18:10,000
I'm going to make this really small and I'm going to click it 10 times.

336
00:18:10,000 --> 00:18:12,000
Since we have 99 coins.

337
00:18:12,000 --> 00:18:14,000
And we'll use

338
00:18:14,000 --> 00:18:16,000
a new address why not.

339
00:18:16,500 --> 00:18:18,500
Another burner.

340
00:18:18,500 --> 00:18:20,500
Just click this.

341
00:18:20,500 --> 00:18:22,500
1

342
00:18:22,500 --> 00:18:24,500
2

343
00:18:24,500 --> 00:18:26,500
And in practice there would be months

344
00:18:26,500 --> 00:18:28,500
between these so they would be accumulating.

345
00:18:28,500 --> 00:18:30,500
It's just this first one that's a little quirky.

346
00:18:30,500 --> 00:18:32,500
10 but we'll now check.

347
00:18:32,500 --> 00:18:34,500
So now we'll mine some blocks

348
00:18:34,500 --> 00:18:36,500
and this should all show up.

349
00:18:40,500 --> 00:18:42,500
28 blocks

350
00:18:42,500 --> 00:18:44,500
29 blocks

351
00:18:45,000 --> 00:18:47,000
And now we have more than 10

352
00:18:47,000 --> 00:18:49,000
Do we? I think so.

353
00:18:49,000 --> 00:18:51,000
So it should construct this

354
00:18:51,000 --> 00:18:53,000
WT Prime thing here.

355
00:18:53,000 --> 00:18:55,000
It says none yet.

356
00:18:55,000 --> 00:18:57,000
Waiting for withdrawals.

357
00:18:57,000 --> 00:18:59,000
Very accurate.

358
00:18:59,000 --> 00:19:01,000
Okay now it's made this thing.

359
00:19:01,000 --> 00:19:03,000
This thing is

360
00:19:05,000 --> 00:19:07,000
these rare Drivechain withdrawals.

361
00:19:07,000 --> 00:19:09,000
Now for testing

362
00:19:09,000 --> 00:19:11,000
we've made it short

363
00:19:11,000 --> 00:19:13,000
but it normally would take

364
00:19:13,500 --> 00:19:15,500
So here we have this

365
00:19:15,500 --> 00:19:17,500
we're back on our main chain screen

366
00:19:17,500 --> 00:19:19,500
you go Z side

367
00:19:19,500 --> 00:19:21,500
and then the deposit

368
00:19:21,500 --> 00:19:23,500
screen you can click this other tab

369
00:19:23,500 --> 00:19:25,500
it says see withdrawals

370
00:19:25,500 --> 00:19:27,500
and it will show you any withdrawals

371
00:19:27,500 --> 00:19:29,500
that are trying to get through

372
00:19:29,500 --> 00:19:31,500
and this one hasn't shown up yet because it was just made.

373
00:19:33,500 --> 00:19:35,500
But these pieces of software

374
00:19:35,500 --> 00:19:37,500
will be talking to each other.

375
00:19:43,500 --> 00:19:45,500
And you see here it is.

376
00:19:45,500 --> 00:19:47,500
And we've programmed it to expire after

377
00:19:47,500 --> 00:19:49,500
300 blocks and only need 140 blocks

378
00:19:49,500 --> 00:19:51,500
for testing and normally

379
00:19:51,500 --> 00:19:53,500
again it would be 6 months

380
00:19:53,500 --> 00:19:55,500
it would be 26,000

381
00:19:55,500 --> 00:19:57,500
blocks and change

382
00:19:57,500 --> 00:19:59,500
and this would be 13,150

383
00:19:59,500 --> 00:20:01,500
it would be a huge number.

384
00:20:01,500 --> 00:20:03,500
But you can see that this

385
00:20:05,500 --> 00:20:07,500
thing here has to match this thing

386
00:20:07,500 --> 00:20:09,500
this is the Drivechain security model

387
00:20:09,500 --> 00:20:11,500
does this and this match

388
00:20:12,000 --> 00:20:14,000
can we do anything about it in 3 months

389
00:20:16,000 --> 00:20:18,000
we have to click this gear

390
00:20:18,000 --> 00:20:20,000
since we're mining blocks over here

391
00:20:20,000 --> 00:20:22,000
we get to drive this around

392
00:20:22,000 --> 00:20:24,000
normally most users would not

393
00:20:24,000 --> 00:20:26,000
so we're going to set this to upvote

394
00:20:28,000 --> 00:20:30,000
and then we're going to mine a bunch of blocks

395
00:20:30,000 --> 00:20:32,000
we're going to mine 1

396
00:20:32,000 --> 00:20:34,000
you'll see it goes up from 1 out of 140 to 2

397
00:20:34,000 --> 00:20:36,000
and it goes up to 3

398
00:20:36,000 --> 00:20:38,000
and now we're going to type in a huge number

399
00:20:38,000 --> 00:20:40,000
like 100

400
00:20:42,000 --> 00:20:44,000
and it will go up by 100

401
00:20:44,000 --> 00:20:46,000
and now how many do we need

402
00:20:50,000 --> 00:20:52,000
and now

403
00:20:52,000 --> 00:20:54,000
we'll have let it go through

404
00:20:54,000 --> 00:20:56,000
so it's gone through and now we can see

405
00:20:56,000 --> 00:20:58,000
those coins somewhere

406
00:20:58,000 --> 00:21:00,000
if we look at the

407
00:21:00,000 --> 00:21:02,000
let's see if we can get this

408
00:21:02,000 --> 00:21:04,000
open here

409
00:21:04,000 --> 00:21:06,000
enable coin control features

410
00:21:06,500 --> 00:21:08,500
okay

411
00:21:08,500 --> 00:21:10,500
so now you can see

412
00:21:10,500 --> 00:21:12,500
the

413
00:21:12,500 --> 00:21:14,500
these 50's are all the coins

414
00:21:14,500 --> 00:21:16,500
that I mined

415
00:21:16,500 --> 00:21:18,500
let's see the confirmations

416
00:21:18,500 --> 00:21:20,500
I don't know why they say 25 at all

417
00:21:20,500 --> 00:21:22,500
oh I know what that is

418
00:21:22,500 --> 00:21:24,500
that's because of Blind Merged Mining

419
00:21:24,500 --> 00:21:26,500
is spending them and making all these change outputs

420
00:21:26,500 --> 00:21:28,500
so sorry about that

421
00:21:28,500 --> 00:21:30,500
it's confusing

422
00:21:30,500 --> 00:21:32,500
but at the end you can see

423
00:21:32,500 --> 00:21:34,500
that here are all these

424
00:21:34,500 --> 00:21:36,500
three confirmations exactly

425
00:21:36,500 --> 00:21:38,500
here's the 400 of what I sent

426
00:21:38,500 --> 00:21:40,500
before

427
00:21:40,500 --> 00:21:42,500
n2 by whatever

428
00:21:42,500 --> 00:21:44,500
that's this thing over here

429
00:21:44,500 --> 00:21:46,500
and all these n1g

430
00:21:46,500 --> 00:21:48,500
ka1

431
00:21:48,500 --> 00:21:50,500
those are all these other ones

432
00:21:50,500 --> 00:21:52,500
so you can see that I got the coins back over

433
00:21:52,500 --> 00:21:54,500
so that was the demo

434
00:21:54,500 --> 00:21:56,500
I hope you liked it
