找到约 15 条结果

文章 In-Depth Analysis of the TON Smart Contract stdlib_ext Library: A Survey of Extended Features

> TON (The Open Network) is a decentralized blockchain platform known for its powerful and flexible smart contract capabilities. During the development of TON smart contracts, the stdlib.fc library provides basic functional support. However, for some advanced or specific requirements, stdlib.fc may ...

文章 Gnosis的ConditionalTokens解读

# 1. 原理 ConditionalTokens是一种基于ERC1155的代币,用于预测市场。对于一个预测问题,往往有多个选项,比如股市明天的走势,就有涨、平、跌三种情况,ConditionalTokens可以提供这三种情况,并基于Oracle进行预测结果的回写。 # ...

文章 web3入门2 | 人话说去中心化与比特币

...电子记账系统 去中心化:每个人的**账本**公开 假设A,B,C,D四个人之间互相交易,每两个人之间的交易记录都会被其他人记录到。 把n(4k左右)个交易记录合成的账单称之为**区块** 账单多了之后,区块与区块链接起来...

文章 深入解析 Zk-SNARKs:第三部分

**这是解释 zk-SNARKs 背后技术的系列文章的第三部分;之前的文章关于** [_二次算术程序_](https://learnblockchain.cn/article/10973) **和** [_椭圆曲线配对_](https://learnblockchain.cn/article/10972) **是必读材料,本文将假设读者对这两种概念有所了...

文章 In-Depth Understanding of TON Cell Technology: Building and Serializing Weight-Balanced Trees

> TON (The Open Network) represents a significant advancement in decentralized networking, offering a robust and scalable platform for a variety of applications. At the heart of TON's architecture lies the Cell model, which serves as the fundamental unit of data storage and processing. This article ...

文章 何谓“零知识”,何谓“证明”?

...成立」! ![img](https://img.learnblockchain.cn/pics/04281303226c44d1a37849db9cbebd74.png) 对于这个 `X 断言`,可以非常灵活,它可以是一个 `NP`复杂度的算法。大白话讲只要我们能写一段程序(一个多项式时间的算法)来判断一个数据是否满...

文章 Rebuidl RSS (EN)

> 💡Four Stuff will be great to rebuidl in web3: blog, rss, bbs, and MUD. > RSS is a web feed that allows users and applications to access updates to websites in a standardized, computer-readable format. Subscribing to RSS feeds can allow a user to keep track of many different websites in a sin...

文章 进阶篇-生命周期

...免了悬垂引用 生命周期的主要目标是避免悬垂引用`(dangling references)`,后者会导致程序引用了非预期引用的数据: ```rust fn main() { let r; { let x = 5; r = &x; } println!("{}", r); } ``` 外部作用域声明了...

问题 Nice88: Your Ultimate Destination for Fun and Strategy

Nice88 is a dynamic and user-friendly digital platform that offers a diverse range of interactive games designed to keep players engaged. Whether you're looking for action-packed adventures, strategic challenges, or brain-teasing puzzles, [Nice88](https://nice88.top) provides a wide variety of gamin...

文章 现代稳定币 - Liquity V2 是如何构建的

![image.png](https://img.learnblockchain.cn/attachments/2025/03/m1ix3GYu67cd883c1196c.png) ## 介绍 Liquity V2是一个算法稳定币协议,建立在Liquity V1协议的基础之上,允许用户使用ETH作为抵押品铸造LUSD稳定币。其定义特征包括无利息借款和低抵押比...

文章 Go语言函数深入解析

...试) - [压力测试](#压力测试) --- ## 函数定义 **golang函数特点:** - 无需声明原型。 - 支持不定 变参。 - 支持多返回值。 - 支持命名返回参数。 - 支持匿名函数和闭包。 - 函数也是一种类型,一个函数可以...

文章 解读强健的重质押网络 - 连锁攻击与验证者安全性

...述 在这篇博客文章中,我们将拆解并回顾论文 [Robust Restaking Networks](https://doi.org/10.48550/arXiv.2407.21785) 的关键见解和贡献。我们将探讨 Durvasula 和 Roughgarden 提出的创新模型和条件,旨在确保即使在潜在攻击的情况下,重质押网络...

文章 现代DEX - Balancer V3 是如何构建的

![](https://img.learnblockchain.cn/2025/03/09/63.jpg) ## 简介 要完全理解本文及后续有关DEX的文章,你应该熟悉自动化做市商(Automated Market Maker,AMM)概念,包括Uniswap V2/V3的技术设计(在许多地方都有描述),包括RouterPool构造和回调机...

文章 COSMOSSDK GOV模块中文文档

--- sidebar_position: 1 --- # `x/gov` ## 概览 本文对Cosmos SDK的治理模块进行了详细说明。治理模块在2016年的Cosmos白皮书中首次提出[Cosmos Whitepaper](https://cosmos.network/about/whitepaper)。 此模块让以Cosmos SDK为基础的区块链支持链上治...

文章 Circom中的符号变量

...号以及应用于它的任何算术运算的容器。符号变量使用 `var` 关键字声明,就像其他变量一样。 例如,以下两个电路是等效的,即它们产生相同的底层 R1CS: ```jsx template ExampleA() { signal input a; signal input b; signal inpu...