找到约 14 条结果

文章 无需gas代币和ERC20-Permit还任重而道远

... ID的列表](https://medium.com/@piyopiyo/list-of-ethereums-major-network-and-chain-ids-2bc58e928508)。 ### 2. Permit 哈希结构 现在我们可以创建一个Permit的签名: ``` bytes32 hashStruct = keccak256( abi.encode( keccak256("Permit(address owner,address spende...

文章 如何在 Arbitrum Nova 上部署智能合约

...it ethers.getSigners(); // A helper to get the contracts instance and deploy it locally const SimpleStorage = await ethers.getContractFactory("SimpleStorage"); simpleStorage = await SimpleStorage.deploy(); }); it("should set and get value correctly", async () => { ...

文章 名词解释:Web3 账户相关概念大梳理

...move any need at all for users to also have EOAs (as status quo SC wallets and EIP-3074 both require) 可以看出以太坊对于账户抽象的期望是改变目前大多数人都在使用 EOA 的现状,希望用户转向 SCW,并且把生态对 EOA 的依赖完全去除。除了里面提到...

文章 基于Rollup常见问题解答

...r-stack/) - [https://medium.com/@espressosys/sequencer-decentralization-and-liveness-e5af7f4b25ca](https://medium.com/@espressosys/sequencer-decentralization-and-liveness-e5af7f4b25ca) - [https://www.cryptofrens.info/p/settlement-layers-ethereum-rollups](https://www.cryptofrens.info/p/settleme...

文章 隐私保护的监管解决方案

...文。下载 [PDF](https://a16zcrypto.com/wp-content/uploads/2022/11/ZKPs-and-Regulatory-Compliant-Privacy.pdf),或在此处阅读简短的摘要博客文章 [here](https://a16zcrypto.com/achieving-crypto-privacy-and-regulatory-compliance) 。_ ## 介绍 在可编程区块链提供的所有...

文章 什么是 “闪电网络 offer(BOLT12)”?

...提下实现 [LNURL](https://thebitcoinmanual.com/articles/what-is-ln-url-and-how-does-it-work/) 提供的部分功能。BOLT12 offer 可以编码触达某个节点、请求闪电网络发票所需的数据,要么是节点 id,要么是一条 [盲化路径](https://github.com/lightning/bolts/blob...

文章 Aptos合约开发之单元测试和函数调用

...过的事情。 >Move has two different types of programs: **Modules** and **Scripts**. Modules are libraries that define struct types along with functions that operate on these types. Scripts are executable entrypoints similar to a main function in a conventional language. ---引自《Move Boo...

文章 比特币 - Revault 交易

...) unvault_witness_script = or(1@thresh(len(stakeholders), stakeholders), 9@and(thresh(len(managers), managers), and(thresh(len(cosigners), cosigners), older(X)))) ``` ``` cpfp_descriptor = wsh(cpfp_witness_script) cpfp_witness_script = thresh(1, pubkey1, pubkey2, ..., pubkeyM) # The pubkeys being t...

文章 AI Agent框架指南 [2]:实现类似DeepSeek R1的推理模型

...Your task is to analyze user content in a way similar to internal thoughts and provide answers based on your analysis. You need to understand the user's intention, grasp the core of the question, and parse the content step by step. You need to output all your thoughts, and also, your mathematical ab...

文章 Infura 推出简化定价的计划,免费访问以太坊存档数据和所有网络 API

... | $1000/mo | | Multiple Blockchain Mainnet and Testnets | All core tier benefits, plus: | All developer tier benefits, plus: | All team tier benefits, plus: | | 100,000 Requests/Day | 200,000 Requests/Day | 1,000,000 Requests/Day ...

文章 在Polygon网络上创建一个全栈NFT市场

...rns (uint256) { return listingPrice; } /* Mints a token and lists it in the marketplace */ function createToken(string memory tokenURI, uint256 price) public payable returns (uint) { _tokenIds.increment(); uint256 newTokenId = _tokenIds.current(); _mint...

文章 Huff 解放:高级优化和 DeFi 用例 — 第 3 部分

...) { 0x000000000000000000000000ffffffffffffffffffffffffffffffffffffffff and } ``` ### 🔄 核心 Swap 逻辑 ``` ##define macro SWAP_INIT() = takes(0) returns(6) { 0x04 calldataload ADDRESS_MASK() caller [SWAP_EVENT] 0x20 0x00 0x24 calldataload } ##define macro COMPUTE_AMO...

文章 chainlink VRF讲解

...y, PublicKey); 2. 随机数生成函数,即 G(PrivateKey, Seed) → (RandomNumber, Proof); //seed是一个随机性种子 3. 验证函数,即 V(Proof, RandomNumber, PrivateKey, Seed) → (bool)。//验证是否是由自己生成的随机数 ### 整个流程 ![image-20241024204339420.pn...

文章 Mina 文档 - 开发者

...可以查阅[Jane Street styleguide](https://opensource.janestreet.com/standards/) 。我们在此处阐释的这一风格指南旨在成为janestreet 风格指南的扩展,注重涉及我们代码库常用一些特定结构的细节。 #### **Mli文件** 若`.ml`自动派生接口不同,...