找到约 14 条结果

文章 Substrate:一个通用的基于 Rust 的区块链框架

...ubstrate.stackexchange.com/questions/711/when-should-i-use-balances-pallet-and-when-should-i-use-assets-pallet](https://substrate.stackexchange.com/questions/711/when-should-i-use-balances-pallet-and-when-should-i-use-assets-pallet) 这是一个团队讨论构建快速 Substrate 区块链及其...

文章 web3服务端身份验证

... export default async function(req, res) { req.session.nonce = crypto.randomInt(111111, 999999) res.end(`Hey! Sign this message to prove you have access to this wallet. This won't cost you anything.\n\nSecurity code (you can ignore this): ${req.session.nonce}`) } ``` 然后,不是硬...

文章 Vitalik 讨论帖: 更大的L1 gaslimit 和新技术背景下的去中心化目标

...t/formalizing-decentralization-goals-in-the-context-of-larger-l1-gaslimits-and-2020s-era-tech/23942/47) >- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~

文章 vneus daemon代码解析

...把各种api服务添加到`node`对象,后面调用`(node *Node) RunRPCAndWait()`方法启动对外服务。服务接口有rest api和rpc两种形式。每个服务都是一个submodule,定义在`app/submodule`目录下,`***_submodule.go`定义类,`***_api.go`类实现接口逻辑。 另...

文章 区块链中的数学-Uniwap自动化做市商核心算法解析

...家张首晟的名言: **”the final truth must be simple, beautiful and universal“** 后面的分析文章中,我们依然能够感受到这种简洁的魅力。 下一节继续分析[uniswap中交易以及添加移除流动性对价格产生的影响](https://learnblockchain.cn/artic...

文章 深入理解 Uniswap v3 白皮书

...,同时简要介绍其在合约是如何实现的。 #### 6.1 Ticks and Ranges 点和区间 为了实现自定义流动性供应,可能的价格空间被离散的点(tick)划分。流动性提供者可以在任意两个(无需是临近的)tick定义的区间提供流动性。 > ...

文章 当空值意味着有效:利用 MPT 证明验证来获取另一种真实

...的官方文档](https://ethereum.org/en/developers/docs/data-structures-and-encoding/patricia-merkle-trie/)。下面,我们提供一个简明扼要的概述,假设你对 Merkle 树有一定的了解。 在 MPT 中,值 _v_ 存储在与其键 _k_ 对应的节点中。与二叉树不同,以...

文章 使用 BuildBear,获取你的智能合约📝 调试服务

... [medium.com/buildbear/use...](https://medium.com/buildbear/use-buildbear-and-get-your-smart-contracts-de-bugged-5a9de3e2cf2c) >- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~

文章 Blob EIP 与最低验证者要求

...链接: [ethresear.ch/t/blob-eips...](https://ethresear.ch/t/blob-eips-and-minimum-validator-requirements/20679) >- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~

文章 我们今年冬季正在阅读的一些书籍

...g-list-summer-2024/)、[2023](https://a16zcrypto.com/posts/article/reading-and-gaming-list-summer-2023/)、[2022](https://learnblockchain.cn/article/18860/)、[2019](https://a16z.com/2019/07/03/what-were-watching-listening-playing-summer-2019/)年的夏季;以及[2023](https://a16zcrypto.com/posts...

文章 BlockThreat - 2025年第31周周报

...(前身为 AnySwap)漏洞](https://dedaub.com/blog/phantom-functions-and-the-billion-dollar-no-op/)** 允许攻击者绕过预期的权限检查,并从仍然存在未撤销授权的钱包中提取资金,即使在路由器不再活跃的链上也是如此。在最近的一个案例中,一...

文章 以太坊 Fusaka 升级带来了哪些改进

...ips/EIPS/eip-7918) * [Storybook 解读文档](https://notes.ethereum.org/@anderselowsson/AIG) ### 扩展 L1 ### 历史数据到期与更简化的收据(History expiry and simpler receipts) 自 2025 年 7 月起,以太坊执行层客户端[开始支持部分历史数据到期(p...

文章 使用Foundry,感受快,rust对写合约的支持

... 参考 [GitHub - gakonst/foundry: Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.](https://github.com/gakonst/foundry) [Getting Started With Forge — Wilson (mirror.xyz)](https://w.mirror.xyz/mOUlpgkWA178HNUW7xR20TdbGRV6dMid7uChqxf...

文章 Rust的面向对象特性

... } fn introduce(&self) { println!("Hello, my name is {} and I am {} years old.", self.name, self.age); } } fn main() { let person = Person::new(String::from("Alice"), 30); person.introduce(); } ``` ### Trait 对象 **定义 Trait** 定义 Trait:使用...