ChainIDE-Chinese
  • 1. ChainIDE - 相关介绍
  • 2. ChainIDE - 模块简介
    • 2.1. File System模块
    • 2.2. Editor模块
    • 2.3. File Preview模块
    • 2.4. Logger模块
    • 2.5. Compile模块
    • 2.6. Deplyment&Interaction模块
    • 2.7. Plugin System模块
      • 2.7.1 ChainIDE Debugger
      • 2.7.2. ChainIDE Flattener Plugin
      • 2.7.3 ChainIDE Verifier
    • 2.8. ChainIDE底部模块
  • 3. ChainIDE - 外部项目导入
  • 4. ChainIDE - 模板管理
  • 5. ChainIDE - 端口转发
  • chainide support
    • 1. Ethereum IDE
      • 1. Ethereum IDE 环境配置
      • 2. Ethereum IDE 使用流程演示
      • 3. 使用 Hardhat
      • 4. 使用 Ganache v7
      • 5. 使用 Truffle
    • 2. BNB Chain IDE
      • 1. BNB Chain IDE 环境配置
      • 2. BNB Chain IDE 使用流程演示
      • 3. 使用 Hardhat
      • 4. 使用 Ganache v7
      • 5. 使用 Truffle
    • 3. Conflux IDE
      • 1. Conflux IDE 环境配置
      • 2. Conflux IDE 使用流程演示
      • 3. 使用 Hardhat
      • 4. 使用 Ganache v7
      • 5. 使用 Truffle
      • 3. 使用 Conflux-truffle
    • 4. Internet Computer IDE
      • 1. Internet Computer IDE 使用流程演示
    • 5. Nervos IDE
      • 1. Nervos IDE 环境配置
      • 2. Nervos IDE 使用流程演示
      • 3. 使用 Hardhat
      • 3. 使用 Ganache v7
    • 6. Polygon IDE
      • 1. Polygon IDE 环境配置
      • 2. Polygon IDE 使用流程演示
      • 3. 使用 Hardhat
      • 4. 使用 Ganache v7
      • 5. 使用 Truffle
    • 7. Flow IDE
      • 1. Flow IDE 使用流程演示
    • 8. Fisco Bcos IDE
      • Fisco Bcos 环境配置
      • Fisco Bcos 使用流程演示
    • 9. Sui IDE
      • 1. Sui IDE 环境配置
      • 2. Sui IDE 使用流程演示
    • 10. Aptos IDE
      • 1. Aptos IDE 环境配置
      • 2. Aptos IDE 使用流程演示
    • 11. XDC IDE
      • 1. XDC IDE 环境配置
      • 2. XDC IDE 使用流程演示
      • 3. 使用 Hardhat
      • 4. 使用 Ganache v7
      • 5. 使用 Truffle
    • 12. Astar IDE
      • 1. Astar IDE 环境配置
      • 2. Astar EVM IDE 使用流程演示
      • 3. Astar WASM IDE 使用流程演示
    • 13. IRISnet IDE
      • 1. IRISnet IDE 环境配置
      • 2. IRISnet EVM IDE 使用流程演示
      • 3. IRISnet Cosmos IDE 使用流程演示
    • 14. Arbitrum IDE
      • 1. Arbitrum IDE 环境配置
      • 2. Arbitrum IDE 使用流程演示
      • 3. 使用 Hardhat
      • 4. 使用 Ganache v7
      • 5. 使用 Truffle
    • 15. Starknet IDE
      • 1. Starknet IDE 环境配置
      • 2. Starknet IDE 使用流程演示
    • 16. Mina IDE
      • 1. Mina IDE 环境配置
      • 2. Mina IDE 使用流程演示
Powered by GitBook
On this page
  • 1. 打开 Sandbox
  • 2. 启动 Ganache
  • 3. 端口转发

Was this helpful?

  1. chainide support
  2. 5. Nervos IDE

3. 使用 Ganache v7

通过 Ganache v7 创建本地区块链环境

Previous3. 使用 HardhatNext6. Polygon IDE

Last updated 1 year ago

Was this helpful?

Consensys 宣布终止与 Truffle 和 Ganache 的合作关系以及和 HardHat 新的合作关系,。

1. 打开 Sandbox

注:以 GIthub 方式登录 ChainIDE 后才可使用 Sandbox 功能。

打开 Sandbox

2. 启动 Ganache

通过输入带参数的 ganache 来启动一条 terminal 之外的客户端也可以访问的本地链:

ganache -h 0.0.0.0

3. 端口转发

这样你就成功的启动了一条 ganache 本地区块链。接下来可以通过 Metamask 连上该条链,或者通过 Truffle, Hrdhat 部署合约, chain id 为 1337。

相关链接

为了其他客户端可以通过链接访问到上图启动的 ganache,请参考 转发 HTTP 8545 端口,并复制其地址 (例如:)。

ChainIDE - 端口转发
https://sandbox-1e82a87a951241179f98494a6dbb2617-ethereum-8545.uat-sandbox.chainide.com
ganache 文档
ganache github仓库
更多详情