找到约 15 条结果

文章 加密货币质押:理解权益证明及其能源效率

... → 目录 [Toggle](https://blockapps.net/blog/staking-in-crypto-understanding-proof-of-stake-and-its-energy-efficiency/#) ## 了解质押和 PoS 系统 ### 什么是质押? 从本质上讲,质押代表了加密货币验证交易方式的根本转变。[与传统的挖矿不同,质押要...

文章 用于 CoW Swaps 的 Tally 配方 - CoW DAO

...oW Swap 和 Tally 呈现:用于 CoW Swaps 的 Tally Recipe ![2-cow-swap-and-tally-present.webp](https://img.learnblockchain.cn/2025/05/14/2_cow_swap_and_tally_present_a1c0a92d1d.webp) **用于 CoW Swaps 的 Tally Recipe 依赖于** [**Milkman**](https://github.com/charlesndalton/milkman) **,...

文章 通过 Safe {Wallet} 和 Gelato 集成体验无 Gas 交易

... [1Balance](https://docs.gelato.network/developer-services/relay/payment-and-fees/1balance) 和 [SyncFee](https://docs.gelato.network/developer-services/relay/payment-and-fees#syncfee) 提供 gasless 体验。 这种合作关系代表着在增强用户体验和扩大 web3 社区内创新解决方...

文章 Web3 实战:用 Anchor 打造 Solana 智能合约全流程

...rted warning mocha > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. [2/4] 🚚 Fetching packages... [3/4] 🔗 L...

文章 UniswapV2Library 代码详解

...`getAmountIn()` 的推导留给读者练习。 ![functions getAmountOut and getAmountIn](https://img.learnblockchain.cn/2025/02/26/935a00_b9765b82621d404db1c740090b34e402~mv2.jpg) ## 链接 getAmountOut() 到 getAmountsOut() 进行对跳 ### getAmountsOut() 和 getAmountsIn() 如果一...

文章 Rust x IPFS:从命令行到官方库,精通NFT元数据上传

...o::{self, Write}; use std::path::{Path, PathBuf}; use std::process::{Command, Stdio}; use walkdir::WalkDir; // ✅ 配置开关 const USE_JSON_SUFFIX: bool = false; // ✅ 定义元数据结构体 #[derive(Serialize, Deserialize)] struct Attribute { trait_type: String, value: s...

文章 DeFi 滑点攻击

...a.com/reports/2022-05-rubicon/#h-07-rubiconrouterswapentirebalance-doesnt-handle-the-slippage-check-properly), [2](https://code4rena.com/reports/2021-11-vader#h-31-unused-slippage-params), [3](https://solodit.xyz/issues/10773), [4](https://code4rena.com/reports/2021-10-mochi#h-12-feepool-is-vulnerab...

文章 有限域F p上的MiMC-Feistel(双分支Feistel网络)

...r, C., Roy, A., & Tiessen, T. (2016, November). MiMC: Efficient encryption and cryptographic hashing with minimal multiplicative complexity. In International Conference on the Theory and Application of Cryptology and Information Security (pp. 191–219). Berlin, Heidelberg: Springer Berlin Heidelber...

文章 卡尔达诺向波卡和Substrate的转变——革命性区块链互操作性

...里免费观看!](https://medium.com/@bloqarl/cardanos-move-to-polkadot-and-substrate-revolutionizing-blockchain-interoperability-1821e2378cfd?sk=0f98f8146cb6f31361ab1e6ceb06f4cf) 在数字转型不仅仅是一个流行词而成为一种必要的时代,区块链领域正在以前所未有的速...

文章 DeFi 开发者:如何调用NEST预言机价格数据

...效区块号 ``` **获取价格(最新)** ``` function updateAndCheckPriceNow(address tokenAddress) public payable returns(uint256 ethAmount, uint256 erc20Amount, uint256 blockNum) { require(checkUseNestPrice(address(msg.sender))); mapping(uint256 => PriceInfo) storage ...

文章 BOLT 3:比特币交易和脚本格式

...t) * [`to_local_anchor` 和 `to_remote_anchor`](#to_local_anchor-and-to_remote_anchor-output-option_anchor_outputs) * [发起的 HTLC 输出](#offered-htlc-outputs) * [接收的 HTLC 输出](#received-htlc-outputs) * [修剪后的输出](#trimmed-outputs) * ...

文章 智能合约安全 - 常见漏洞(第二篇)

...数可以被利用。 ```solidity contract UnsafeDice { function randomness() internal returns (uint256) { return keccak256(abi.encode(msg.sender, tx.origin, block.timestamp, tx.gasprice, blockhash(block.number - 1); } // our dice can land on one of {0,1,2,3,4,5}functio...

文章 [译]Chainlink去中心化预言机桥接区块链与现实世界

...021db21e1B2A077c5a37B3C7E75D15b7e); }... /* * Create a request and send it to default Oracle contract */ function createRequest( bytes32 _jobId, string _url, string _path, int256 _times ) public onlyOwner returns (bytes32 requestId) { ...

文章 什么是 Sepolia 测试网?

...Base Sepolia ETH from a Faucet\\ \\ Building on Base? Get free Sepolia ETH and start testing your dApp!](https://www.alchemy.com/overviews/get-base-sepolia-eth) [![Featured content card overlay](https://img.learnblockchain.cn/2025/04/16/card-overlay.svg)\\ \\ Testnets\\ \\ How to Migrate from Goerli...

文章 BIP 119 以及如何变更比特币的共识规则

...gs_ > > _来源: [https://bitcoinmagazine.com/technical/exploring-bip119-and-changes-made-to-bitcoin](https://bitcoinmagazine.com/technical/exploring-bip119-and-changes-made-to-bitcoin)_ 在过去几周中,有一股力量在推动以 “BIP 119” 或说 “CTV” 为名的比特币升级提议...