找到约 15 条结果

文章 2022年夏季我们正在阅读的一些书籍

...# …来自 Scott Duke Kominers,研究团队: **_Auctions: The Social Construction of Value_,作者:Charles Smith。** “这部经典而生动的社会学著作探讨了拍卖如何在整个社会中涌现,作为建立社区对价值共识的一种方式。(听起来很熟悉?)”...

文章 Sui Move 学习:Object & 四种能力

...ate an instance of the `IgnoreMe` struct and ignore it. // Even though we constructed the instance, we don't need to unpack it. fun test_ignore() { let no_drop = NoDrop {}; let _ = IgnoreMe { a: 1, b: 2 }; // no need to unpack // The value must be unpacked for the code to compile....

文章 单向函数算法深入丨区块链技术培训课程#5

...lles Van Assche设计。Keccak采用了一种称为"海绵结构"(sponge construction)的设计,这种设计使得它在安全性和性能上都有独特的优势。 输出长度为 X 位的 SHA-3 哈希函数表示为:SHA3-X(M) 下面以输出长度为 256 位的函数为例...

文章 Ordinal NFT实现原理及Bitcoin Regtest测试网Mint教程

...//docs.lightning.engineering/the-lightning-network/taro/taro-protocol) - [constructing-and-spending-taproot-outputs](https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki#constructing-and-spending-taproot-outputs) - [tapscript-example-with-tap](https://github.com/bitcoin-core/btcdeb/blob/...

文章 揭露并修复Aleo中的一个通胀漏洞 - ZKSECURITY

..._fields() { Ok(fields) => { // Construct the (future) output index as a field element. let index = Field::from_u16(index as u16); // Construct the preimage as `(function ID || output || tcm || index)`. ...

文章 sui-move基础(四):letsmove-task3

...e attribute can be a field on the object that defines the NFT itself. This construct provides a much more straightforward process for accessing metadata for the NFT as the smart contract that wants the information can just return the name from the object itself. 翻译一下(来自gpt): ...

文章 【zkMIPS系列】Poseidon hash设计流程 & 代码

... # 1. 海绵结构 Poseidon哈希函数采用下面的海绵结构(Sponge Construction)来进行设计,其中P是Posedion每轮的置换函数,$I$是初始状态。假设初始状为$I$为全$0$向量,有一个消息$m=m_1||m_2||m_3||m_4$,输出为$h=h_1||h_2$,且每个$m_i$和$h_i$都...

文章 用Substrate框架实现一个简单的游戏应用

... 最后,我们需要在运行时构造函数中包含demo模块: ``` construct_runtime!( pub enum Runtime with Log(InternalLog: DigestItem) where Block = Block, NodeBlock = opaque::Block, UncheckedExtrinsic = UncheckedExtrinsic { System: system::{default, Log(ChangesT...

文章 黑科技区块链如何来建设“智慧城市”

...智慧城市解决方案,如图2-1-1所示。 The new smart city is constructed with the focus mainly on big data and block chain technology, and the multi-dimensional smart city solution is formed by means of combining “one center, four platforms, multi-application, unified chain”, as show...

文章 加密货币中的代币经济学:关于代币化房地产,你需要了解什么

... [研究表明](https://www.ey.com/en_ch/insights/real-estate-hospitality-construction/tokenization-from-illiquid-to-liquid-real-estate-ownership),代币化解决了房地产投资的传统流动性不足问题。全球房地产市场的价值约为 302 万亿瑞士法郎,通过代币化可以...

文章 二层网络 Optimism 智能合约要点解析

... uint32 _l2Gas, bytes memory _data ) internal { // Construct calldata for finalizeDeposit call bytes memory message = abi.encodeWithSelector( IL2ERC20Bridge.finalizeDeposit.selector, address(0), Lib_PredeployAddresses.OVM_ETH, ...

文章 STARK 证明系统时序图

... PhaseAnyone with access to the binary file and thepublic parameters can reconstruct the Image ID. Note over P: Execute the binary toconstruct the Main Execution Trace. Note over P: Compute Low DegreeExtension to construct theExtended Main Execution Trace. Note over P: Merklize Extended Mai...

文章 Substrate 总览(3) - 入门参考

...strate根目录上,执行 ``` cargo run -- --dev -d .sub --block-construction-execution=NativeElseWasm --other-execution=NativeElseWasm ``` 即可和`new-S`一样运行起以Alice为私钥启动的单验证者节点。 这里提一下,在这个版本的substrate里面存在一...

文章 Substrate 抛硬币游戏(二):编写测试和UI

...nction的第一个参数是`Origin`枚举类型吗?在实现代码中,`construct_runtime!`宏通过调用`impl_outer_origin!`自动为我们添加了Origin的定义。但是在测试代码中,我们需要自己调用`impl_outer_origin!`帮我们生成runtime所依赖的`Origin`类型,宏解...

文章 创建一个基于链上实时数据的动态SVG NFT

...ore individual stream addresses so they can be referenced post-mint constructor() ERC721("BuidlGuidl Tabard", "BGT") {} function mintItem(address streamAddress) public { // Minimal check that wallet is the recipient of a Stream // Someone could deploy a decoy stream t...