找到约 14 条结果

文章 Sudoswap 正在升级 ♨️

...place has a protocol fee of only 0.5% which goes to the protocol treasury, and users can buy & sell their NFTs in one bulk transaction which helps save on gas!\\ \\ 1:07 PM · Jul 1, 2022\\ \\ * * *\\ \\ 47 Likes](https://twitter.com/sudoswap/status/1542917752733634560) ``` - 一个活跃...

文章 Sui Move 合约升级与权限定制

...x_context::sender(ctx), }); } public entry fun guess_between_zero_and_hundred(count: &mut Count, number: u8, clock: &Clock, ctx: &mut TxContext) { let des_number = ((clock::timestamp_ms(clock) % 11) as u8); if (number == des_number) { send_prize(count.total, number, ctx);...

文章 Polocolo介绍:一种利用查找表的PLONK零知识友好型哈希函数(第一部分)

...案已经涌现,成为先进的 ZK 友好哈希函数。 ### Sponge Construction(海绵结构) 设计 ZK 友好哈希函数的常用方法是首先构造一个置换(一个双射函数 $F_p^t \rightarrow \mathbb{F}\_p^t$, 其中 $t$ 表示置换的大小),然后使用 [海绵结构...

文章 什么是区块链预言机?

...s/src/v0.8/ChainlinkClient.sol"; 5 6 /** 7 * Request testnet LINK and ETH here: https://faucets.chain.link/ 8 * Find information on LINK Token Contracts and get the latest ETH and LINK faucets here: https://docs.chain.link/docs/link-token-contracts/ 9 */ 10 11 /** 12 * THIS I...

文章 区块链与机械时钟的演化

... _作者:Tony Little_ > > _来源: [https://hackernoon.com/blockchains-and-the-evolution-of-mechanical-time-60295326d9c2](https://hackernoon.com/blockchains-and-the-evolution-of-mechanical-time-60295326d9c2)_ ![](https://img.learnblockchain.cn/2025/07/15/for-title.png) > 机械时钟创造了...

文章 揭秘 Rust Unsafe 编程:程序员接管内存安全的契约与实践

... on the code block. // // NOTE: All the comments are for the readability and the maintainability of // your code, while the Rust compiler hands its trust of soundness of your // code to yourself! If you cannot prove the memory safety and soundness of // your own code, take a step back and use s...

文章 基于哈希函数的签名(四):XMSS 和 SPHINCS

...源: [https://cryptologie.net/posts/hash-based-signatures-part-iv-xmss-and-sphincs/](https://cryptologie.net/posts/hash-based-signatures-part-iv-xmss-and-sphincs/)_ > > _原文出版于 2015 年 12 月。_ > > _[前篇见此处](https://learnblockchain.cn/article/23187/)_ 本文是本系列关于...

文章 零知识证明:综合资源

...ramming-languages) 5. [库](#libraries) 6. [Layer1 和 Layer2](#layer1-and-layer2) 7. [谜题](#puzzles) 8. [书籍](#books) 10. [论文](#papers) 11. [应用和用例](#application-and-use-cases) 12. [开源项目](#opensource-projects) 13. [工具](#tools) 14. [推文](#tweets) ...

文章 Rust每日一题(11)---数据结构-链表--middle-of-the-linked-list

... let mut res = head; while count > 0 { res = res.and_then(|x|{x.next}); count -= 1; } res } } ``` 2. 继续思考如何减小遍历的次数,可以采用一个快指针一次遍历时跳过两个元素,另一个慢指针一次遍...

文章 move入门之基础概念

..."...", subdir = "...", rev = "..." }`. # Revision can be a branch, a tag, and a commit hash. # MyRemotePackage = { git = "https://some.remote/host.git", subdir = "remote/path", rev = "main" } # For local dependencies use `local = path`. Path is relative to the package root # Local = { local = ...

文章 加密货币中的代币经济学:理解代币速度及其影响

...。根据 [MultiCoin Capital](https://multicoin.capital/2017/12/08/understanding-token-velocity/),该指标可以成就或毁掉代币的长期价值主张,影响从价格稳定到效用采用的方方面面。 考虑比特币 4.1% 的速度、以太坊 3.6% 的速度和瑞波币 1.4% 的速度...

文章 椭圆曲线密码学 入门篇

翻译一篇来自 [ANDREA CORBELLINI](https://andrea.corbellini.name/) 经典的密码学文章: 原文:https://andrea.corbellini.name/2015/05/17/elliptic-curve-cryptography-a-gentle-introduction/ 以下是原文翻译: 了解公钥密码学的人可能已经听说过**ECC**、**ECDH*...

文章 Rust编程语言之编写自动化测试

...if value < 1 || value > 100 { panic!("Guess value must be between 1 and 100, got {}.", value) } Guess {value} } } #[cfg(test)] mod tests { use super::*; #[test] #[should_panic] fn greater_than_100() { Guess::new(200); } } ``` ### 让 should...

文章 克劳斯 安息, Schnorr 签名方案永存

...明** ](https://asecuritysite.com/zero) 和: ``` **EdDSA, Ed25519 and Ed448** ``` [**EdDSA, Ed25519 and Ed448** ](https://asecuritysite.com/eddsa) ### 参考文献 \[1\]. C. P. Schnorr. Efficient signature generation by smart cards(通过智能卡高效生成签名). Journal ...