找到约 14 条结果

文章 每周以太坊进展2022/7/2

...展 * [EIP5187](https://github.com/ethereum/EIPs/pull/5187/files): 扩展 ERC1155 , 提供可出租使用权 * [EIP5189](https://github.com/ethereum/EIPs/pull/5189/files): 通过背书操作(Endorsed Operations)抽象账户 * [EIP5192](https://github.com/ethereum/EIPs/pull/5192/files): 最...

文章 深入了解 DN-404:引领 NFT 市场的创新标准

... ### DN-404 代币标准简介 2024 年 2 月 2 日,Pandora 引入了 ERC-404 协议,旨在整合 ERC-20 代币和 ERC-721 NFT。这一整合旨在促进 NFT 的分段和整合,即所谓的分段化,为用户提供了简化的流程。尽管具有开创性,但这种方法导致以太...

文章 每周以太坊 2024/4/6

...hereum/EIPs/pull/8385/files):EOF – 为地址空间扩展做准备 * ERC(应用层): * [ERC7672](https://github.com/ethereum/ERCs/pull/353/files):基于事件的 NFT 设施 * [ERC7673](https://github.com/ethereum/ERCs/pull/354/files):可区分的 base256emoji 地址 ...

文章 ChainLight 修补周四 - 账户抽象安全指南

...的事项。 ## **AA 项目的安全考虑** ChainLight 分析了基于 ERC4337 建立或计划建立的项目的安全审计报告,并根据这些报告汇总了使用账户抽象项目的基本注意事项。在本文中,我们引用了 OpenZeppelin 对 ERC4337 参考实现的审计报告,...

文章 以太坊前端交互库:Ethers.js v6 核心功能快速入门指南

...的 ABI(即 Solidity 签名)更简单易读。 **简化的 ERC-20 ABI** ```jsx const abi = [ "function decimals() view returns (string)", "function symbol() view returns (string)", "function balanceOf(address addr) view returns (uint)" ]; ...

文章 对Corn协议 的安全性评估

...。 Corn 以 Bitcorn (BTCN) 为中心,这是一个与 BTC 挂钩的 ERC20 代币。该参与中审查的主要合约是 `CornSilo`,允许用户存入资产,通过 Bitcorn 赚取积分,然后在网络上线后将其桥接到 Corn 网络。 ## 完成的工作 Corn 的合作持续了 2...

文章 用Hardhat在zkEVM上部署一个动态NFT

... 想进一步深入了解它吗?请看我的另一篇文章:[如何将ERC20代币合约部署到zkEVM Testnet](https://learnblockchain.cn/article/5349)。 ## 准备网络与Token 建议使用[Polygon zkEVM Bridge 站点](https://public.zkevm-test.net/),将网络添加到我们的钱包...

文章 如何使用 Ethers.js 将你的 Dapp 与 MetaMask 连接起来

...够与 Ethereum 的 dApps 互动。它允许用户存储 Ether 和其他 ERC-20 代币。用户可以在游戏中花费这些代币,将它们质押在 DeFi 应用中,并在交易所进行交易。MetaMask 不仅存储 ERC-20 代币,还可以存储 ERC-721 代币。 在本文中,我们将连...

问题 golang 计算。ERC2612签名问题

我用golang 代码实现了一个ERC2612签名的代码。签名验证不通过,哪位大佬给看看哪出了问题。 ```package main import ( "crypto/ecdsa" "fmt" "github.com/ethereum/go-ethereum/accounts/abi" "log" "math/big" "strings" "github.com/ethereum/go-ethereum/...

文章 什么是 Solidity 中的映射?

...ity 映射示例** 以下是 Solidity 中映射的三个示例: 1. ERC20 代币余额 2. 使用布尔逻辑 3. 查询 DAO 的成员 ### **1. ERC20 用户余额** 此代码片段将用户地址与其地址的 ERC20 余额映射。 ``` contract ERC20 is Context, IERC20 { usin...

文章 每周以太坊进展 2023/7/1

...b.com/ethereum/EIPs/pull/7251/files):增加 `MAX_EFFECTIVE_BALANCE` * ERC(应用层): * [ERC7229](https://github.com/ethereum/EIPs/pull/7229/files):最小可升级代理合约 * [ERC7231](https://github.com/ethereum/EIPs/pull/7231/files):身份聚合NFT * [ERC7246...

文章 Michael.W基于Foundry精读Openzeppelin第25期——IERC1820Registry.sol

### 0. 版本 [openzeppelin]:v4.8.3,[forge-std]:v1.5.6 ### 1. IERC1820Registry.sol Github: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.3/contracts/utils/introspection/IERC1820Registry.sol IERC1820Registry.sol是global ERC1820 Registry的接口文件。ERC1820 R...

文章 稳定币的下一篇章:使用FHE构建内置机密性

...元。 #### 进入保密稳定币 从本质上讲,稳定币只是 ERC-20 代币——一个跟踪 ID 和金额的账本,就像一个在线银行账户。这就是全同态加密 (FHE) 改变游戏规则的地方。我们正在率先推出 **保密 ERC-20**(我们正在将其标准化为...

文章 二层网络 Optimism 智能合约要点解析

... ```solidity /** * @title L1StandardBridge * @dev The L1 ETH and ERC20 Bridge is a contract which stores deposited L1 funds and standard * tokens that are in use on L2. It synchronizes a corresponding L2 Bridge, informing it of deposits * and listening to it for newly finalized withdrawa...