找到约 14 条结果

文章 Solana Anchor 发布了新版本 0.30

....0", "description": "Created with Anchor" } } ``` ## Accounts and events as type 帐户和事件类型信息过去分别存储在它们自己的属性、帐户和事件中。这产生了一个问题,在某些情况下找不到类型,因为类型字段中不存在类型定义。 ...

文章 SUI Move开发必知必会——使用SUI DeepBook构建DEX-1:入门篇

...,欢迎大家指正。 参考资料: - https://docs.sui.io/standards/deepbook - https://github.com/MystenLabs/sui/tree/main/crates/sui-framework/packages/deepbook - https://dacade.org/zh/communities/sui/challenges/19885730-fb83-477a-b95b-4ab265b61438/learning-modules/fc2e67a1-520...

文章 全面了解欺诈证明和有效性证明的指南

...ttps://ethereum.org/en/developers/docs/scaling/zk-rollups/#zk-rollups-pros-and-cons),这可能增加费用,特别是当交易复杂时。 2. **复杂的实现**:ZK Rollups 所需的加密算法和证明系统更复杂,难以实现和维护。 3. **可信的设置:** 证明系统,如 [SNA...

文章 将Uniswap V4集成到你的智能合约中:逐步指南

...前已经涵盖了 [Uniswap v3](https://www.buildbear.io/resources/guides-and-tutorials/uniswapv3) 并将其集成到我们的项目中。 ## Uniswap V4 有什么新变化? **Hook功能 (Hooks Feature):** Hook是可以链接到流动性池的智能合约,为池的生命周期的各个阶段(...

文章 构建基于区块链的葡萄酒市场:技术之旅

... public onlyOwner { require(tokenIds.length == uris.length, "Token IDs and URIs length mismatch"); for (uint256 i = 0; i < tokenIds.length; i++) { safeMint(to, tokenIds[i], uris[i]); } } ``` ### _管理所有权和 tokenURI_ 此代码启用 NFT 所有权的转移,同时更...

文章 第五阶段:法规遵从与风险管理 - 第二部分:智能合约安全与合规

.../genesis-hukuk/an-absolute-guide-for-tokenization-processes-with-questions-and-considerations-ff3bb61a2cda) 在第五阶段的第 2 部分,我们将深入探讨确保**智能合约安全与合规**的基本法律和监管考量。本节将讨论关键方面,包括法律审查、管辖权挑战...

文章 The Graph监听合约事件:从部署到查询

...@latest npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated rimraf@2.7.1: Rimraf versio...

文章 基础篇-引用与借用

... &s; // 没问题 let r3 = &mut s; // 错误 println!("{}, {}, and {}", r1, r2, r3); ``` 错误信息: ``` $ cargo run Compiling variables v0.1.0 (/projects/variables) error[E0502]: cannot borrow `s` as mutable because it is also borrowed as immutable --> src/main.rs:6:14 ...

文章 EVM Paymaster & Bundler 前五大供应商的性能基准测试

... ![](https://img.learnblockchain.cn/2025/07/05/mework_Navigate_Rollups_L1s_and_L2s_050fed92d4.png) ### 概述 (TL;DR) - **我们**分析了前五大EVM Paymaster & Bundler解决方案(Gelato Relay、Pimlico、ZeroDev UltraRelay、Alchemy和ThirdWeb)的性能指标 - **测试**揭示了延迟...

文章 DAO的法律考量

...基础知识](https://blockapps.net/blog/the-fundamentals-of-the-metaverse-and-web3/) - [去中心化系统实现的网络安全未来](https://blockapps.net/blog/the-future-of-cybersecurity-with-decentralized-systems/) - [通证化及其对商业的影响](https://blockapps.net/blog/tokenization-an...

文章 UUPSUpgradeable 漏洞分析

...pgrade方法,用于授权一个新地址。同时提供了一个upgradeToAndCall方法,用于升级后马上进行初始化操作。 ```js function upgradeTo(address newImplementation) external virtual { //第一步检查msg.sender的权限 _authorizeUpgrade(newInplementation); ...

文章 每周以太坊进展,2020/07/19

...论坛](http://ask-about-geth.xyz/) * [KV witness](https://medium.com/@mandrigin/kv-witness-8985168537f9):另类的区块见证数据提议 ## Eth2 * [一份对 Eth2 经济模型的检视](https://medium.com/@thomasborgers/ethereum-2-0-economic-review-1fc4a9b8c2d9) * [Afri 更新了 Eth2 ...

文章 Sui Move 实现一个简单的票务系统

...kage_services_ids: vector, income: Balance, } ``` ## 2.5 Service and PackageServices - Service 单项服务,只需要服务名称和其价格: ```move public struct Service has store, drop { service_name: String, price: u64, } ``` - PackageServices 服务套...

文章 如何启动一个DAO博客

...考虑了 [DAO 的优缺点](https://www.web3.university/article/the-pros-and-cons-of-building-a-dao),并准备好将你的知识付诸实践。此外,虽然从技术上讲你可以在各种区块链上构建 DAO,但我们将使用以太坊网络进行此分析,因为截至撰写本文时,...