找到约 13 条结果

文章 用 Rust 实现 HTTPie:一个现代 CLI 工具的构建过程

...] name = "httpie" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] anyhow = "1.0.71" # 错误处理 clap = { version = "4.3.9", features = ["derive"] } c...

文章 sui-cli使用指南

...命令列表 > sui client ```text Usage: sui client [OPTIONS] [COMMAND] Commands: active-address Default address used for commands when none specified active-env Default environment used for commands when none specified addresses Obtain t...

文章 区块链的网络模型—同步模型

...这一类协议。 ### 扩展阅读 [1] [Generalized Communication and Security Models in Byzantine Agreement](https://www.crypto.ethz.ch/publications/files/Fitzi03.pdf) [2] [The Bitcoin Backbone Protocol: Analysis and Applications](https://eprint.iacr.org/2014/765.pdf) [3] [Sync HotStuf...

文章 每周以太坊进展 2020/03/02

...变得更轻量 * [火车与旅馆 EE](https://ethresear.ch/t/the-train-and-hotel-ee/7021/2) * [Eth2 的奖惩机制](https://codefi.consensys.net/blog/rewards-and-penalties-on-ethereum-20-phase-0) ## Layer-2 * [Loopring 发布了其 zk-rollup 交易所](https://medium.com/loopring-protocol/...

问题 Hardhat多次部署合约返回相同地址,调用会返回合约不存在

...nt }); await lock.deployed(); console.log( `Lock with 1 ETH and unlock timestamp ${unlockTime} deployed to ${lock.address}` ); } // We recommend this pattern to be able to use async/await everywhere // and properly handle errors. main().catch((error) => { console.error(err...

文章 基于 Recon 与 Medusa 构建不变量测试

...文认为 [How Echidna inflated 100s of Millions in Voting Power: Writing and Breaking Properties](https://x.com/i/broadcasts/1dRKZYvXNgvxB) 可能是一个更优秀的案例,此处仍需一些评估 ### 不变量测试 在本文的开始,我们首先简单讨论一下不变量测试的基...

文章 模因的演变及其在区块链中的地位

...r 上分享](https://twitter.com/share?text=The%20Evolution%20of%20Memes%20and%20Their%20Place%20on%20Blockchains%20@galaxyhq&url=https://www.galaxy.com/insights/research/the-evolution-of-memes-and-their-place-on-blockchains) - [在 Facebook 上分享](https://www.facebook.com/sharer/sharer.php?u=h...

文章 深入理解 Uniswap v4 白皮书

...手续费,但有上限,详见 6.2 节“治理”。 ## 3 Singleton and Flash Accounting | 单例和闪电记账 以往版本的 Uniswap 协议采用“工厂/池”的模式,由工厂负责为每对代币创建独立的合约。Uniswap v4 采用单例设计模式,所有池都由一个...

文章 零基础学MPC 教程 - 每个人都可以学会

... 0: r += 1 s //= 2 for _ in range(k): a = random.randrange(2, n - 1) x = pow(a, s, n) if x == 1 or x == n - 1: continue for _ in range(r - 1): x = pow(x, 2, n) if x == n - 1: break ...

文章 区块链作为ESG之旅的推动者

...范围 1 和 2 的排放量](https://www.epa.gov/climateleadership/scope-1-and-scope-2-inventory-guidance)的披露。 擅长实施 ESG 要求的公司或许能够通过以下业务方面的收益来抵消大部分或全部这些成本: **—**品牌声誉 **—**人才吸引和保留 **—**...

文章 Across Prime : 无需信任的快速桥

...](#e0f747c5a7ca) - [2. ERC-7683 兼容性](#2ed0000cbc95) - [3. Mint-and-Burn 桥兼容性](#7a5bd88f759d) - [6. 先前工作](#11bce96121c3) - [1. Across](#6abda14c6adb) - [2. Orbiter 协议](#d3cd51a571a3) - [3. UniswapX (跨链)](#bd3678121d6e) - [4. Relay 协议](#2596d2730afd...

文章 动态NFT的构建、部署和出售

...813181.png!/scale/20) [原文地址](https://blog.chain.link/build-deploy-and-sell-your-own-dynamic-nft/) [NFT](https://blog.chain.link/random-numbers-nft-erc721/)是只有在区块链领域里才存在的工具,有着广泛的应用和机遇。ERC721代币标准可以构建收藏品、独立...

文章 温故知新:EVM 101

...——外部所有账户 [(EOA)](https://ethdocs.org/en/latest/contracts-and-transactions/account-types-gas-and-transactions.html#account-interactions-example-betting-contract) 和合约账户 [(CA)](https://ethdocs.org/en/latest/contracts-and-transactions/account-types-gas-and-transactions.html#acc...