找到约 13 条结果

文章 [译]合约整洁之道-智能合约模式和实践指南

... 区块链和[智能合约](https://learnblockchain.cn/2018/01/04/understanding-smart-contracts)的开发仍是相对较新的且高度试验性的。 他们需要与传统网络或应用开发不同的工程思维方式,传统网络或应用开发已成为“快速行动并打破常规”的准...

文章 Sui Move 初体验(1) -- 介绍和铸造简单的NFT

...s://hackernoon.com/hackpedia-16-solidity-hacks-vulnerabilities-their-fixes-and-real-world-examples-f3210eba5148)。 如果你熟悉用现代语言写代码,一等公民的概念应该引起你的注意。JavaScript中的函数是一等公民的对象。所有的函数都是JavaScript中的对...

文章 使用 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 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~

文章 使用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...

文章 人们为什么会不断掉入庞氏骗局?

...可能在[一场诉讼](https://coinculture.com/au/tech/investor-loses-20m-and-files-lawsuit-against-the-olympus-daos-founder/)中被揭露身份,该诉讼是由该项目的一位早期推广者提起的)。 #### Ladies’ Deposit Company:如何找到产品市场契合度 庞氏骗局不可...

文章 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 区块链及其...

文章 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:使用...

文章 Solidity 中的私有变量不私有

...docs.soliditylang.org/en/v0.8.10/internals/layout_in_storage.html#mappings-and-dynamic-arrays getStorageAt 需要传入两个参数,第一个参数是合约地址,第二个参数是要读取的状态变量的存储位置,只要我们知道的变量的位置,就能读取到所存储的值...

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

...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...

文章 CosmWasm allocate 栈溢出

...rce_ptr: u32) -> u32; +} + /// Creates a memory region of capacity `size` and length 0. Returns a pointer to the Region. /// This is the same as the `allocate` export, but designed to be called internally. pub fn alloc(size: usize) -> *mut Region { + + let source = build_region("".as_bytes());...