找到约 13 条结果

文章 Commons Stack的值得信赖的种子

...m.com/giveth/the-commons-stack-scaling-the-commons-to-re-prioritize-people-and-the-planet-fdc076aec4eb),以引导这些社区成功建立价值并使这一新的合作经济范式成熟。 ![](https://img.learnblockchain.cn/2025/03/02/89560871_image.jpg) 可信种子通过帮助管理 Commons ...

文章 近期Solana黑客攻击事件回顾:共同特征及防范措施是什么?

...cnbc.com/2022/02/02/320-million-stolen-from-wormhole-bridge-linking-solana-and-ethereum.html) - CashioApp — [$5000万被盗,由于缺少账户](https://www.yahoo.com/video/solana-cashio-hack-loots-52-165359406.html) [验证](https://www.cnbc.com/2022/02/02/320-million-stolen-from-wormhole-bridg...

文章 Circom 中的 MD5 哈希

...约束。 具体来说,MD5 哈希具有以下子程序: * 按位 AND、OR、NOT 和 XOR * LeftRotate * 加 32 位数字并在 $2^{32}$ 处溢出 * 函数 `Func`,它使用按位运算符将寄存器 `B`、`C` 和 `D` 组合在一起 * 开始时的填充步骤,在输入后添加 1 ...

文章 (八)Move语言的函数

...### 2.3 高级用法:模式匹配与元组 ```move public fun divide_and_remainder(a: u64, b: u64): (u64, u64) { (a / b, a % b) } public fun example_usage() { let (quotient, remainder) = divide_and_remainder(10, 3); } ``` ## 3. 控制流(Control Flow) 控制流是程序...

文章 十字路口的密码学:道德责任,密码朋克运动与机构

... 在《密码朋克:数字时代的隐私与安全》一书中\[3\], Anderson 从新的哲学角度解决了有关密码朋克运动的道德伦理和宣言的几个问题。这本书相对较新,且对密码朋克运动的道德伦理采用了现代方法。 > “然而,密码朋克哲学...

文章 zkBridge、EigenLayer双重质押与Renzo

Securing Trust-minimized and fast-finality interoperability for Bitcoin and Layer-2 networks with 1.8 Billion economic security of Renzo’s LRT and ZK token dual-staking ![](https://img.learnblockchain.cn/2025/04/09/1TDMHQsPaZWa7GM2b9dNfsg.png) ## 介绍 Polyhedra Network的 [zkBridge](https://z...

文章 如何在 NFT 市场上进行买卖

目录 [切换](https://blockapps.net/blog/how-to-buy-and-sell-on-nft-marketplaces/#) ## 了解 NFT 市场 在过去的几年里,不可替代代币(NFT)的世界已经爆炸式增长,各种 NFT 市场的兴起在这一增长中起到了至关重要的作用。这些平台已成为创作...

文章 Sui 上简单 Swap 的实现 | Move dApp 极速入门(拾玖)

...ocket 三个结构体: ``` ///Liquidity provider, parameter 'X' and 'Y' ///are coins held in the pool. struct LP has drop {} /// Pool with exchange struct Pool has key {     id: UID,     coin_x: Balance,     coin_y: Balance,     lp_supply: Su...

文章 硬件安全:安全芯片、TPM、HSM 和 TEE

...e_ > > _来源: [https://tropicsquare.com/blogs/hardware-security-understanding-the-differences-between-a-secure-element-tpm-hsm-and-a-tee](https://tropicsquare.com/blogs/hardware-security-understanding-the-differences-between-a-secure-element-tpm-hsm-and-a-tee)_ _本文为 “ [安全芯片](htt...

文章 从 Lamport 签名中获得脚本状态

...(bit set)的不同数字相加,我们就可以按位构造(bitwise-construct)以及按位解构(bitwise-deconstruct)一个数字。 凭借这一洞见,Rubin 以如下方法检查了一个编码成一系列哈希原像的 Lamport 签名: 1. 对每一个原像,计算其哈希值...

文章 Michael.W基于Foundry精读Openzeppelin第59期——Proxy.sol

...th any static call because it emits event in _beforeFallback() // and causes the evm error: "StateChangeDuringStaticCall" vm.expectRevert(); proxy.i(); vm.expectRevert(); proxy.addr(); vm.expectRevert(); proxy.fixedArray(0); vm....

文章 Solidity与EVM:汇编(YUL)中的位移与掩码操作

...t slot := sload(E.slot) e := shr(mul(E.offset, 8), slot) masked := and(0xffff,e) } } ``` 返回: - **0:**bytes32: e 0x0000000000000000000000000000000000000000000000000000000000010008 - **1:**uint256: masked 8 你可以看到,它返回了 E 的值 8 恭喜你,现在你知道如何...

文章 Rust 类型转换实战:利用 From/Into Trait 实现带 Default 容错的安全转换

... with something like `"4".parse::()`. The // outcome of this needs to be handled appropriately. // // Steps: // 1. If the length of the provided string is 0, then return the default of // Person. // 2. Split the given string on the commas present in it. // 3. Extract the first element from...