找到约 14 条结果

文章 深入理解 Uniswap v3 智能合约 (二)

...所有交易对的头寸,主要包括以下几个方法: * [createAndInitializePoolIfNecessary](#createAndInitializePoolIfNecessary):创建并初始化合约 * [mint](#mint):创建头寸 * [increaseLiquidity](#increaseLiquidity):添加流动性 * [decreaseLiquidity](#decreaseLiquidit...

文章 澄清 ERC-1271:智能合约签名验证

...4626 通货膨胀攻击](https://tienshaoku.medium.com/eip-4626-inflation-sandwich-attack-deep-dive-and-how-to-solve-it-9e3e320cc3f1)(应为 ERC-4626)时,我也没有注意到这个细微之处 🙈 ### 签名还是不签名,这才是问题。 其次,如上所述,一些文章将 ERC-12...

文章 像专业人士一样部署智能合约!!!

...ain.cn/2025/03/29/tenor-logo-B3B9BF.svg)](https://tenor.com/view/oprah-you-and-you-pointing-gif-19180004) **_第一_**:我们将从 [这里](https://www.npmjs.com/package/hardhat-deploy) 安装 `hardhat-deploy`。根据你的使用方式,将使用 `npm install` 或 `yarn add`。 **_第二_...

文章 理解 EIP712 - 类型结构化数据 Hash与签名

...结算都是在[智能合约](https://learnblockchain.cn/2018/01/04/understanding-smart-contracts/)里,交易所无法动用任何用户资产,但同时用户又能享受中心化交易撮合的快速方便。 ![IDEX](https://img.learnblockchain.cn/2019/15561118926543.jpg!/scale/55) ## 关...

文章 浅析 Solidity ABI -应用程序二进制接口

...还原复杂的数据类型。 Smart contract ABIs enable communication and interaction with external apps and other contracts. ![image.png](https://img.learnblockchain.cn/attachments/2024/05/Z8CRfRrt66320520ccd06.png) ## 适用于什么场景 遵循 ABI 的规范,其他应用程序可...

文章 Solidity on Polkadot: Web3 实战开发指南

...eate a folder with your ID like `homework-2/001` 3. complete the homework and create a PR ``` ### 第一步:fork 并克隆项目 ```bash git clone git@github.com:qiaopengjun5162/2025-17-solidity-on-polkadot.git 正克隆到 '2025-17-solidity-on-polkadot'... remote: Enumerating objects: ...

文章 用Python从零开始创建区块链

...ns = [] def new_block(self): # Creates a new Block and adds it to the chain pass def new_transaction(self): # Adds a new transaction to the list of transactions pass @staticmethod def hash(block): # Hashes a Block...

文章 Solana 上如何获取Token 所有持有者

...elius **getTokenAccounts** API 方法](https://docs.helius.dev/compression-and-das-api/digital-asset-standard-das-api/get-token-accounts)允许我们精确地做到这一点。我们可以在 API 调用参数中包含任何Token的铸造地址,我们将得到一个包含为该Token创建的所有T...

文章 Aragon DAO — 占位符

...histicated service. What Aragon does is provide an easy consumer interface and a developer framework for people to create and manage their own smart contract organizations. ``` **[Aragon Client](https://mainnet.aragon.org/)是一个易于使用的界面,用于在以太坊上创建DAO。DAO作为...

文章 为什么加密经济学和X风险研究人员应该更多地倾听彼此的声音

...) 协议,已 [表达了对](http://www.coindesk.com/ralph-merkle-is-back-and-he-wants-to-resurrect-daos/) DAO 治理的兴趣。Skype 的联合创始人 Jaan Tallinn [提议](http://bravenewcoin.com/news/skype-founder-jaan-tallinn-proposes-saving-the-world-using-blockchain-technology/) 研究区...

文章 分析EIP-4337:以太坊最强账户抽象提案

...户可以由用户控制,也可以作为智能合约部署。 ![EOA and SCA](https://img.learnblockchain.cn/pics/20230510094704.png) > EOA and SCA 目前以太坊上有两种账户:第一种地址是外部拥有账户(EOA),通常被称为钱包账户,由私钥和公钥组成,...

文章 加密货币质押:如何选择安全的软件质押钱包

...Adalite](https://www.reddit.com/r/cardano/comments/pojppw/whats_the_safest_and_best_wallet_for_staking/) 各自为 Cardano (ADA) staking 提供了独特的优势,同时通过硬件钱包集成保持高安全标准。 **高级安全功能:** - 生物识别认证 - 双重身份验证 (2FA) - ...

文章 Solidity语言 - 如何使用 OpenZeppelin 和 Hardhat 创建和部署可升级的智能合约

...m/signup?utm_source=internal&utm_campaign=guides&utm_content=how-to-create-and-deploy-an-upgradeable-smart-contract-using-openzeppelin-and-hardhat) 注册一个免费的 QuickNode 账户,并创建一个以太坊端点。 ![](https://img.learnblockchain.cn/2025/03/02/1-5d30bb8fb6963650abad62acc0dc...

文章 如何使用Syve的API跟踪DEX钱包交易表现

...跟踪 API](https://marketplace.quicknode.com/add-on/syve-dex-price-data-and-wallet-tracking-api?utm_source=internal&utm_campaign=guides) 提供全面的工具,用于分析钱包性能和去中心化交易所的代币价格数据。这些 API 使开发人员能够轻松获取钱包交易活动和...