找到约 13 条结果

文章 Libra 白皮书中英文对照版

![](http://upload-images.jianshu.io/upload_images/1035930-aec907a8e7cf785d.png) ## 0x01 概述 Libra’s mission is to enable a simple global currency and financial infrastructure that empowers billions of people. Libra 的使命是建立一套简单的、无国界的货币和为数十亿人服...

文章 基础篇-Slice(切片)

...tring` 中一部分值的`引用`,它看起来像这样: ```rust fn main() { let s = String::from("hello world"); let hello = &s[0..5]; let world = &s[6..11]; } ``` 不同于整个` String` 的引用,`hello` 是一个部分 `String` 的引用,由一个额外的 `[0..5] ...

文章 2024-09-01 zk-insights Weekly

## Highlights ### Is Telegram really an encrypted messaging app? Apropos Pavel Durov’s arrest, cryptographer Matthew Green wrote a short post about whether Telegram is an “encrypted messaging app”. The TL;DR here is that Telegram has an optional end-to-end encryption mode that you have to turn...

文章 solidity - 继承(Inheritance)

继承(Inheritance) --- 1.合约之间的继承使用关键字 is 2.父合约的方法想被子合约继承则需要使用关键virtual 3.子合约想覆盖父合约的方法则需要使用关键字override 4.在子合约中调用父合约需要使用关键字super 5.继承遵循最远继...

文章 内积的零知识证明

...们正确地计算了向量的内积。我们现在介绍 _vector polynomial_。 ### 向量多项式:以向量为系数的多项式 以下是两个带有向量系数的多项式: $$ \begin{align*} \mathbf{l}(x) &= \begin{bmatrix} 1 \\ 2 \end {bmatrix} x + \begin{bmatrix} 3 \\ 4 \end{bm...

文章 The Enchanted Realm of TON FunC: The Marvelous Message Toolkit Library

In the distant land of code, there exists a mystical kingdom guarded by TON FunC, where the inhabitants are magical bit spirits, freely soaring in the world of data, passing the torch of information and wisdom. At the heart of this kingdom lies a grand castle, constructed from code, known as the Mes...

文章 排错:调用只读方法时,遇到 UNPREDICTABLE_GAS_LIMIT

...,调用只读方法时遇到类似以下内容的报错信息: ```fallback ERROR Error: Uncaught (in promise): Error: cannot estimate gas; transaction may fail or may require manual gas limit (error={"code":-32000,"message":"execution reverted"}, method="call", transaction={"to":"0xE6183d309...

文章 Web3 学习之私钥保护 ——将私钥导入加密密钥库

...露给他人**。 ## 将私钥导入 encrypted keystore ### Import a private key into an encrypted keystore #### [EXAMPLES](https://book.getfoundry.sh/reference/cast/cast-wallet-import#examples) 1. Create a keystore from a private key: ```sh cast wallet import BOB --interact...

文章 椭圆曲线密码学:

...钥的**公钥密码学**。它是驱动网站加密、加密货币、iMessage、信用卡和许多其他安全数据传输系统的魔法。本文旨在为任何对ECC没有任何先前知识的人提供一个高层次的概述。让我们开始吧。 在我们实际深入ECC之前,让我们分...

文章 In-depth Analysis of the TON FunC msgs Toolkit: Simplifying Message Sending in Smart Contracts

> This comprehensive article delves into the intricacies of the TON FunC msgs toolkit, a robust set of utilities designed to facilitate message transmission within the TON blockchain's smart contract ecosystem. Aimed at developers who seek to enhance their smart contract interactions, this analysis ...

文章 7.MOVE从入门到实战-Aptos测试网发起一笔交易

# 创建node项目 `package.json`依赖包 ```js "dependencies": { "@types/node": "^17.0.21", "aptos": "^1.3.7", "cross-fetch": "^3.1.5", "fmt": "^2.0.0", "js-sha3": "^0.8.0", "prettier": "^2.7.1", "tweetnacl": "^1.0.3" }, "devDependencies": { "ts-node": "^10.9.1", "t...

文章 Monero技术详解(四):隐藏交易数额之Pederson承诺

...列导航: [Monero技术详解(一):技术方案总览](https://learnblockchain.cn/article/1123) [Monero技术详解(二):一次性地址](https://learnblockchain.cn/article/1124) [Monero技术详解(三):核心技术——环签名(1)](https://learnblockchain.cn/article/1...

问题 使用nodejs 获取uniswap V3两个币对交易价格问题

我根据uniswap v3 sdk文档上写一个获取主网USDC-WETH的币种交换价格方法,getCoinPoolPrice()执行后返回一个0.603694 的值,跟实际价格出入太大了并且也没报错,请教一下问题出在哪了 谢谢。。 ``` const POOL_FACTORY_CONTRACT_ADDRESS = '0x1F98431...