-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1797 lines (1040 loc) · 54.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
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
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=auto>
<head>
<meta charset="UTF-8">
<link rel="apple-touch-icon" sizes="76x76" href="/img/fluid.png">
<link rel="icon" href="/img/fluid.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="theme-color" content="#2f4154">
<meta name="author" content="Wangxiaowang">
<meta name="keywords" content="">
<meta property="og:type" content="website">
<meta property="og:title" content="Wang">
<meta property="og:url" content="http://example.com/index.html">
<meta property="og:site_name" content="Wang">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="Wangxiaowang">
<meta name="twitter:card" content="summary_large_image">
<meta name="referrer" content="no-referrer-when-downgrade">
<title>Wang</title>
<link rel="stylesheet" href="https://lib.baomitu.com/twitter-bootstrap/4.6.1/css/bootstrap.min.css" />
<!-- 主题依赖的图标库,不要自行修改 -->
<!-- Do not modify the link that theme dependent icons -->
<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_hj8rtnfg7um.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_lbnruvf0jn.css">
<link rel="stylesheet" href="/css/main.css" />
<link id="highlight-css" rel="stylesheet" href="/css/highlight.css" />
<link id="highlight-css-dark" rel="stylesheet" href="/css/highlight-dark.css" />
<script id="fluid-configs">
var Fluid = window.Fluid || {};
Fluid.ctx = Object.assign({}, Fluid.ctx)
var CONFIG = {"hostname":"example.com","root":"/","version":"1.9.7","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false,"scope":[]},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"left","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":false,"trickleSpeed":100}},"code_language":{"enable":true,"default":"TEXT"},"copy_btn":true,"image_caption":{"enable":true},"image_zoom":{"enable":true,"img_url_replace":["",""]},"toc":{"enable":true,"placement":"right","headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"loading_img":"/img/loading.gif","onlypost":false,"offset_factor":2},"web_analytics":{"enable":true,"follow_dnt":true,"baidu":"37fd8385820c4abc0e564a2c423b7511","google":{"measurement_id":null},"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":null,"app_key":null,"server_url":null,"path":"window.location.pathname","ignore_local":false}},"search_path":"/local-search.xml","include_content_in_search":true};
if (CONFIG.web_analytics.follow_dnt) {
var dntVal = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
Fluid.ctx.dnt = dntVal && (dntVal.startsWith('1') || dntVal.startsWith('yes') || dntVal.startsWith('on'));
}
</script>
<script src="/js/utils.js" ></script>
<script src="/js/color-schema.js" ></script>
<!-- Baidu Analytics -->
<script async>
if (!Fluid.ctx.dnt) {
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?37fd8385820c4abc0e564a2c423b7511";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
}
</script>
<!-- Google tag (gtag.js) -->
<script async>
if (!Fluid.ctx.dnt) {
Fluid.utils.createScript("https://www.googletagmanager.com/gtag/js?id=", function() {
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', '');
});
}
</script>
<meta name="generator" content="Hexo 7.3.0"></head>
<body>
<header>
<div class="header-inner" style="height: 100vh;">
<nav id="navbar" class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
<div class="container">
<a class="navbar-brand" href="/">
<strong>Home</strong>
</a>
<button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<div class="animated-icon"><span></span><span></span><span></span></div>
</button>
<!-- Collapsible content -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto text-center">
<li class="nav-item">
<a class="nav-link" href="/" target="_self">
<i class="iconfont icon-home-fill"></i>
<span>首页</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/archives/" target="_self">
<i class="iconfont icon-archive-fill"></i>
<span>归档</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/categories/" target="_self">
<i class="iconfont icon-category-fill"></i>
<span>分类</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/tags/" target="_self">
<i class="iconfont icon-tags-fill"></i>
<span>标签</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about/" target="_self">
<i class="iconfont icon-user-fill"></i>
<span>关于</span>
</a>
</li>
<li class="nav-item" id="search-btn">
<a class="nav-link" target="_self" href="javascript:;" data-toggle="modal" data-target="#modalSearch" aria-label="Search">
<i class="iconfont icon-search"></i>
</a>
</li>
<li class="nav-item" id="color-toggle-btn">
<a class="nav-link" target="_self" href="javascript:;" aria-label="Color Toggle">
<i class="iconfont icon-dark" id="color-toggle-icon"></i>
</a>
</li>
</ul>
</div>
</div>
</nav>
<div id="banner" class="banner" parallax=true
style="background: url('/img/114.jpg') no-repeat center center; background-size: cover;">
<div class="full-bg-img">
<div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.3)">
<div class="banner-text text-center fade-in-up">
<div class="h2">
<span id="subtitle" data-typed-text="This is Wang's blog"></span>
</div>
</div>
<div class="scroll-down-bar">
<i class="iconfont icon-arrowdown"></i>
</div>
</div>
</div>
</div>
</div>
</header>
<main>
<div class="container nopadding-x-md">
<div id="board"
style="margin-top: 0">
<div class="container">
<div class="row">
<div class="col-12 col-md-10 m-auto">
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/08/11/PrivateGPT/" target="_self">
<img src="/img/pic/gpt.jpg" srcset="/img/loading.gif" lazyload alt="不写代码不用国外手机号一键部署自己的ChatGPT">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/2024/08/11/PrivateGPT/" target="_self">
不写代码不用国外手机号一键部署自己的ChatGPT
</a>
</h2>
<a class="index-excerpt " href="/2024/08/11/PrivateGPT/" target="_self">
<div>
前言不写一行代码不用国外手机号国外银行卡一键部署你自己的ChatGPT Gpt-4,Gpt-4o,Gpt-4-Turbo,Gpt-4o-mini,Gemma,Claude,Llama,Qwen都可用 什么是gpt?出门右拐 我需要准备什么? 账号: 一个邮箱(必备,最好google) GitHub 账号(可选) 支付方式: 1、ETH支付(首推) 2、Visa信用卡支付(可选) 3、其他支
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-08-11 23:24" pubdate>
2024-08-11
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/other/" class="category-chain-item">other</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/%E7%AC%94%E8%AE%B0/">#笔记</a>
<a href="/tags/other/">#other</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/06/10/07-3Cosmos%E9%92%B1%E5%8C%85%E5%BC%80%E5%8F%91%E6%B5%81%E7%A8%8B/" target="_self">
<img src="/img/web3/cosmos1.jpg" srcset="/img/loading.gif" lazyload alt="07-3 Cosmos 钱包开发流程">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/2024/06/10/07-3Cosmos%E9%92%B1%E5%8C%85%E5%BC%80%E5%8F%91%E6%B5%81%E7%A8%8B/" target="_self">
07-3 Cosmos 钱包开发流程
</a>
</h2>
<a class="index-excerpt " href="/2024/06/10/07-3Cosmos%E9%92%B1%E5%8C%85%E5%BC%80%E5%8F%91%E6%B5%81%E7%A8%8B/" target="_self">
<div>
Cosmos钱包开发钱包的交易逻辑都是一样的, 第一步:离线地址生成 第二步:构建交易模型 第三步:生成一个未签名的msg消息 第四步:对msg消息进行签名,返回一个已签名的消息 第五步:对已签名的消息希进行广播 离线地址生成Cosmos支持两种格式的地址: Edd25519和Secp256k1 以前只支持Secp256k1后来扩展支持Edd25519 bech32是一种格式 123
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-06-10 13:20" pubdate>
2024-06-10
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/blockChain/" class="category-chain-item">blockChain</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/block/">#block</a>
<a href="/tags/%E6%A6%82%E5%BF%B5/">#概念</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/05/30/07-2Ethereum%E9%92%B1%E5%8C%85%E5%BC%80%E5%8F%91%E6%B5%81%E7%A8%8B/" target="_self">
<img src="/img/web3/eth2.jpg" srcset="/img/loading.gif" lazyload alt="07-2 Ethereum 钱包开发流程">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/2024/05/30/07-2Ethereum%E9%92%B1%E5%8C%85%E5%BC%80%E5%8F%91%E6%B5%81%E7%A8%8B/" target="_self">
07-2 Ethereum 钱包开发流程
</a>
</h2>
<a class="index-excerpt " href="/2024/05/30/07-2Ethereum%E9%92%B1%E5%8C%85%E5%BC%80%E5%8F%91%E6%B5%81%E7%A8%8B/" target="_self">
<div>
1.以太坊基础知识智能合约:Smart Contracts 是以太坊最重要的特性之一,智能合约让以太坊有更多的可能性,让链不仅仅是链,还可以做很多的应用,智能合约是一段存储在以太坊区块链上的代码,可以自动执行协议的条款。例如,可以创建一个智能合约来管理众筹活动,当众筹达到目标时,合约会自动将资金转给项目方。 单位换算1 Ether(ETH)=1 x 10^3 Finney =
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-05-30 20:49" pubdate>
2024-05-30
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/blockChain/" class="category-chain-item">blockChain</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/block/">#block</a>
<a href="/tags/%E6%A6%82%E5%BF%B5/">#概念</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/05/30/07-1%E6%AF%94%E7%89%B9%E5%B8%81%E9%92%B1%E5%8C%85%E5%BC%80%E5%8F%91%E7%AE%80%E5%8D%95%E6%B5%81%E7%A8%8B/" target="_self">
<img src="/img/web3/bitcoin4.jpg" srcset="/img/loading.gif" lazyload alt="07-1 Bitcoin 钱包开发简单流程">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/2024/05/30/07-1%E6%AF%94%E7%89%B9%E5%B8%81%E9%92%B1%E5%8C%85%E5%BC%80%E5%8F%91%E7%AE%80%E5%8D%95%E6%B5%81%E7%A8%8B/" target="_self">
07-1 Bitcoin 钱包开发简单流程
</a>
</h2>
<a class="index-excerpt " href="/2024/05/30/07-1%E6%AF%94%E7%89%B9%E5%B8%81%E9%92%B1%E5%8C%85%E5%BC%80%E5%8F%91%E7%AE%80%E5%8D%95%E6%B5%81%E7%A8%8B/" target="_self">
<div>
1 比特币钱包开发 因为是JS代码,所以会有很多看不懂的地方,没关系 1.1 地址生成123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-05-30 17:42" pubdate>
2024-05-30
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/blockChain/" class="category-chain-item">blockChain</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/block/">#block</a>
<a href="/tags/%E6%A6%82%E5%BF%B5/">#概念</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/05/30/061%E9%92%B1%E5%8C%85%E9%83%A8%E5%88%86%E5%B0%8F%E6%80%BB%E7%BB%93/" target="_self">
<img src="/img/web3/btb3.jpg" srcset="/img/loading.gif" lazyload alt="0601 钱包部分小总结">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/2024/05/30/061%E9%92%B1%E5%8C%85%E9%83%A8%E5%88%86%E5%B0%8F%E6%80%BB%E7%BB%93/" target="_self">
0601 钱包部分小总结
</a>
</h2>
<a class="index-excerpt " href="/2024/05/30/061%E9%92%B1%E5%8C%85%E9%83%A8%E5%88%86%E5%B0%8F%E6%80%BB%E7%BB%93/" target="_self">
<div>
1.描述一下交易所钱包的充值和提现流程充值 交易所给用户提供地址,用户把钱转进来 扫链:获取最新块高,从上一次解析的块开始到最新块高进行交易解析 交易解析完之后,如果交易里面 to 是系统用户,则是充值,解析完成之后上账,并通知业务层 提现1.获取签名参数–>2.离线签名–>3.广播出去—>把交易哈希更新数据库—->扫链解析确认是否完成 获取需要的签名参数(这里就看了)
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-05-30 11:40" pubdate>
2024-05-30
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/blockChain/" class="category-chain-item">blockChain</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/block/">#block</a>
<a href="/tags/%E6%A6%82%E5%BF%B5/">#概念</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/05/28/05-2Bitcoin%E9%92%B1%E5%8C%85Schnorr%E5%9C%B0%E5%9D%80%E7%94%9F%E6%88%90%E4%B8%8E%E7%AD%BE%E5%90%8D/" target="_self">
<img src="/img/web3/btb2.jpg" srcset="/img/loading.gif" lazyload alt="05-02 Bitcoin钱包Schnorr地址生成与签名">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/2024/05/28/05-2Bitcoin%E9%92%B1%E5%8C%85Schnorr%E5%9C%B0%E5%9D%80%E7%94%9F%E6%88%90%E4%B8%8E%E7%AD%BE%E5%90%8D/" target="_self">
05-02 Bitcoin钱包Schnorr地址生成与签名
</a>
</h2>
<a class="index-excerpt " href="/2024/05/28/05-2Bitcoin%E9%92%B1%E5%8C%85Schnorr%E5%9C%B0%E5%9D%80%E7%94%9F%E6%88%90%E4%B8%8E%E7%AD%BE%E5%90%8D/" target="_self">
<div>
1.Schnorr签名1.1 签名流程密钥生成(Key Generation) 私钥 𝑘k 是一个随机选择的整数,范围为 [1,𝑛−1],其中 𝑛 是椭圆曲线的阶。, 公钥 𝑃P 是通过将私钥乘以椭圆曲线的基点 𝐺G 得到的,即 𝑃=𝑘⋅𝐺。 签名生成(Signature Generation)假设消息为 𝑚。 生成随机数 𝑟:选择一个随机数 𝑟r 作为临时私钥
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-05-28 14:15" pubdate>
2024-05-28
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/blockChain/" class="category-chain-item">blockChain</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/block/">#block</a>
<a href="/tags/%E6%A6%82%E5%BF%B5/">#概念</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/05/27/05Bitcoin%E9%92%B1%E5%8C%85%E7%94%9F%E6%88%90%E5%92%8C%E7%AD%BE%E5%90%8D/" target="_self">
<img src="/img/web3/bitcoin2.jpg" srcset="/img/loading.gif" lazyload alt="05 Bitcoin钱包生成和签名">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/2024/05/27/05Bitcoin%E9%92%B1%E5%8C%85%E7%94%9F%E6%88%90%E5%92%8C%E7%AD%BE%E5%90%8D/" target="_self">
05 Bitcoin钱包生成和签名
</a>
</h2>
<a class="index-excerpt " href="/2024/05/27/05Bitcoin%E9%92%B1%E5%8C%85%E7%94%9F%E6%88%90%E5%92%8C%E7%AD%BE%E5%90%8D/" target="_self">
<div>
一. Bitcoin 概览1.1 Bitcoin 简介比特币(Bitcoin)是由一个或一群化名为中本聪(Satoshi Nakamoto)的人在 2008 年提出,并于 2009 年开始发布的去中心化数字货币。它的出现标志着一种新型金融体系的诞生,具有以下主要特点: 去中心化: 比特币网络没有中央管理机构或中介机构,它通过一个称为区块链的分布式账本来记录所有交易。 区块链技术确保了所有参与者都
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-05-27 17:20" pubdate>
2024-05-27
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/blockChain/" class="category-chain-item">blockChain</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/block/">#block</a>
<a href="/tags/%E6%A6%82%E5%BF%B5/">#概念</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/05/25/04HD%E9%92%B1%E5%8C%85%E5%8A%A9%E8%AE%B0%E8%AF%8D%E7%94%9F%E6%88%90/" target="_self">
<img src="/img/web3/encryption3.jpg" srcset="/img/loading.gif" lazyload alt="04 HD钱包助记词生成与验证">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/2024/05/25/04HD%E9%92%B1%E5%8C%85%E5%8A%A9%E8%AE%B0%E8%AF%8D%E7%94%9F%E6%88%90/" target="_self">
04 HD钱包助记词生成与验证
</a>
</h2>
<a class="index-excerpt " href="/2024/05/25/04HD%E9%92%B1%E5%8C%85%E5%8A%A9%E8%AE%B0%E8%AF%8D%E7%94%9F%E6%88%90/" target="_self">
<div>
HD钱包助记词生成与验证1.助记词生成原理1.1.随机熵生成 首先生成一段随机熵(Entropy)。熵的长度可以是 128 到 256 位,并且是 32 的倍数。常见的熵长度有 128 位(12 个助记词)和 256 位(24 个助记词)。每增加3个单词, 12个助记词对应128位熵,15个对应160位熵,18个对应192,21个对应224位,24个对应256, 每增加3个单词,增加32位熵, 随
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-05-25 19:06" pubdate>
2024-05-25
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/blockChain/" class="category-chain-item">blockChain</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/block/">#block</a>
<a href="/tags/%E5%AE%9E%E6%88%98/">#实战</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/05/23/03%E5%AF%86%E7%A0%81%E5%AD%A6/" target="_self">
<img src="/img/web3/encryption.jpg" srcset="/img/loading.gif" lazyload alt="03 密码学">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/2024/05/23/03%E5%AF%86%E7%A0%81%E5%AD%A6/" target="_self">
03 密码学
</a>
</h2>
<a class="index-excerpt " href="/2024/05/23/03%E5%AF%86%E7%A0%81%E5%AD%A6/" target="_self">
<div>
1 公钥密码学理论 两种加密方式:对称加密和非对称加密 1.1 对称加密区别:主要区别就是密钥对的区别 对称加密(单秘钥加密),加解密都是只有一把key ,使用相同的秘钥进行加密和解密炒作 发送方使用密钥对数据进行加密,接收方使用相同的密钥对密文进行解密,从而还原出原始的明文数据。 比较有名的是 DES 3DES AES TDEA blowful rc245 对称加密的特点包括: 速度和效率:
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-05-23 14:50" pubdate>
2024-05-23
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/blockChain/" class="category-chain-item">blockChain</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/block/">#block</a>
<a href="/tags/%E6%A6%82%E5%BF%B5/">#概念</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/05/19/02%E9%92%B1%E5%8C%85/" target="_self">
<img src="/img/web3/btb4.jpg" srcset="/img/loading.gif" lazyload alt="02 钱包">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/2024/05/19/02%E9%92%B1%E5%8C%85/" target="_self">
02 钱包
</a>
</h2>
<a class="index-excerpt " href="/2024/05/19/02%E9%92%B1%E5%8C%85/" target="_self">
<div>
钱包1.概述钱包怎么分类?本质是私钥的管理方式的不同来区分的 2. 钱包分类 中心化钱包:钱包私钥一般管理在中心化服务器上,代表项目为交易所钱包;例如 Binance 交易所钱包,okx 交易所钱包和 bybit 交易所钱包等1。 去中心化钱包(确定性分层钱包):钱包私钥一般管理在用户的设备上,代表项目为 TP, ImToken, MetaMask 等; 硬件钱包:钱包私钥管理在离线的硬件设备上,
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-05-19 11:30" pubdate>
2024-05-19
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/blockChain/" class="category-chain-item">blockChain</a>
</span>
</span>
</div>
<div class="post-meta">
<i class="iconfont icon-tags"></i>
<a href="/tags/block/">#block</a>
<a href="/tags/%E6%A6%82%E5%BF%B5/">#概念</a>
</div>
</div>
</article>
</div>
<div class="row mx-auto index-card">
<div class="col-12 col-md-4 m-auto index-img">
<a href="/2024/05/18/02%E6%8E%A2%E8%AE%A8%E4%BA%8B%E5%8A%A1%E4%B8%80%E8%87%B4%E6%80%A7/" target="_self">
<img src="/img/web3/btb4.jpg" srcset="/img/loading.gif" lazyload alt="02 探讨事务一致性">
</a>
</div>
<article class="col-12 col-md-8 mx-auto index-info">
<h2 class="index-header">
<a href="/2024/05/18/02%E6%8E%A2%E8%AE%A8%E4%BA%8B%E5%8A%A1%E4%B8%80%E8%87%B4%E6%80%A7/" target="_self">
02 探讨事务一致性
</a>
</h2>
<a class="index-excerpt " href="/2024/05/18/02%E6%8E%A2%E8%AE%A8%E4%BA%8B%E5%8A%A1%E4%B8%80%E8%87%B4%E6%80%A7/" target="_self">
<div>
1.事务的ACID特性在数据库中,“事务”是由多个操作构成的序列。广义上的事务一致性具化到了原子性、一致性、隔离性和持久性这4个方面。 原子性(Atomicity):指事务是一个不可分割的操作单元,要么全部执行成功,要么全部失败回滚。如果事务中的任何一个操作失败,整个事务将回滚到最初的状态。 一致性(Consistency):指事务将数据库从一个一致状态转变为另一个一致状态。在事务开始和结束时,
</div>
</a>
<div class="index-btm post-metas">
<div class="post-meta mr-3">
<i class="iconfont icon-date"></i>
<time datetime="2024-05-18 11:20" pubdate>
2024-05-18
</time>
</div>
<div class="post-meta mr-3 d-flex align-items-center">
<i class="iconfont icon-category"></i>
<span class="category-chains">
<span class="category-chain">
<a href="/categories/blockChain/" class="category-chain-item">blockChain</a>