找到约 15 条结果

文章 DeFi 攻击事件学习

... | 代码 | txhash | | ------------------- | ------------------ | ------------------------------ | -------------- | ------------------------------------------------------------ | ------...

文章 零知识证明 - DIZK源代码导读

...理解了DIZK的基本原理后:[零知识证明 - DIZK介绍](https://learnblockchain.cn/article/574)。 对DIZK感兴趣的小伙伴可以看看DIZK的源代码: https://github.com/scipr-lab/dizk DIZK的更新比较少,最后一个patch也是2018年底了: ``` commit 81d72a340...

文章 常数乘积自动化做市商:你需要了解的一切

![](https://img.learnblockchain.cn/2025/03/15/1hLafEMIeAUPJGHqZHT5Ahg.png) **自动化市场制造商 (AMM)** 在去中心化金融 (DeFi) 领域中发挥着关键作用,促进流动性提供和交易。该领域的一个关键概念是 **恒定乘积 AMM**,它支撑着流行的去中心化...

文章 以太坊二叉树笔记

_感谢 Guillaume 和 Vitalik 的讨论和反馈_ ## 介绍 这是对 L1 中二叉树的 **全新** 看法,其动机是最近的兴趣、线下讨论等。 [EIP-3102](https://eips.ethereum.org/EIPS/eip-3102) 仍然存在,但它可能已经过时,因为它与 Verkle 中引入的更近期的...

文章 什么是 “Pedersen 承诺”?

> _作者:RareSkills_ > > _来源: [https://www.rareskills.io/post/pedersen-commitment](https://learnblockchain.cn/article/11358)_ “Pedersen 承诺” 让我们可以使用一个椭圆曲线点来表示任意大的向量,同时可以选择隐藏关于这个向量的任何信息。它给了...

文章 starknet智能合约编写、部署和调用-基于cairo2.3.0

# 前言 OpenZeppelin、Hadhat 和 Foundry都在支持和更新starknet,这是积极信号,尽快学起来 starknet智能合约使用cairo语言编写,最近刚刚更新2.3.0 cairo编程语言类rust,建议搭配学,或者先学rust更好理解 ***rust编程语言会在未来几年快...

文章 2024-10-20 zk-insights Weekly

## Highlights ### The Sum-Check Protocol w/ Justin Thaler In this module, Tracy Livengood and Justin Thaler provide a comprehensive introduction to the sum-check protocol and why it is so powerful, beginning with a catch-up on polynomials (univariate, multivariate, multilinear) as well as the import...

文章 Samczsun talk about Re-entrancy

## where is external call ```solidity msg.sender.call(hex"") ``` ```js UniswapExchangeLiks(exchange).sync(); validate the address ``` ```js ERC20like(token).decimals(); ``` ## can the call be hooked is there a way for an attacker to gain control of your execution ``` contra...

文章 Circle Stark: from a new Starker

> Originates from my hackmd [note](https://hackmd.io/@70xfCGp1QViTYYJh3AMrQg/SJrem_VKC) # Domain Firstly we need to look into domain $D$, which the polynomial $p(x)$ defines over. ## Traditional Domain Usually the domain $D$ is a cyclic multiplicative sub-group $H$ defined over fini...

文章 在深入研究密码学电路中缺失范围检查攻击之前,有必要了解什么是群,它们的大小(阶)如何表现,以及为什么这很重要

...法或乘法),满足以下性质: - **封闭性**:对于任何 $a, b \in G$,我们有 $ab \in G$。 - **结合性**:$(ab)c = a(bc)$ 对于所有 $a, b, c \in G$。 - **单位元**:存在一个元素 $e \in G$,使得 $ae = ea = a$ 对于所有 $a \in G$。 - **逆元**:对于每个...

文章 Golang Gin 中间件与监控服务健康控制器

在前一篇文章中,演示了一个简单的 Golang 项目。在我们目前的工作中,需要添加一个 Gin 中间件来处理超过 60 秒超时限制的请求。 [**简单的 Golang HTTP 服务器**](https://learnblockchain.cn/article/19607) ![](https://img.learnblockchain.cn/2025/...

文章 本文件提议与 Taproot 升级一起添加到 Elements 网络的新操作码新的 Tapscript `OP SUCCESS` 操作码允许比通过 `OP NOP` 更简洁地引入新操作码在本文档中,我们提议修改以下 `OP SUCCESS`

本文档提议将新的操作码添加到 elements 网络以及 taproot 升级中。新的 tapscript `OP_SUCCESS` 操作码允许比通过 `OP_NOP` 更干净地引入新的操作码。在本文档中,我们提议修改以下 `OP_SUCCESS` 以具有额外的语义。我们按顺序使用操作码 `...

文章 【以太坊源码go-ethereum阅读】errors.go

```go // Copyright 2017 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, ...

文章 完全递归 SNARK 电路 -“边玩边赚”的救星 - zk-s[nt]arks

...概念中,玩家希望在享受游戏的同时获得利润。然而,GameFi 受限于高昂的 GAS 成本和欠发达的区块链游戏生态系统,由于安全性和透明度问题,导致在获得玩家认可方面面临挑战。这推动 GameFi 不断优化经济模型和盈利机制,缩...

问题 remix部署合约报错Gas estimation failed是什么问题

remix部署合约报错Gas estimation failed ```js// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; interface IERC20 { function decimals() external view returns (uint8); function symbol() external view returns (string memory); function name() external view return...