找到约 14 条结果

文章 如何在 Uniswap V4 中构建自定义 Hooks

...变化和改进。[Uniswap v3](https://www.buildbear.io/resources/guides-and-tutorials/uniswapv3) 引入了集中流动性功能,允许流动性提供者选择价格范围,从而获得更高的费用。最新的 [Uniswap v4](https://www.buildbear.io/resources/guides-and-tutorials/uniswapv4) 具...

文章 什么是抢跑交易 - 它是如何运作?

...往[Cyfrin Updraft课程](https://updraft.cyfrin.io/courses/security/mev-and-governance/mev-introduction),在那里我们将更深入地讨论什么是MEV和加密抢跑交易,并向你展示如何在智能合约代码库中发现该问题。 ## 什么是加密货币中的MEV? MEV代表...

文章 每周以太坊进展 2020-01-05

...二进制默克尔树时的见证数据大小实验](https://medium.com/mandrigin/stateless-ethereum-binary-tries-experiment-b2c035497768) ## Eth2 * [极简 Eth2 元执行环境](https://ethresear.ch/t/an-even-simpler-meta-execution-environment-for-eth/6704) * SigmaPrime 的 [Beacon Fuzz 测...

文章 Etherspot周报:AI代理成为最大用户,Gemini推出Passkey钱包,Offchain Labs收购ZeroDev……

...](https://www.gemini.com/es-LA/blog/launching-the-gemini-wallet-a-simple-and-secure-way-to-go-onchain)推出 Gemini 钱包,这是一款自托管智能钱包,为加密用户和开发者提供嵌入式和可移植的灵活性。 与此相辅相成的是 Gemini Onchain™ Dashboard,这是一...

文章 hardhat 教程及 hardhat-deploy 插件使用

...ascript // SPDX-License-Identifier: MIT // The line above is recommended and let you define the license of your contract // Solidity files have to start with this pragma. // It will be used by the Solidity compiler to validate its version. pragma solidity ^0.7.0; // This is the main buildi...

文章 使用 Nodejs、MetaMask 和 OpenSea 来进行 NFT登录

...penSea API。 这是Authenticating users to your web app using metamask and nodejs一文的后续,所有基本的metamask登录代码都在该文章中共享。链接:https://blog.devgenius.io/authenticating-users-to-your-web-app-using-metamask-and-nodejs-e920e45e358 下面是我们想要...

文章 每周以太坊进展 2021/03/28

...了 450 万美元](https://medium.com/elasticdao/elasticdao-smart-contract-and-security-audits-400f424281b6) ## 生态 * [Ethereum 区块空间市场:谁能得到什么,为什么?](https://www.aniccaresearch.tech/blog/ethereum-blockspace-who-gets-what-and-why) * [Shutter network](https:...

文章 以太坊数据流分析技术

... from crytic_compile import CryticCompile from crytic_compile.platform.standard import generate_standard_export if __name__ == '__main__': compilation = CryticCompile("tests/test.sol") print(generate_standard_export(compilation)) ``` 结果如下: ``` { 'compilation_uni...

文章 欺诈证明

...计算它](https://learnblockchain.cn/article/17399#l2-output-commitment-construction)。 3. 如果输出根与`claim`匹配,则以代码 0 退出。否则,以代码 1 退出。 > 注意:争议游戏界面正在积极更改,可能需要其他声明断言。 > 输出根结语可能会被替...

文章 Rust 测试的函数、命令和种类

... if value < 1 { 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:...

文章 Softchain 的应用场景和安全成本

...> > _来源: [https://bitcoinmagazine.com/technical/softchains-use-cases-and-security-costs](https://bitcoinmagazine.com/technical/softchains-use-cases-and-security-costs)_ > > [前篇中文译本](https://learnblockchain.cn/article/18200/) 本文是研讨不同侧链设计的系列文章之一...

文章 Solana 算术运算:构建金融应用的最佳实践

...整数[溢出和下溢](https://learnblockchain.cn/article/7690#overflow-and-underflow)。 **但是,安全的金融编程不仅仅涉及Solana特定主题。** 在代币算术中的一个错误可能导致漏洞、意外通货膨胀和愤怒的用户。在Solana上,交易量高于其他区块...

文章 与 3MI Labs 和 Aligned 合作发现的 Succinct SP1 zkVM 中一个漏洞的责任披露,该漏洞由两个不同的安全漏洞相互作用而产生

...ure-of-an-exploit-in-succincts-sp1-zkvm-found-in-partnership-with-3mi-labs-and-aligned-which-arises-from-the-interaction-of-two-distinct-security-vulnerabilities/#sp1-21-unconstrained-committed_value_digest-without-commit-syscalls) 是通过在 `main()` 中显式发出 `HALT`(`0x00_00_00_00`)系...

文章 零碎的Solidity小测验.01

...`` --- > 2. What’s the main difference between a transparent proxy and a universal proxy? 题目意思是透明合约和代理合约的主要区别是啥?社区里这篇[文章](https://learnblockchain.cn/article/1933#%E4%BB%A3%E7%90%86%E5%AD%98%E5%82%A8%E5%86%B2%E7%AA%81%E5%92%8C%E9%9D...