The technical content top engineers rely on to level up.
12 min read
什么是 Pedersen Commitments 以及它们的工作原理 Pedersen commitments 允许我们使用单个椭圆曲线点对任意大小的向量进行编码,同时可以选择性地隐藏有关...
8 min read
Breaking Down the Uniswap V2 Swap Function Uniswap V2’s swap function is cleverly designed, but many devs find its logic counterintuitive the first time they encounter it. This article explains how...
4 min read
Solana 中的 Require、Revert 和自定义错误 !展示 Error code 和 Macro 的头图 在 Ethereum 中,我们经常看到 require 语句被用于限制函数参数可以具有的值。考虑...
5 min read
Solana Hello World(安装与故障排除)!Solana Hello World 这是一个 Solana Hello World 教程。我们将逐步引导您完成安装 Solana 的步骤,并排除可能...
6 min read
Solana 和 Rust 中的算术与基本类型 !展示 Solana 标志和计算器的主图 今天我们将学习如何创建一个 Solana 程序,它能够实现与 Solidity... 相同的功能
5 min read
Rust 结构体以及 Attribute-like 和 Custom Derive 宏 !Rust attribute 和 custom-derive 宏 Rust 中的 Attribute-like 和 custom derive 宏用于接收一段 Rust 代码块并对其进行修改……
4 min read
Solana 程序是可升级的,并且没有构造函数 !展示 Anchor 部署的主图 在本教程中,我们将深入探索 anchor 的幕后,看看 Solana 程序是如何部署的……
5 min read
Solana Anchor 程序 IDL !展示接口定义语言(Interface Definition Language)的头图 IDL(Interface Definition Language)是一个 JSON 文件,用于描述如何与 Solana 程序进行交互。它是……
5 min read
面向 Solidity 开发者的 Rust 基础 !题图展示 Rust:简单部分 本教程介绍了 Solidity 中最常用的语法,并展示了在 Rust 中的等效写法。如果你想要……
5 min read
Rust 和 Solana 中的可见性与“继承” !Rust 函数可见性 今天我们将学习如何将 Solidity 的函数可见性和合约继承概念化到 Solana 中。这里……
3 min read
Rust 类函数过程宏 !Rust 类函数过程宏 本教程解释了函数与类函数宏之间的区别。例如,为什么会有感叹号...
15 min read
Python、Solidity 和 EVM 中的双线性配对 有时也被称为双线性映射,双线性配对允许我们取三个数字 $a$、$b$ 和 $c$,其中 $ab = c$,并将它们加密变为……