登录 注册
其他
442
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Solidity
语言
—
创建时间
最近更新

项目能做什么

Hardhat 插件,支持以相同确定性地址跨多条 EVM 链部署智能合约。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# xdeployer 💥

[![Test xdeploy](https://github.com/pcaversaccio/xdeployer/actions/workflows/test.yml/badge.svg)](https://github.com/pcaversaccio/xdeployer/actions/workflows/test.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/license/mit)
[![npm package](https://img.shields.io/npm/v/xdeployer.svg)](https://www.npmjs.com/package/xdeployer)

[Hardhat](https://hardhat.org) plugin to deploy your smart contracts across multiple Ethereum Virtual Machine (EVM) chains with the same deterministic address.

> [!TIP]
> It is pronounced _cross_-deployer.

> [!IMPORTANT]
> This plugin currently targets Hardhat 2 and is not compatible with Hardhat 3.

## What

This plugin will help you make easier and safer usage of the [`CREATE2`](https://eips.ethereum.org/EIPS/eip-1014) EVM opcode. [`CREATE2`](https://eips.ethereum.org/EIPS/eip-1014) can be used to compute in advance the address where a smart contract will be deployed, which allows for interesting new mechanisms known as _counterfactual interactions_.

## Installation

With `npm` versions `>=7`:

```console
# based on ethers v6
npm install --save-dev xdeployer
```

With `npm` version `6`:

```console
# based on ethers v6
npm install --save-dev xdeployer '@nomicfoundation/hardhat-ethers@^3.1.3' ethers
```

<details>
<summary> Using <code>ethers</code> version <code>5</code> </summary>

With `npm` versions `>=7`:

```console
# based on ethers v5
npm install --save-dev 'xdeployer@^1.2.7'
```

With `npm` version `6`:

```console
# based on ethers v5
npm install --save-dev 'xdeployer@^1.2.7' @nomiclabs/hardhat-ethers 'ethers@^5.7.2' '@openzeppelin/contracts@^4.9.0'
```

</details>

Or if you are using [Yarn](https://classic.yarnpkg.com):

```console
# based on ethers v6
yarn add --dev xdeployer '@nomicfoundation/hardhat-ethers@^3.1.3' ethers
```

<details>
<summary> Using <code>ethers</code> version <code>5</code> </summary>

```console
# based on ethers v5
yarn add --dev 'xdeployer@^1.2.7' @nomiclabs/hardhat-ethers 'ethers@^5.7.2' '@openzeppelin/contracts@^4.9.0'
```

</details>

In case you are using [pnpm](https://pnpm.io), invoke:

```console
# based on ethers v6
pnpm add --save-dev xdeployer
```

<details>
<summary> Using <code>ethers</code> version <code>5</code> </summary>

```console
# based on ethers v5
pnpm add --save-dev 'xdeployer@^1.2.7'
```

</details>

If you are a [Bun](https://bun.sh) user, run:

```console
# based on ethers v6
bun add --dev xdeployer
```

<details>
<summary> Using <code>ethers</code> version <code>5</code> </summary>

```console
# based on ethers v5
bun add --dev 'xdeployer@^1.2.7'
```

</details>

> [!NOTE]
> This plugin uses the optional chaining operator (`?.`). Optional chaining is _not_ supported in [Node.js](https://nodejs.org/en) `v13` and below.

Import the plugin in your `hardhat.config.js`:

```js
require("xdeployer");
```

Or if you are using TypeScript, in your `hardhat.config.ts`:

```ts
import "xdeployer";
```

## Re
阅读完整原文

项目深度分析 AI 生成

跨链确定性部署 SaaS 控制台(Click-to-Deploy GUI)

产品构想将基于 Hardhat 的本地 CLI 工具封装为 Web 端控制台,提供可视化配置 Salt、模拟计算多链地址、批量签名并一键广播部署服务。
核心功能可视化的 CREATE2 地址预计算器;支持连接硬件钱包/浏览器钱包(免明文私钥);跨链部署状态监控与区块浏览器多链自动开源验证(Etherscan API 集成)。
目标用户缺乏复杂 Hardhat 脚本维护能力的中小型 Web3 团队或独立开发者。
难度/周期中等 · 1 - 2 个月 · 成本:低(基础云服务、RPC 节点调用费用)
收费模式Freemium 模式:单链/测试网免费,批量多链主网部署按次收费或收取小额部署服务附加费(Gas Fee 上浮或固定订阅)。
竞争风险存在用户对第三方网页部署工具的私钥/交易信任门槛;需要维护海量链的稳定公共/付费 RPC 节点。
依据 已验证事实

企业级多链合约 CI/CD 与合规部署套件

产品构想针对大型团队提供与 GitHub Actions/GitLab CI 集成的企业版插件,结合 AWS KMS、GCP KMS 或 Fireblocks 替代明文 Private Key 签名。
核心功能集成云厂商 KMS/MPC 托管私钥签名;预部署模拟(Tenderly/Fork 仿真);多链地址防篡改审核日志;多签钱包(Safe)联动支持。
目标用户成熟 DeFi 协议、跨链基础设施团队、已过审计需合规部署的 Web3 企业。
难度/周期高 · 2 - 3 个月 · 成本:中(KMS 测试成本、安全审计费用)
收费模式B2B 年费订阅(SaaS/私有化部署)或企业级支持咨询费。
竞争风险README 显示配置中目前依赖明文 signer 私钥,改造企业级安全方案工程量大;B2B 销售周期长。
依据 数据支持的判断

靓号合约地址挖掘与多链部署定制服务 (Vanity Multi-chain Address Service)

产品构想利用 GPU/分布式算力为项目方碰撞指定的统一合约地址前缀/后缀(基于 CREATE2 Salt 挖掘),并提供端到端多链部署服务。
核心功能高性能 Salt 碰撞生成器;多链部署脚本托管;防抢先部署(Front-running)保护机制。
目标用户追求品牌辨识度与官方信任度的 Web3 项目方、Layer2 生态项目。
难度/周期低至中等 · 2 - 4 周 · 成本:中(租用 GPU 算力碰撞地址成本)
收费模式按地址稀缺度(前缀 0 的位数或指定单词)一次性收取服务费。
竞争风险市场需求偏小众长尾,高位数靓号碰撞对算力成本要求高且存在计算不确定性。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
hejiehui/xDeployer 中文介绍暂未生成
A cross platform deployer
1 -
0xTaaa/XDeployer 中文介绍暂未生成
0 Shell
AmeerRizvi/xdeployer 中文介绍暂未生成
0 Shell
XigenIO/xDeployer 中文介绍暂未生成
0 PHP
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建时间待补全,最近推送 ,发布过 100 个 Release
社区活跃Star 442 / Fork 0 / Issue 0(数据支持,可自行核实)
许可证未检测到(需人工确认)
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。