找到约 14 条结果

文章 Aptos中实现merkle树验证

...案。 ![Hash_Tree.svg.png](https://img.learnblockchain.cn/attachments/2022/11/SdNDXDui63730e3c9c2c1.png) merkle树本质是一个满二叉树,它的叶子结点保存着原数据的hash值,非叶子结点存储的数据是左儿子节点和右儿子节点数据的拼接后求hash(排序...

文章 Concrete v2.6:近似PBS、输入压缩、扩展的组合函数、速度提升

... @fhe.function({"x": "encrypted"}) def inc(x): return x + 1 % 20 @fhe.function({"x": "encrypted"}) def dec(x): return x - 1 % 20 inputset = list(range(20)) my_module = MyModule.compile( {"inc": inputset, "dec": inputset}, ) x = 5 x_enc = my_module.inc.encr...

文章 简述目前相对成熟的区块链共识算法

...币安链等多种公链 环境中。 ![](https://img.learnblockchain.cn/2020/01/15783681785350.jpg) 欢迎阅读 [Tendermint Core文档](https://learnblockchain.cn/docs/tendermint/)。 * 开发语言:Go * 下载地址:https://github.com/tendermint/tendermint ### 1.2 BFT-SMaRt BFT-SM...

文章 EVM字节码和逆向基础

..."#utility.yul":84:90 */ 0x00 /* "#utility.yul":137:139 */ 0x20 /* "#utility.yul":125:134 */ dup3 /* "#utility.yul":116:123 */ dup5 /* "#utility.yul":112:135 */ sub /* "#utility.yul":108:140 */ slt /* "#utility.yul":105:157 */ iszero ...

文章 Solana SPL-Token使用

...rray.from([254, 233, 47, 184, 38, 87, 109, 215, 23, 19, 232, 58, 158, 100, 20, 113, 114, 166, 245, 54, 156, 124, 150, 200, 102, 168, 189, 23, 167, 217, 250, 37, 4, 250, 253, 205, 123, 153, 120, 40, 76, 97, 155, 241, 245, 242, 16, 124, 107, 84, 183, 155, 167, 20, 153, 15, 155, 181, 72, 219, 246, 224,...

文章 用Truffle, Solidity, React, Material UI, Web3 创建一个全栈筹款Dapp(Fundraiser Dapp)

![1.jpeg](https://img.learnblockchain.cn/attachments/2022/04/JrjGeojd6254da13d2931.jpeg!/scale/40) 图片来源: [Shubham Dhage](https://unsplash.com/@theshubhamdhage) 我们将使用 React Truffle Box 为 web3 应用生成前端代码,让它可以快速运行起来并与 web3 交互。从...

文章 SummitShare 数字回归

...非洲文物遗产的数字化归还。 ![](data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%271064%27%20height=%27456%27/%3e)![数字化归还](https://img.learnblockchain.cn/2025/04/26/27488010_image.jpg) **以下是 Next Billion Fellowship 研...

文章 我们为何投资于Rome Protocol

...L1),而不执行这些事务。 ![](https://img.learnblockchain.cn/2025/04/09/F2b9ba5b7-7046-4677-b274-ac5117378b5b_1078x550.png) Rome Protocol 旨在通过提供“**共享序列**”层来解决这些问题,可以并发地对所有主要 Rollup 的事务进行排序。这是通过将 S...

文章 揭示朝鲜黑客威胁的真相

...大和最具破坏性的黑客攻击归因于该组织。拉撒路集团于2016年首次被Novetta识别,他们分析了索尼影业(Sony)的黑客事件 [1](#fn-1)。 2014年,索尼正在制作**采访**(_The Interview_),这是一部动作喜剧,其核心情节是对金正恩的...

文章 通过CREATE2获得合约地址:解决交易所充值账号问题

CREATE2 是以太坊在2019年2月28号的[君士坦丁堡(Constantinople)硬分叉](https://learnblockchain.cn/2019/06/15/eth-history1#%E5%A4%A7%E9%83%BD%E4%BC%9A-%E5%90%9B%E5%A3%AB%E5%9D%A6%E4%B8%81%E5%A0%A1-Constantinople-%E7%A1%AC%E5%88%86%E5%8F%89--2019%E5%B9%B42%E6%9C%8828%E6%97%A5)中引...

文章 Solana 计算单元与交易费用概述

...(Compute Units, CU),而非“燃气”。每个交易默认上限为 20 万 CU(可额外付费提升至 140 万 CU),超出限制则交易回滚。与以太坊将存储成本纳入燃气计算不同,Solana 的持久存储定价另行处理,因此本文聚焦操作码执行的费用模...

文章 如何使用 NFTScan SDK 工具构建 NFT Explorer Dapp

...和数据存储的需要,用户现在可以发出单个请求,获取 ERC-721 和 ERC-1155 的特定 NFT 信息。这包括检索信息,如识别与地址相关联的所有 NFT 或获取特定 NFT 的元数据和属性。 通过 NFTScan NFT API 开发者可以自动获取与处理数据...

文章 Solidity 开发者必知的 Rust 语法基础

... Program 7gHaAQrPS1TeCoohEu6F8RTC7bBauYVCfvriUdJrao8W consumed 340 of 200000 compute units Program 7gHaAQrPS1TeCoohEu6F8RTC7bBauYVCfvriUdJrao8W success ``` ### **三元运算符** Solidity 中的三元运算符示例: ```solidity function ageChecker(uint256 age) public pure re...

文章 EIP712来了:期待什么以及如何使用它

...可以从上述片段中衍生出两个数据结构:`Bid`,它包括以 ERC20 `token` 计量的出价 `amount` 和拍卖 `id`,以及 `Identity`,它指定了 `userID` 和 `wallet` 地址。 接下来,将 `Bid` 和 `Identity` 作为 [structs](https://solidity.readthedocs.io/en/v0.4.24/types....