-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
672 lines (379 loc) · 33 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Z.Y. ☯ Cosmos</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta property="og:type" content="website">
<meta property="og:title" content="Z.Y. ☯ Cosmos">
<meta property="og:url" content="https://izhen.me/index.html">
<meta property="og:site_name" content="Z.Y. ☯ Cosmos">
<meta property="og:locale" content="en_US">
<meta property="article:author" content="Zhen Yi">
<meta name="twitter:card" content="summary">
<meta name="twitter:creator" content="@soczhenyi">
<link rel="alternate" href="/atom.xml" title="Z.Y. ☯ Cosmos" type="application/atom+xml">
<link rel="shortcut icon" href="/favicon.png">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">
<meta name="generator" content="Hexo 5.4.0"></head>
<body>
<div id="container">
<div id="wrap">
<header id="header">
<div id="banner"></div>
<div id="header-outer" class="outer">
<div id="header-title" class="inner">
<h1 id="logo-wrap">
<a href="/" id="logo">Z.Y. ☯ Cosmos</a>
</h1>
<h2 id="subtitle-wrap">
<a href="/" id="subtitle">Powered by Disqus, scientific surfing for access</a>
</h2>
</div>
<div id="header-inner" class="inner">
<nav id="main-nav">
<a id="main-nav-toggle" class="nav-icon"></a>
<a class="main-nav-link" href="/">Home</a>
<a class="main-nav-link" href="/archives">Archives</a>
<a class="main-nav-link" target="_blank" rel="noopener" href="http://sweetpotato.ai">λ</a>
<a class="main-nav-link" href="/lab">About</a>
<a class="main-nav-link" target="_blank" rel="noopener" href="https://resume.izhen.me">Resume</a>
<a class="main-nav-link" target="_blank" rel="noopener" href="https://github.com/i-zhen">Github</a>
</nav>
<nav id="sub-nav">
<a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
<a id="nav-search-btn" class="nav-icon" title="Search"></a>
</nav>
<div id="search-form-wrap">
<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit"></button><input type="hidden" name="sitesearch" value="https://izhen.me"></form>
</div>
</div>
</div>
</header>
<div class="outer">
<section id="main">
<article id="post-2024_cuda_atomic_add" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2024/05/24/2024_cuda_atomic_add/" class="article-date">
<time class="dt-published" datetime="2024-05-24T12:53:47.000Z" itemprop="datePublished">2024-05-24</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/BLOG/">BLOG</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2024/05/24/2024_cuda_atomic_add/">CUDA编程优化Float16精度的atomicAdd</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>NLP中词嵌入(embedding)是非常重要的一环,embedding算子在反向计算时不同的线程会写入同一个结果,面对这类写冲突问题,高效的多线程计算必然要无锁化设计。而NVIDIA的加速卡本身支持了<code>atomicAdd</code>等原子计算。</p>
<p>当我们使用较低精度在一些训推任务中量化加速模型时(如:FP16精度),CUDA底层会调用诸如 <code>atomicAdd(half*, half)</code> 这类原子指令。但是当前的硬件对这条指令的支持不够好,所以我们需要借助一些内存对齐的技术以应用效率更高的 <code>atomicAdd(half2*, half2)</code> 指令。本文重点讲述如何利用软件来弥补硬件的缺陷这样的实例。</p>
<p class="article-more-link">
<a href="/2024/05/24/2024_cuda_atomic_add/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="https://izhen.me/2024/05/24/2024_cuda_atomic_add/" data-id="clwkdsmzg000a18jrhruebdko" data-title="CUDA编程优化Float16精度的atomicAdd" class="article-share-link">Share</a>
<a href="https://izhen.me/2024/05/24/2024_cuda_atomic_add/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/AI/" rel="tag">AI</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/C/" rel="tag">C++</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/CUDA/" rel="tag">CUDA</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Compiler/" rel="tag">Compiler</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/GPGPU/" rel="tag">GPGPU</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/atomicAdd/" rel="tag">atomicAdd</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/embedding/" rel="tag">embedding</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/x078/" rel="tag">x078</a></li></ul>
</footer>
</div>
</article>
<article id="post-2024_Smart_IR_Eng" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2024/01/02/2024_Smart_IR_Eng/" class="article-date">
<time class="dt-published" datetime="2024-01-02T12:53:47.000Z" itemprop="datePublished">2024-01-02</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/BLOG/">BLOG</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2024/01/02/2024_Smart_IR_Eng/">Introducing 'Smart Intermediate Representation' -- An Open Sourced Compiler Framework for Smart Contract</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<h2 id="Background"><a href="#Background" class="headerlink" title="Background"></a>Background</h2><p>Smart Intermediate Representation (hereinafter referred to as SIR) is a smart contract compiler framework independently developed by Ant Group. Paired with high-performance runtime, it is applied to the WASM ecosystem. On a mission of compiling multi-target and multi-scenario smart contracts more securely and reliablely, it is committed to providing a computing engine driven by IR, both on and off the chain.</p>
<p class="article-more-link">
<a href="/2024/01/02/2024_Smart_IR_Eng/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="https://izhen.me/2024/01/02/2024_Smart_IR_Eng/" data-id="cluwq5p9h0000zcjr5hs40w1q" data-title="Introducing 'Smart Intermediate Representation' -- An Open Sourced Compiler Framework for Smart Contract" class="article-share-link">Share</a>
<a href="https://izhen.me/2024/01/02/2024_Smart_IR_Eng/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/AI/" rel="tag">AI</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Compiler/" rel="tag">Compiler</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Ethereum/" rel="tag">Ethereum</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Layer-2/" rel="tag">Layer 2</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Rollup/" rel="tag">Rollup</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Rust/" rel="tag">Rust</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Solidity/" rel="tag">Solidity</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/x077/" rel="tag">x077</a></li></ul>
</footer>
</div>
</article>
<article id="post-2023_Smart_IR" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2023/12/29/2023_Smart_IR/" class="article-date">
<time class="dt-published" datetime="2023-12-29T12:53:47.000Z" itemprop="datePublished">2023-12-29</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/BLOG/">BLOG</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2023/12/29/2023_Smart_IR/">Smart Intermediate Representation 编译框架</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>Github Repo 地址:<a target="_blank" rel="noopener" href="https://github.com/AntChainOpenLabs/Smart-Intermediate-Representation">https://github.com/AntChainOpenLabs/Smart-Intermediate-Representation</a></p>
<p class="article-more-link">
<a href="/2023/12/29/2023_Smart_IR/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="https://izhen.me/2023/12/29/2023_Smart_IR/" data-id="clqg6ig2n00000djrctfogazj" data-title="Smart Intermediate Representation 编译框架" class="article-share-link">Share</a>
<a href="https://izhen.me/2023/12/29/2023_Smart_IR/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/AI/" rel="tag">AI</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Compiler/" rel="tag">Compiler</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Ethereum/" rel="tag">Ethereum</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Layer-2/" rel="tag">Layer 2</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Rollup/" rel="tag">Rollup</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Rust/" rel="tag">Rust</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Solidity/" rel="tag">Solidity</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/x076/" rel="tag">x076</a></li></ul>
</footer>
</div>
</article>
<article id="post-2022_ERC721G" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2022/06/21/2022_ERC721G/" class="article-date">
<time class="dt-published" datetime="2022-06-21T12:53:47.000Z" itemprop="datePublished">2022-06-21</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/BLOG/">BLOG</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2022/06/21/2022_ERC721G/">世界上第一款防盗智能合约——ERC721G</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>自NFT流通以来,出现过多起被盗事件。主要有私钥被盗、钓鱼攻击等主要表现形式,在现有的案例中一经被盗很难被追回。追回的案例也大都需要被盗人二次出价,成本极高。在此TurtleCase Gang提出一种通用的技术解决方案,以便可以适配任何ERC721标准的合约,帮助NFT持有者共同守护财产安全。</p>
<p class="article-more-link">
<a href="/2022/06/21/2022_ERC721G/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="https://izhen.me/2022/06/21/2022_ERC721G/" data-id="clqg668aq0000vhjr4t1i0dyp" data-title="世界上第一款防盗智能合约——ERC721G" class="article-share-link">Share</a>
<a href="https://izhen.me/2022/06/21/2022_ERC721G/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/BigBrother/" rel="tag">BigBrother</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/ERC721/" rel="tag">ERC721</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Ethereum/" rel="tag">Ethereum</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/NFT/" rel="tag">NFT</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Opensea/" rel="tag">Opensea</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Solidity/" rel="tag">Solidity</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/TurtleCase/" rel="tag">TurtleCase</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/x075/" rel="tag">x075</a></li></ul>
</footer>
</div>
</article>
<article id="post-2022_web3_stack" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2022/06/01/2022_web3_stack/" class="article-date">
<time class="dt-published" datetime="2022-06-01T12:53:47.000Z" itemprop="datePublished">2022-06-01</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/BLOG/">BLOG</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2022/06/01/2022_web3_stack/">工业级web3应用开发技术选型</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>本文给出当下web3产品级应用的技术栈推荐,可供置身于去中心事业的科技从业人员参考。</p>
<p class="article-more-link">
<a href="/2022/06/01/2022_web3_stack/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="https://izhen.me/2022/06/01/2022_web3_stack/" data-id="clee9v97s0000d0jrfi14574y" data-title="工业级web3应用开发技术选型" class="article-share-link">Share</a>
<a href="https://izhen.me/2022/06/01/2022_web3_stack/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Hardhat/" rel="tag">Hardhat</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/IPFS/" rel="tag">IPFS</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Infura/" rel="tag">Infura</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Metamask/" rel="tag">Metamask</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Next-js/" rel="tag">Next.js</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/React/" rel="tag">React</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Rinkeby/" rel="tag">Rinkeby</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Rust/" rel="tag">Rust</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/TypeScript/" rel="tag">TypeScript</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/dotenv/" rel="tag">dotenv</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/web3/" rel="tag">web3</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/x074/" rel="tag">x074</a></li></ul>
</footer>
</div>
</article>
<article id="post-2022_crypto" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2022/05/31/2022_crypto/" class="article-date">
<time class="dt-published" datetime="2022-05-31T12:53:47.000Z" itemprop="datePublished">2022-05-31</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/BLOG/">BLOG</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2022/05/31/2022_crypto/">数字货币一日通——OpenZeppelin的ERC20</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>本文尝试发行一款基于以太坊区块链的数字货币,在此之前你需要先熟悉<code>Solidity</code>这门合约语言,并拥有<code>Metamask</code>钱包和账户。</p>
<p>「本文仅做技术探讨,如有上主网需求,请遵循当地国家的法律法规,后果自负」</p>
<p class="article-more-link">
<a href="/2022/05/31/2022_crypto/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="https://izhen.me/2022/05/31/2022_crypto/" data-id="cl3s9mvuo00009kdx5x3ic44x" data-title="数字货币一日通——OpenZeppelin的ERC20" class="article-share-link">Share</a>
<a href="https://izhen.me/2022/05/31/2022_crypto/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Bitcoin/" rel="tag">Bitcoin</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Crypto/" rel="tag">Crypto</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/ERC20/" rel="tag">ERC20</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Ethereum/" rel="tag">Ethereum</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Hardhat/" rel="tag">Hardhat</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Solidity/" rel="tag">Solidity</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/x073/" rel="tag">x073</a></li></ul>
</footer>
</div>
</article>
<article id="post-2022_NFT" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2022/05/28/2022_NFT/" class="article-date">
<time class="dt-published" datetime="2022-05-28T12:53:47.000Z" itemprop="datePublished">2022-05-28</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/BLOG/">BLOG</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2022/05/28/2022_NFT/">NFT一日通——Azuki的ERC721A</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>本文尝试发行一款<code>NFT</code>,我们从合约出发而不是直接使用<a target="_blank" rel="noopener" href="https://opensea.io/">Opensea</a>来搞定定制化发布,在此之前你需要先熟悉<code>Solidity</code>这门合约语言,并拥有<code>Metamask</code>钱包和账户。</p>
<p class="article-more-link">
<a href="/2022/05/28/2022_NFT/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="https://izhen.me/2022/05/28/2022_NFT/" data-id="cl3ptc2cg0000wldxas743mz6" data-title="NFT一日通——Azuki的ERC721A" class="article-share-link">Share</a>
<a href="https://izhen.me/2022/05/28/2022_NFT/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/ERC721/" rel="tag">ERC721</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Ethereum/" rel="tag">Ethereum</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Hardhat/" rel="tag">Hardhat</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/NFT/" rel="tag">NFT</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Opensea/" rel="tag">Opensea</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Solidity/" rel="tag">Solidity</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/web3-js/" rel="tag">web3.js</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/x072/" rel="tag">x072</a></li></ul>
</footer>
</div>
</article>
<article id="post-2022_DApp" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2022/05/23/2022_DApp/" class="article-date">
<time class="dt-published" datetime="2022-05-23T12:53:47.000Z" itemprop="datePublished">2022-05-23</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/BLOG/">BLOG</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2022/05/23/2022_DApp/">DApp一日通——web3.js、Truffle与Dfinity篇</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>本文在<a href="">Truffle</a>框架的基础上给出一个可快速上手DApp的教程,并非工业化流程,其中对于真实的生产环境做了大量的精简,仅保留最关键的几个部分,对于初学者足以了解一个DApp的开发工作流程,但是对于工业级生产则远远不够。这里仅作为一个入门来一窥<code>DApp</code>的基本概念。</p>
<p class="article-more-link">
<a href="/2022/05/23/2022_DApp/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="https://izhen.me/2022/05/23/2022_DApp/" data-id="cl3il1hro0000nndx08wccvo8" data-title="DApp一日通——web3.js、Truffle与Dfinity篇" class="article-share-link">Share</a>
<a href="https://izhen.me/2022/05/23/2022_DApp/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/DApp/" rel="tag">DApp</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Dfinity/" rel="tag">Dfinity</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Ethereum/" rel="tag">Ethereum</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Geth/" rel="tag">Geth</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Haskell/" rel="tag">Haskell</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/OCaml/" rel="tag">OCaml</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Solidity/" rel="tag">Solidity</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Truffle/" rel="tag">Truffle</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/web-3-0/" rel="tag">web 3.0</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/web3-js/" rel="tag">web3.js</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/x071/" rel="tag">x071</a></li></ul>
</footer>
</div>
</article>
<article id="post-2022_solidity" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2022/05/15/2022_solidity/" class="article-date">
<time class="dt-published" datetime="2022-05-15T12:53:47.000Z" itemprop="datePublished">2022-05-15</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/BLOG/">BLOG</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2022/05/15/2022_solidity/">智能合约一日通——Solidity篇</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>比特币是中本聪(未必是个体,可能是一群人,人人都可能是中本聪)送给全世界的礼物,在过去的历史经验中,我们看到了其叹为观止的金融属性,但是作为一种创新我们除了看到其金融性质外,还有很多熟悉的事物值得被重新定义,从而探索出新的价值。就比如说:信任和验证。这也带来了在区块链上部署去中心可计算合约的可能性:Smart Contract。</p>
<p class="article-more-link">
<a href="/2022/05/15/2022_solidity/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="https://izhen.me/2022/05/15/2022_solidity/" data-id="cl32ohoo700003jdxf71ibo6c" data-title="智能合约一日通——Solidity篇" class="article-share-link">Share</a>
<a href="https://izhen.me/2022/05/15/2022_solidity/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/ERC20/" rel="tag">ERC20</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/ERC721/" rel="tag">ERC721</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Smart-Contract/" rel="tag">Smart Contract</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Solidity/" rel="tag">Solidity</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/vault/" rel="tag">vault</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/web-3-0/" rel="tag">web 3.0</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/x070/" rel="tag">x070</a></li></ul>
</footer>
</div>
</article>
<article id="post-2022_web1_web3" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/2022/05/07/2022_web1_web3/" class="article-date">
<time class="dt-published" datetime="2022-05-07T12:53:47.000Z" itemprop="datePublished">2022-05-07</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/BLOG/">BLOG</a>
</div>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/2022/05/07/2022_web1_web3/">从web 1.0到web 3.0</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>最近很忙,难得偷闲写一篇文章。感叹世界的变化真的很快,转眼间<code>web 2.0</code>以某种意想不到的方式开始陨落了,在人类历史中还未曾有如此迅速之变局,想必第一次工业革命也是持续了百年之久的。回忆起自己小时候,小学四年级的暑假,11岁,用 Frontpage 2000 亦或是 2002/03 制作了人生中第一个网站<a target="_blank" rel="noopener" href="http://zy812.izhen.me/">神英启蒙网</a>(<a href="../../../../2018/09/20/firstsite/">全文</a>),那是典型的<code>web 1.0</code>时代的产物,<em>只读</em>。快20年了,现在已经处于web2到web3的大航海时代,是一种交割,也是一种新增量,未来必然是冒险家的乐园。</p>
<p class="article-more-link">
<a href="/2022/05/07/2022_web1_web3/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="https://izhen.me/2022/05/07/2022_web1_web3/" data-id="cl2vp7x650000d4dx8ene2je0" data-title="从web 1.0到web 3.0" class="article-share-link">Share</a>
<a href="https://izhen.me/2022/05/07/2022_web1_web3/#disqus_thread" class="article-comment-link">Comments</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Frontpage/" rel="tag">Frontpage</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/NFT/" rel="tag">NFT</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/metaverse/" rel="tag">metaverse</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/token/" rel="tag">token</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/web-1-0/" rel="tag">web 1.0</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/web-2-0/" rel="tag">web 2.0</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/web-3-0/" rel="tag">web 3.0</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E5%85%83%E5%AE%87%E5%AE%99/" rel="tag">元宇宙</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E5%B0%8F%E5%AD%A6/" rel="tag">小学</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E7%83%98%E5%9F%B9%E9%B8%A1/" rel="tag">烘培鸡</a></li></ul>
</footer>
</div>
</article>
<nav id="page-nav">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><span class="space">…</span><a class="page-number" href="/page/12/">12</a><a class="extend next" rel="next" href="/page/2/">Next »</a>
</nav>
</section>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
© 2009-2024 Zhen Yi<br>
Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
<br>
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<span class="site-uv">用户访问: <span class="busuanzi-value" id="busuanzi_value_site_uv"></span></span>
<span class="site-pv">本站访问: <span class="busuanzi-value" id="busuanzi_value_site_pv"></span></span>
</div>
</div>
</footer>
</div>
<nav id="mobile-nav">
<a href="/" class="mobile-nav-link">Home</a>
<a href="/archives" class="mobile-nav-link">Archives</a>
<a target="_blank" rel="noopener" href="http://sweetpotato.ai" class="mobile-nav-link">λ</a>
<a href="/lab" class="mobile-nav-link">About</a>
<a target="_blank" rel="noopener" href="https://resume.izhen.me" class="mobile-nav-link">Resume</a>
<a target="_blank" rel="noopener" href="https://github.com/i-zhen" class="mobile-nav-link">Github</a>
</nav>
<script>
var disqus_shortname = 'izhen';
(function(){
var dsq = document.createElement('script');
dsq.async = true;
dsq.src = 'https://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<script src="/js/jquery-3.4.1.min.js"></script>
<script src="/fancybox/jquery.fancybox.min.js"></script>
<script src="/js/script.js"></script>
</div>
</body>
</html>