找到约 15 条结果

文章 bip-anyprevout 项目中的 bips/bip-0340.mediawiki 文件

...p.md),这是一种在不受信任的托管代理的调解下实现转移 coins 的结构,而无需在公共区块链交易图中连接交易者。 ### 测试向量和參考代码 [Permalink: 测试向量和參考代码](https://github.com/ajtowns/bips/blob/bip-anyprevout/bip-0340.mediawiki#tes...

文章 联盟区块链底层源代码分析

...lease FISCO BCOS v3.1.1 · FISCO-BCOS/FISCO-BCOS · GitHub](https://github.com/FISCO-BCOS/FISCO-BCOS/releases/tag/v3.1.1)包含了微服务架构,并划分为Air、Pro和Max三种体系,相对复杂,不利于初学者学习,因此本教程选择FISCO BCOS 2.9.1[GitHub - FISCO-BCOS/FISCO-BCOS...

文章 从 Python 调用智能合约

...,最后调用智能合约中的功能。 Source:https://medium.com/@billatnapier/calling-smart-contracts-from-python-977a8a9190e2 ## 关于 ChinaDeFi - ChinaDeFi.com 是一个研究驱动的DeFi创新组织,同时我们也是区块链开发团队。每天从全球超过500...

文章 激励匿名参与 - 经济学

...他特定于区块链的技术。 \\cdot⋅ 作者:[maryam](https://x.com/bahrani_maryam) & [mike](https://x.com/mikeneuder) – **2025 年 5 月 26 日。** \\cdot⋅ **感谢 [Akilesh](https://x.com/akileshpotti), [Noam](https://x.com/noamnisan), [Matt](https://www.cs.princeton.edu/~smattw/)...

文章 【Web3 探索】如何获取Uniswap V2池数据

... 在开始之前,您需要: 1. 在[Chainbase](https://www.chainbase.com/)上注册一个免费账号,并获取API密钥。 2. 一个集成开发环境(IDE)。我们的示例使用JavaScript展示,您可以使用[VS Code](https://code.visualstudio.com/)作为IDE。 3. 一个ERC20代...

文章 如何使用 DFlow 在 Solana 上交易 Kalshi 预测市场

...合约,而不是离岸或灰色市场投机。 [Kalshi](https://kalshi.com/) 运营在链下,但通过与 DFlow 的集成,这些市场现在可以直接从 Solana 应用程序访问。Solana 开发者可以将 DFlow 的 API 集成到他们的 dApp 中,以原生提供预测市场功能,其...

文章 Aptos Move 模块的发布与交互:完整指南

...块 可以通过以下命令来编译 ```shell aptos move compile --named-addresses hello_blockchain=default ``` 3. 发布模块 ```shell aptos move publish --named-addresses hello_blockchain=default ``` ### 交互流程 1. 区块链浏览器...

文章 根据sqrtPriceX96计算当前Tick

... tick 和 `sqrtPriceX96` 之间的转换由 [TickMath 库](https://github.com/Uniswap/v3-core/blob/main/contracts/libraries/TickMath.sol) 处理,由于在 Solidity 中实现 log 和平方根的复杂性,将在单独的章节中进行研究。 它包含两个函数:`getSqrtRatioAtTick` 和 `...

文章 Rust 和 Solana 中的可见性与“继承”

...以下代码: ```rust use anchor_lang::prelude::*; declare_id!("F26bvRaY1ut3TD1NhrXMsKHpssxF2PAUQ7SjZtnrLkaM"); #[program] pub mod func_test { use super::*; pub fn initialize(ctx: Context) -> Result { // -------- 调用一个“私有”函数 -------- let ...

文章 零知识证明基础知识

...25/05/26/74552871_image.jpg) [图片来源:Tekedia](https://www.tekedia.com/what-is-a-zero-knowledge-proof-technology/) 零知识证明是证明者生成的加密原语,用于发送给验证者以证明语句的正确性。验证者确保这些证明的准确性并对其进行验证。 验证...

文章 关于区块空间分配机制 - 权益证明/区块提议者

...aestro_(2023_film)),那就太棒了。** \\cdot **由 [Mike](https://x.com/mikeneuder), [Pranav](https://x.com/PGarimidi), & [Dr. Tim Roughgarden](https://x.com/Tim_Roughgarden) – 2024 年 6 月 8 日撰写。** \\cdot **致谢** **特别感谢 [Barnabé](https://x.com/barnabemonnot), [Juli...

文章 深入解读 Uniswap v3 新特性

> * 原文链接:https://medium.com/taipei-ethereum-meetup/uniswap-v3-features-explained-in-depth-178cfe45f223 > > * 译文出自:[登链翻译计划](https://github.com/lbc-team/Pioneer) > * 译者:[songmint](https://learnblockchain.cn/people/13263) 校对:[Tiny 熊](https://learnblock...

问题 golang 实现ETH 交易离线签名(冷签)交易时出现错误

### rlp: input string too short for common.Address, decoding into (types.Transaction)(types.txdata).Recipient 这个是我的: ```bash [go-ethereum](https://github.com/ethereum/go-ethereum) version:1.8.20 rawTxHex:f86d808504a817c800825208944592d8f8d7b001e72cb26a73e4fa1806a51ac79d880de0b6b3...

文章 从零到英雄:OP Stack 故障证明系列 2

...xqD2oIBnPtQ.png) 图:MIPS.sol (来源: github [链接](https://github.com/ethereum-optimism/optimism/blob/546fb2c7a5796b7fe50b0b7edc7666d3bd281d6f/packages/contracts-bedrock/src/cannon/MIPS.sol#L622)) **function oracle():** 检索 `PreimageOracle` 地址。 ![](https://img.learnblockchain...

文章 DeFi 三明治攻击详解

...质,所有交易都可以被任何人观察到 [mempool](https://medium.com/@danrobinson/ethereum-is-a-dark-forest-ecc5f0505dff) (除非与矿池有特殊的直接连接)。 另外,智能合约可能包含没有访问限制的函数来执行此类交易。 这些功能通常用于声明LP奖励...