找到约 14 条结果

文章 Web3系列教程之入门篇---8. Dapp白名单

... deployedWhitelistContract.address ); } // Call the main function and catch if there is any error main() .then(() => process.exit(0)) .catch((error) => { console.error(error); process.exit(1); }); ``` - 现在在`hardhat-tutorial`文件夹中创建一个`.env`文...

文章 EthHub周报 #107

...本期策划:Anthony Sassano ([@sassal0x](https://twitter.com/sassal0x)) and Eric Conner ([@econoar](https://twitter.com/econoar)) ## 💰支持 EthHub Gitcoin Grants Matching Round 5 已经启动好几天了,很高兴看到社区有这么多人在支持他们所喜欢的项目。到目...

文章 Proxy contract 設計與變形

...用者需要自行的 migrate 到新的合約上,像是當年 $LEND rebrand 至 $AAVE 就是一個例子。 Twitter Embed [Visit this post on X](https://twitter.com/aave/status/1312139992815161344?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1312139992815161344%7Ctwgr%5Eb504fef38cd87a180...

文章 TFHE-rs v0.11:字符串、更快的零知识证明、GPU 上的加密数组

...y(sks); // Encrypt without padding, does not hide the string length and has better performance // 不使用填充进行加密,不会隐藏字符串长度并且具有更好的性能 let string = FheAsciiString::try_encrypt("TFHE-rs rocks!", &cks).unwrap(); // Encrypt with pa...

文章 Libra 源码分析:Libra 的准入控制(AC)模块

...码简单分析 ```rust /// Validate transaction signature, then via VM, and add it to Mempool if it passes VM check. /// 流程非常简单 /// 1. 交由本地validator验证Tx执行能否通过,如果不通过报错,否则继续2 /// 2. 获取账户最新状态,组装`AddTransactionWi...

文章 加密货币中的代币经济学:探索代币回购的风险

...担忧的趋势。 [最近的分析](https://www.cryptopolitan.com/buyback-and-burn-approach-is-growing-popular/)表明,虽然回购可以表明项目信心,但它们通常掩盖了潜在的财务挑战或创造了可能损害投资者的**人为**市场状况。 **代币回购中的关键考...

文章 Messari 研报:深度解析 Nervos Network(CKB)

...(https://messari.io/research/jennifer-obem)**;**英文原文**:[Understanding Nervos Network (CKB): A Comprehensive Overview](https://messari.io/report/understanding-nervos-network)。 本文是 Messari 撰写的英文报告的中文翻译版。本译文仅供参考,不具有法律效力。...

文章 小众比特币实现的历史及其可欲性争议

...um_ > > _来源: [https://bitcoinmagazine.com/technical/the-long-history-and-disputed-desirability-of-alternative-bitcoin-implementations-1474637904](https://bitcoinmagazine.com/technical/the-long-history-and-disputed-desirability-of-alternative-bitcoin-implementations-1474637904)_ > > _原文出...

文章 Rust编程语言入门之模式匹配

... Message::Move {x, y} => { println!("Move in the x direction {} and in the y direction {}", x, y); } Message::Write(text) => println!("Text message: {}", text), Message::ChangeColor(r, g, b) => { println!("Change the color to red {}, green {}, and blue {}", r, g, b);...

文章 理解闪电网络,Part-3:结算并关闭支付通道

...n Van Wirdum_ > > _来源: [https://bitcoinmagazine.com/technical/understanding-the-lightning-network-part-completing-the-puzzle-and-closing-the-channel-1466178980](https://bitcoinmagazine.com/technical/understanding-the-lightning-network-part-completing-the-puzzle-and-closing-the-channel-14661789...

文章 理解RWA背后的技术:区块链基础知识

目录 [切换](https://blockapps.net/blog/understanding-the-technology-behind-rwa-blockchain-basics/#) ## 现实世界资产(RWA)简介 现实世界资产(RWA)已成为区块链和金融领域的一个突破性概念。RWA 指的是将有形或无形资产(如房地产、股票或债...

文章 TFHE-rs v0.11:字符串、更快的零知识证明、GPU 上的加密数组

...y(sks); // Encrypt without padding, does not hide the string length and has better performance // 不使用填充进行加密,不会隐藏字符串长度,并且具有更好的性能 let string = FheAsciiString::try_encrypt("TFHE-rs rocks!", &cks).unwrap(); // Encrypt with...

文章 桥与跨链互兑换有什么区别?

...现有资产。 在许多 Bridge 平台上,常用的机制是 **lock-and-mint**,即资产锁定在源链上,并在目标链上铸造其代表物。可以转移的资产通常仅限于已在 Bridge 的 [智能合约](https://learnblockchain.cn/tags/smart-contract) 系统中专门支持或配...

文章 Tapscript 将如何使比特币受益?

...:Interdax_ > > _来源: [https://medium.com/interdax/what-is-tapscript-and-how-will-it-benefit-bitcoin-96fbb43a7169](https://medium.com/interdax/what-is-tapscript-and-how-will-it-benefit-bitcoin-96fbb43a7169)_ > > _原文发表于 2020 年 3 月 19 日。_ 这是我们关于 BIP 340 ~ 342 系...