找到约 13 条结果

问题 如何判断在一个映射中是否存在某个键,Struct被定义在库中(在Solidity中)。

...`js Operator == not compatible with types struct Library.data storage ref and address E if(clusterContract[id] == address(0) ){... ``` 请问:我该怎么解决这个错误呢? 谢谢你宝贵的时间和帮助。

文章 SharkTeam:2024年上半年度Web3安全报告

...6 票反对的结果正式通过 FIT21 加密法案(Financial Innovation and Technology for the 21st Century Act)。美国总统拜登宣布,他不会否决该法案,并呼吁国会就“数字资产全面、平衡的监管框架”进行合作。 FIT21旨在为区块链项目在美国的...

文章 区块链遇上分布式数据库

... ## 参考文献 [1] Blockchains vs. Distributed Databases: Dichotomy and Fusion: [Blockchains vs. Distributed Databases: Dichotomy and Fusion](https://link.zhihu.com/?target=https%3A//arxiv.org/abs/1910.01310) [2] Casper: [ethereum/casper](https://link.zhihu.com/?target=https%3A//github.com...

问题 remix-别人已经部署成功的合约代码,我复制过来可以编译成功,但是在部署的时候提示错误

...tial state. Note: The called function should be payable if you send value and the value you send should be less than your current balance. Debug the transaction to get more information. 这个合约代码我见过在很多合约上用过,应该是个通用的代码,试过虚拟机、测试...

文章 以太坊 - 如何使用Truffle在Polygon上创建和部署一个工厂ERC-1155合约 - Quicknode

...nache](https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat) 后与 Hardhat 建立了新的合作关系。你可以在 [这里找到我们的 Hardhat 相关指南](https://learnblockchain.cn/tags/hardhat)。如果你希望看到此指南的更新版本,...

文章 Web3 极客日报 #1602

...该算法的具体实现流程。 ### Ceno-zkvm: Non-uniform, Segment and Parallel Zero-knowledge Virtual Machine https://eprint.iacr.org/2024/387.pdf **Dream**: 提出zkvm设计思路:分段和并行化,发生在两个级别:操作码和基本块。这两种设计都试图最小化...

文章 01 Rust中的路径 `::`

...s://github.com/shiyivei/from-principle-to-practice/blob/main/src/principle-and-practice/src/lexical\_structure/path.rs ``` 更多内容欢迎关注 ![1.5.png](https://img.learnblockchain.cn/attachments/2023/03/nTDR5JEM6402922656b86.png)

文章 @solana/web3.js 2.0:Solana 转账全流程解析

...eateSolanaRpcSubscriptions, lamports, getBase58Encoder, sendAndConfirmTransactionFactory, pipe, createTransactionMessage, setTransactionMessageFeePayer, setTransactionMessageLifetimeUsingBlockhash, appendTransactionMessageInstruction, signTransactionMessa...

文章 基于 Taproot,支付池可能成为比特币下一代的二层协议

...de possible through Taproot, could let groups of bitcoin users share UTXOs and enjoy more privacy.](https://img.learnblockchain.cn/2025/07/15/rotocol.png) \- 支付池是一种可能的 Layer 2 协议,因为 Taproot 而成为可能;它可以让一群比特币用户共享一个 UTXO,从而获...

文章 ePBS 元博弈:SSP维和与替代性公共服务 - 经济学

...er](https://ethresear.ch/u/mikeneuder) 的 [how i learned to stop worrying and love mev-burn](https://ethresear.ch/t/dr-changestuff-or-how-i-learned-to-stop-worrying-and-love-mev-burn/17384) 和 [aelowsson](https://ethresear.ch/u/aelowsson) 的 [Burn incentives in MEV pricing auctions](https://learn...

问题 VS code 中,只要一点击进入 .sol 文件, .prettier 插件就会自动 disable

...d move to after formatting.\nThis option cannot be used with --range-start and --range-end.", "cliCategory": "Editor" }, "endOfLine": { "since": "1.15.0", "category": "Global", "type": "choice", "default": [ { "since": "1.15.0", "value": "auto" }, { "since": "2.0.0", "value": "lf" } ...

文章 如何使用 BitcoinJS (bitcoinjs-lib) 在测试网构建和广播比特币交易

>- 原文链接:https://medium.com/@nagasha/how-to-build-and-broadcast-a-bitcoin-transaction-using-bitcoinjs-bitcoinjs-lib-on-testnet-2d9c8ac725d6 >- 译者:[AI翻译官](https://learnblockchain.cn/people/19584),校对:[翻译小组](https://learnblockchain.cn/people/412) >- 本文永久...

文章 驾驭加密货币质押风险:投资的必要保护策略

...了极具吸引力的[5%到20%](https://www.bitcoinsensus.com/learn/understanding-crypto-volatility-and-risk-management-in-cryptocurrency/)的回报,但这些回报并不能得到保证。加密货币市场的波动性,加上验证者故障和智能合约漏洞等技术风险,构成了一个...