找到约 14 条结果

文章 BIP352:静默支付的现在和未来

...52 [\[5\]](https://www.btcstudy.org/2025/03/28/bip-352-silent-payments-now-and-future/#note5),并基于 BIP352 的规范展望静默支付的采用方式。 ## 静默支付的基本概念 为理解静默支付的概念,我们先来回顾 “链上” 比特币(也即以区块链为交易确...

文章 如何在比特币上使用序数和符文API进行构建

...pi?utm_source=internal&utm_campaign=guides&utm_content=build-with-ordinals-and-runes-api) 提供了一种简化的解决方案。 本指南向开发者介绍了 Ordinals 和 Runes 在 Bitcoin 上的功能,并演示了如何利用这些概念来使用 QuickNode 的 [Ordinals 和 Runes API](https:/...

文章 sui move动态字段

...结构体 ```rust /// Internal object used for storing the field and value struct Field has key { /// Determined by the hash of the object ID, the field name value and it's type, /// i.e. hash(parent.id || name || Name) id: UID, /// The value for the ...

文章 闪电网络:技术与用户体验(六):只有一种比特币

...tps://www.btcstudy.org/2024/03/04/lightning-network-technology-improvement-and-users-experience-part-6/#note1)。可想而知它有多么强大。 相比于潜水艇互换,通道拼出不会对接受者的钱包提出任何要求,最普通、最常见的钱包软件就可以用来收款。不...

文章 阅读与游戏:2023年夏季

..._**;Susanna Clarke 的魔法现实主义巫师巨著 **_Jonathan Strange and Mr. Norrell_**;以及 Gabrielle Zevin 关于游戏和友谊的小说 **_Tomorrow, and Tomorrow, and Tomorrow_**。 最后,请务必[注册](https://cdixon.substack.com/)以获取更新,或[预购](https://readwrite...

文章 使用 Yul 优化 Gas 成本

...ly { sstore(0, number()) sstore(2, _player1) let glAndGip := or(0x0000000000000000000001000000000000000000000000000000000000000000, sload(3)) sstore(3, or(glAndGip, _player2)) } } ``` `require()` 相同,但之后我们深入一些 Yul。首先,我们将区块...

问题 在truffle的宠物商店的教程中出现这样的问题,帮忙解答一下啊:Error: The network id specified in the truffle config (4447) does not match the one returned by the network (5777) . Ensure that both the network and the provider are properly configured.

问题 熊哥你好,调用uniswap路由合约addLiquidityETH方法,The called function should be payable if you send value and the value you send should be less than your current balance

我是使用的remix的内置账户,并且在上面部署了,工厂,路由,weth,和一个token的合约。 内置账户地址:0x5B38Da6a701c568545dCfcB03FcB875f56beddC4 ETH余额:99.9999 ![image.png](https://img.learnblockchain.cn/attachments/2023/04/KIL93VPf6445eace584f9.png) token...

文章 安全审计中Try_Catch问题

...d in case // revert was called inside getData // and a reason string was provided. errorCount++; return (0, false); } catch Panic(uint /*errorCode*/) { // This is executed in case of a panic, // i.e. a serious err...

文章 Optimism 第 6 季

...8113) [Thanks to members of the Feedback Commission for providing input and feedback on Season 6 drafts. Guide to Season 6 🎉 Season …](https://gov.optimism.io/t/season-6-guide-to-season-6/8113) [gov.optimism.io](https://gov.optimism.io/t/season-6-guide-to-season-6/8113) Optimism Season...

问题 智能合约一段代码看不懂,请求大佬指点一下

...; uint _transferTax=0; //The taxes are split into different uses and need to add up to "TAX_DENOMINATOR" uint _marketingTax=5000; uint _reflectionTax=4000; uint _liquidityTax=1000; uint _contractTax=TAX_DENOMINATOR-_reflectionTax; //percentage of pancakePair that s...

文章 如何理解RGB合约schema

...*Q:\*\*Does RGB have a built-in ZKVM that supports RISC? My current understanding is that RGB uses aluvm for execution and then adds an extra layer to constrain the execution results, rather than implementing a constraint for each RISC instruction. I am not sure if my understanding is correct.(RGB...

问题 hardhat solidity不同版本,不能正常编译

... see reasons below. These files import other files that use a different and incompatible version of Solidity: * @soliditylabs/erc20-permit/contracts/ERC20Permit.sol (^0.7.0) imports @openzeppelin/contracts/token/ERC20/ERC20.sol (^0.8.0) and @openzeppelin/contracts/utils/Counters.sol (^0.8.0) ...

文章 理解闪电网络,Part-3:结算并关闭支付通道

...um > > 来源: ![1](https://res.btcstudy.org/btcstudy/images/understanding-the-lightning-network-part-completing-the-puzzle-and-closing-the-channel/9dce5612c6aa4440a3905ded0d6b89c5.png) ## [](https://www.btcstudy.org/2020/08/24/understanding-the-lightning-network-part-completing-the-puzzle...