找到约 12 条结果

问题 transferFrom接口报错

自己编译发布的合约(合约地址A),通过WriteConstrac里面的接口transferFrom接口进行代币转账。 说明:合约地址A,钱包地址B 通过transferFrom可以把B地址的代币转给A成功 通过transferFrom把A地址的代币转给B,就报错:”SafeMath:sub...

问题 关于交易字段内容的问题

如果交易的data字段为空,就是转eth的交易,如果不为空就要分两种情况,1情况是to字段是eoa地址的话,那data字段的数据就是链上记录的数据,没有执行的效果,2情况是to字段是合约地址的话,那data字段就是要执行的合约的方法...

文章 最全区块链开发者学习路线图

![image.png](https://img.learnblockchain.cn/attachments/2023/02/hlDiNSUD63e1b7bee87d6.png) Blockchain A blockchain is a decentralized, distributed, and oftentimes public, digital ledger consisting of records called blocks that is used to record transactions across many computers so that any invo...

问题 chainlink VRF获取随机数失败

代码是我在chainlink文档的: https://docs.chain.link/vrf/v2-5/overview/direct-funding ![image.png](https://img.learnblockchain.cn/attachments/2024/12/BAQO7MZj6762a43c55ef3.png) 我更改了参数linkAddress(BSC TEST)wrapperAddress (BSC TEST) : https://docs.chain.link/vrf/v2-5/support...

视频 RBuilder:一个基于Reth的MEV构建器

Ferran from Flashbots introduced the ArtBuilder, a new modular block building stack designed to enhance the efficiency and innovation of block building processes. The ArtBuilder leverages the Proposal Builder Separation (PBS) model, allowing builders to create blocks while proposers select the highe...

招聘 区块链开发

Role and Responsibilities: - Design and develop smart contract on Solidity or related technologies - Write high-performance blockchain code and ultra-low latency systems (Golang, Rust) - Analyze massive data and improve internal blockchain algorithms and related systems - Able to continuously ap...

文章 ERC721/ERC1155合约开发与合约安全

SharkTeam合约安全系列课程之NFT&GameFi开发与安全。第四课,让我们一起来详细聊聊ERC721/ERC1155协议。本文使用的 Openzeppelin 是 4.2.0 版本。 ## ERC721 合约开发 本文中,将 ERC721 代币分为 4 个部分: 1. 基本元数据,包括名称 `name...

文章 智能合约语言 Solidity 教程系列13 - 函数调用

... Solidity 系列完整的文章列表请查看[分类-Solidity](https://learnblockchain.cn/categories/ethereum/Solidity/)。 ## 写在前面 Solidity 是[以太坊智能合约](https://learnblockchain.cn/2018/01/04/understanding-smart-contracts/)编程语言,阅读本文前,你应该对...

文章 区块链中的数学 - RSA算法加解密过程及原理

... 写在前面 上一节介绍了[数论中的费马小定理](https://learnblockchain.cn/article/1558),这一节继续讲RSA算法。RSA算法依赖的数论知识点较多,除了上篇说的费马小定理,还包括欧拉定理(欧拉函数)等。关于RSA知识点打算分三个章节...

文章 Solana - 鉴别器 Discriminator

## **Solana 鉴别器 (Discriminator)** ## 什么是鉴别器? 在 Anchor 的上下文中,鉴别器是一个用于区分各种数据类型的唯一标识符。鉴别器对于在运行时区分不同类型的账户数据结构至关重要。此外,鉴别器还会添加到指令的开头,...

文章 任意地址欺骗攻击:ERC2771Context Multicall 公开披露

OpenZeppelin 团队迅速验证了**该问题并非 OpenZeppelin Contracts 库中包含的实现的特有问题**。 尽管如此,为了保护生态系统免受此漏洞的影响,OpenZeppelin 事件响应团队牵头识别了可能存在漏洞的合约。在识别阶段之后,OpenZeppelin 团...

文章 关于单人质押、本地区块构建和 blobs - 分片

## 关于单人质押、本地区块构建和blobs [![](https://img.learnblockchain.cn/2025/08/06/2c02f64eba56e5061a305e16a7815b77bc5_2_377x375.jpeg)\\ 791×785 121 KB](https://ethresear.ch/uploads/default/original/3X/6/7/679782c02f64eba56e5061a305e16a7815b77bc5.jpeg "") 近几周,关于在 Pect...