找到约 15 条结果

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

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

文章 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...

文章 Move 智能合约实战:在 Aptos 上构建你的首个 Web3 应用

... --- The account has not been funded on chain yet. To fund the account and get APT on testnet you must visit https://aptos.dev/network/faucet?address=0xf416c7c5f004503fd9aca140ec17ad421b874537075f87616600404d413f138a Press [Enter] to go there now > { "Result": "Success" } ``` ### 项...

文章 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...

文章 “橙色药丸”失效了

...币的语境下,“[normie](https://slate.com/technology/2022/05/bitcoin-and-crypto-crash-a-guide-for-normies.html)” 意味着 “不知道,不在乎”。“normie” 源于 “normal”(正常)。换句话说,正常人不在乎比特币,至少不在乎到会去使用的程度。 缺...

文章 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) * ...

文章 最大可行安全性:以太坊发行的新框架 - 权益证明/经济学

...-for-ethereum-issuance/19992#h-11-ethereum-has-a-clear-goal-build-a-secure-and-sovereign-distributed-system-for-everyone-4) - [1.2. 多样化的质押经济是关键](https://ethresear.ch/t/maximum-viable-security-a-new-framing-for-ethereum-issuance/19992#h-12-a-diverse-staking-economy-is-key-5) ...

文章 用于 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 社区内创新解决方...

文章 [译]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) { ...

文章 Solana交易生命周期与Sui对象运行时的比较

...过程称为[流水线](https://learnblockchain.cn/article/10884#pipelines-and-data-parallelism),并且交易在其生命周期的不同阶段所处的位置称为阶段。 #### 一笔 Solana 交易 在 Solana 上,交易是由 `Message` 的帐户密钥的第一个密钥签名的序列化消息...

文章 有限域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...

文章 UniswapV2Library 代码详解

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

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

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

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

...数可以被利用。 ```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...