-
Notifications
You must be signed in to change notification settings - Fork 2
/
frmmainunit.lfm
500 lines (500 loc) · 15.3 KB
/
frmmainunit.lfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
object frmMain: TfrmMain
Left = 2104
Height = 975
Top = 1156
Width = 1445
Caption = 'BitCoin Address Tools - inspired by bitaddress.org - Made with Lazarus and FreePascal!!'
ClientHeight = 975
ClientWidth = 1445
Constraints.MinHeight = 938
Constraints.MinWidth = 1062
DesignTimePPI = 120
OnCreate = FormCreate
Position = poDefault
ShowHint = True
object StatusBar: TStatusBar
Left = 0
Height = 29
Top = 946
Width = 1445
Panels = <
item
Alignment = taRightJustify
Width = 62
end>
ParentFont = False
SimplePanel = False
end
object PageControl1: TPageControl
Left = 0
Height = 946
Top = 0
Width = 1445
ActivePage = TabSheet2
Align = alClient
ParentFont = False
TabIndex = 1
TabOrder = 0
OnChange = PageControl1Change
object TabSheet3: TTabSheet
Caption = 'Key-Pair Explorer'
ClientHeight = 913
ClientWidth = 1437
ParentFont = False
object Panel2: TPanel
AnchorSideLeft.Control = TabSheet3
AnchorSideRight.Control = TabSheet3
AnchorSideRight.Side = asrBottom
Left = 12
Height = 320
Top = 220
Width = 1413
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 12
BorderSpacing.Right = 12
ClientHeight = 320
ClientWidth = 1413
ParentFont = False
TabOrder = 1
object edtPubKeyComp: TLabeledEdit
AnchorSideLeft.Control = Panel2
AnchorSideRight.Control = Panel2
AnchorSideRight.Side = asrBottom
Left = 11
Height = 28
Top = 280
Width = 1389
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 10
BorderSpacing.Right = 12
EditLabel.Height = 20
EditLabel.Width = 1389
EditLabel.Caption = 'Public Key (compressed, 66 characters [0-9A-F]):'
EditLabel.ParentColor = False
EditLabel.ParentFont = False
ParentFont = False
ReadOnly = True
TabOrder = 4
OnChange = edtDbgHintLength
OnDblClick = DblClick2CLPBRD
end
object edtPubKey: TLabeledEdit
AnchorSideLeft.Control = Panel2
AnchorSideRight.Control = Panel2
AnchorSideRight.Side = asrBottom
Left = 11
Height = 28
Top = 210
Width = 1389
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 10
BorderSpacing.Right = 12
EditLabel.Height = 20
EditLabel.Width = 1389
EditLabel.Caption = 'Public Key Hexidecimal (130 characters [0-9A-F]):'
EditLabel.ParentColor = False
EditLabel.ParentFont = False
ParentFont = False
ReadOnly = True
TabOrder = 3
OnChange = edtDbgHintLength
OnDblClick = DblClick2CLPBRD
end
object edtBTCaddrCompr: TLabeledEdit
AnchorSideLeft.Control = Panel2
AnchorSideRight.Control = Panel2
AnchorSideRight.Side = asrBottom
Left = 11
Height = 28
Top = 140
Width = 1389
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 10
BorderSpacing.Right = 12
EditLabel.Height = 20
EditLabel.Width = 1389
EditLabel.Caption = 'Bitcoin Address (compressed):'
EditLabel.ParentColor = False
EditLabel.ParentFont = False
ParentFont = False
ReadOnly = True
TabOrder = 2
OnChange = edtDbgHintLength
OnDblClick = DblClick2CLPBRD
end
object edtBTCaddress: TLabeledEdit
AnchorSideLeft.Control = Panel2
AnchorSideRight.Control = Panel2
AnchorSideRight.Side = asrBottom
Left = 11
Height = 28
Top = 70
Width = 1389
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 10
BorderSpacing.Right = 12
EditLabel.Height = 20
EditLabel.Width = 1389
EditLabel.Caption = 'Bitcoin Address:'
EditLabel.ParentColor = False
EditLabel.ParentFont = False
ParentFont = False
ReadOnly = True
TabOrder = 1
OnChange = edtDbgHintLength
OnDblClick = DblClick2CLPBRD
end
object Label2: TLabel
Left = 20
Height = 20
Top = 10
Width = 118
Caption = 'Public Key Details'
ParentColor = False
ParentFont = False
end
object btnComputePubKeyDet: TButton
Left = 188
Height = 25
Top = 10
Width = 230
Caption = 'Compute Below'
Enabled = False
OnClick = btnComputePubKeyDetClick
ParentFont = False
TabOrder = 0
end
end
object Panel3: TPanel
AnchorSideLeft.Control = TabSheet3
AnchorSideRight.Control = TabSheet3
AnchorSideRight.Side = asrBottom
Left = 12
Height = 320
Top = 540
Width = 1413
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 12
BorderSpacing.Right = 12
ClientHeight = 320
ClientWidth = 1413
ParentFont = False
TabOrder = 2
object edtPvtKeyB64: TLabeledEdit
AnchorSideLeft.Control = Panel3
AnchorSideRight.Control = Panel3
AnchorSideRight.Side = asrBottom
Left = 11
Height = 28
Top = 279
Width = 1389
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 10
BorderSpacing.Right = 12
EditLabel.Height = 20
EditLabel.Width = 1389
EditLabel.Caption = 'Private Key Base64 (44 characters):'
EditLabel.ParentColor = False
EditLabel.ParentFont = False
ParentFont = False
ReadOnly = True
TabOrder = 4
OnChange = edtDbgHintLength
OnDblClick = DblClick2CLPBRD
end
object edtPvtKeyHex: TLabeledEdit
AnchorSideLeft.Control = Panel3
AnchorSideRight.Control = Panel3
AnchorSideRight.Side = asrBottom
Left = 11
Height = 28
Top = 209
Width = 1389
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 10
BorderSpacing.Right = 12
EditLabel.Height = 20
EditLabel.Width = 1389
EditLabel.Caption = 'Private Key Hexadecimal Format (64 characters [0-9A-F]):'
EditLabel.ParentColor = False
EditLabel.ParentFont = False
ParentFont = False
ReadOnly = True
TabOrder = 3
OnChange = edtDbgHintLength
OnDblClick = DblClick2CLPBRD
end
object edtPvtKeyWIFComp: TLabeledEdit
AnchorSideLeft.Control = Panel3
AnchorSideRight.Control = Panel3
AnchorSideRight.Side = asrBottom
Left = 11
Height = 28
Top = 139
Width = 1389
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 10
BorderSpacing.Right = 12
EditLabel.Height = 20
EditLabel.Width = 1389
EditLabel.Caption = 'Private Key WIF (compressed, 52 characters base58, starts with a ''K'' or ''L''):'
EditLabel.ParentColor = False
EditLabel.ParentFont = False
ParentFont = False
ReadOnly = True
TabOrder = 2
OnChange = edtDbgHintLength
OnDblClick = DblClick2CLPBRD
end
object edtPvtKeyWIF: TLabeledEdit
AnchorSideLeft.Control = Panel3
AnchorSideRight.Control = Panel3
AnchorSideRight.Side = asrBottom
Left = 11
Height = 28
Top = 69
Width = 1389
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 10
BorderSpacing.Right = 12
EditLabel.Height = 20
EditLabel.Width = 1389
EditLabel.Caption = 'Private Key WIF (51 characters base58, starts with a ''5''):'
EditLabel.ParentColor = False
EditLabel.ParentFont = False
ParentFont = False
ReadOnly = True
TabOrder = 1
OnChange = edtDbgHintLength
OnDblClick = DblClick2CLPBRD
end
object Label3: TLabel
Left = 20
Height = 20
Top = 18
Width = 123
Caption = 'Private Key Details'
ParentColor = False
ParentFont = False
end
object btnComputePrvKeyDet: TButton
Left = 188
Height = 25
Top = 10
Width = 230
Caption = 'Compute Below'
Enabled = False
OnClick = btnComputePrvKeyDetClick
ParentFont = False
TabOrder = 0
end
end
object Panel1: TPanel
AnchorSideLeft.Control = TabSheet3
AnchorSideRight.Control = TabSheet3
AnchorSideRight.Side = asrBottom
Left = 12
Height = 210
Top = 10
Width = 1413
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 12
BorderSpacing.Right = 12
ClientHeight = 210
ClientWidth = 1413
ParentFont = False
TabOrder = 0
object btnRNDpvtKey: TButton
AnchorSideLeft.Control = Panel1
AnchorSideRight.Control = Panel1
AnchorSideRight.Side = asrBottom
Left = 13
Height = 30
Top = 100
Width = 1387
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 12
BorderSpacing.Right = 12
Caption = 'Generate Random Private Key (More Secure)'
OnClick = btnRNDpvtKeyClick
ParentFont = False
TabOrder = 1
end
object btnBrainpvtKey: TButton
AnchorSideLeft.Control = Panel1
AnchorSideRight.Control = Panel1
AnchorSideRight.Side = asrBottom
Left = 13
Height = 30
Top = 60
Width = 1387
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 12
BorderSpacing.Right = 12
Caption = 'Generate Private Key Using Above Brain Wallet Stuff'
OnClick = btnBrainpvtKeyClick
ParentFont = False
TabOrder = 0
end
object edtPvtKey: TLabeledEdit
AnchorSideLeft.Control = Panel1
AnchorSideRight.Control = Panel1
AnchorSideRight.Side = asrBottom
Left = 13
Height = 28
Top = 170
Width = 1387
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 12
BorderSpacing.Right = 12
EditLabel.Height = 20
EditLabel.Width = 1387
EditLabel.Caption = 'Private Key as HEX (Generated from one of the above methods)'
EditLabel.ParentColor = False
EditLabel.ParentFont = False
ParentFont = False
ReadOnly = True
TabOrder = 2
OnChange = edtDbgHintLength
OnDblClick = DblClick2CLPBRD
end
object edtPassPhrase: TLabeledEdit
AnchorSideLeft.Control = Panel1
AnchorSideRight.Control = Panel1
AnchorSideRight.Side = asrBottom
Left = 13
Height = 28
Top = 30
Width = 1387
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 12
BorderSpacing.Right = 12
EditLabel.Height = 20
EditLabel.Width = 1387
EditLabel.Caption = 'Brain Wallet - Word List (PASSPHRASE / (aka seed phrase?) ) (12-24 words) (WILL BE SHA256)'
EditLabel.ParentColor = False
EditLabel.ParentFont = False
ParentFont = False
TabOrder = 3
Text = 'bubble kid safe candle dumpster fire family link removed vehicle implement cracker'
OnChange = edtDbgHintLength
OnDblClick = DblClick2CLPBRD
end
end
end
object TabSheet2: TTabSheet
Caption = 'Bulk Wallet Generator'
ClientHeight = 913
ClientWidth = 1437
ParentFont = False
object btnCancel: TButton
Left = 12
Height = 40
Top = 10
Width = 201
Caption = 'Cancel'
OnClick = btnCancelClick
ParentFont = False
TabOrder = 2
end
object btnBulkGen: TButton
Left = 12
Height = 40
Top = 10
Width = 201
Caption = 'Generate'
OnClick = btnBulkGenClick
ParentFont = False
TabOrder = 0
end
object memBulk: TMemo
AnchorSideLeft.Control = TabSheet2
AnchorSideRight.Control = TabSheet2
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = TabSheet2
AnchorSideBottom.Side = asrBottom
Left = 12
Height = 823
Top = 90
Width = 1413
Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Left = 12
BorderSpacing.Right = 12
Font.Height = -11
Font.Name = 'Monospace'
OnChange = memBulkChange
ParentFont = False
ReadOnly = True
ScrollBars = ssAutoBoth
TabOrder = 1
WordWrap = False
end
object Label1: TLabel
Left = 12
Height = 20
Top = 70
Width = 370
Caption = 'Comma seperated list: (private Key, public key)'
ParentColor = False
ParentFont = False
end
object Label6: TLabel
Left = 230
Height = 20
Top = 10
Width = 225
Caption = 'Number of addresses to generate:'
ParentColor = False
ParentFont = False
end
object btnSaveBulk: TButton
Left = 780
Height = 29
Top = 10
Width = 230
Caption = 'Save To File'
Enabled = False
OnClick = btnSaveBulkClick
ParentFont = False
TabOrder = 3
end
object edtBulkAmount: TEdit
Left = 490
Height = 28
Top = 18
Width = 158
MaxLength = 6
NumbersOnly = True
OnKeyPress = edtBulkAmountKeyPress
ParentFont = False
TabOrder = 4
Text = '25'
end
end
object TabSheet1: TTabSheet
Caption = 'About This Tool'
ClientHeight = 913
ClientWidth = 1437
ParentFont = False
object Label4: TLabel
Left = 55
Height = 240
Top = 40
Width = 693
Caption = 'This tool was created by Tony Stone and inspired by http://coreyhaddad.com/bitcoin/bitaddress.org.htm.'#10#10'The purpose is to securely generate Bitcoin Addresses that can be used.'#10#10'The other purpose of creating this tool was an exercise in learning to use '#10'the Lazarus IDE and some Pascal development.'#10#10'The cryptographic function are all written and implemented by use of'#10'CryptoLib4Pascal by Xor-el and his source code can be found at'#10'https://github.com/Xor-el/CryptoLib4Pascal.'#10#10'The source of this program can be found on my Github (When I learn to properly use it)'
ParentColor = False
ParentFont = False
end
end
end
object tmrKeyPerSec: TTimer
Enabled = False
OnTimer = tmrKeyPerSecTimer
Left = 1263
Top = 56
end
object dlgSave: TSaveDialog
Left = 1300
Top = 56
end
end