简体   繁体   English

有没有办法部署具有自动挖矿功能且没有 gas 成本系统的私有以太坊网络?

[英]Is there anyway to deploy private Ethereum network that have automining feature along with no gas cost system?

I am creating POC web app using Ganache as a Blockchain network locally.我正在使用Ganache作为本地区块链网络创建POC Web 应用程序。 For now, I need to deploy everything to a testing server but the problem is that I still could not find the way to set up a private Blockchain network that has automining like what we have with Ganache locally also about the gas fee as well, when I develop locally I need to manually and ether to every newly created account for them to be able to make a transaction.目前,我需要将所有内容部署到测试服务器,但问题是我仍然无法找到建立私有Blockchain网络的方法,该网络具有automining ,就像我们在本地使用Ganache所拥有的那样,还有关于汽油费的问题,当我在本地开发,我需要手动和以太网到每个新创建的帐户,以便他们能够进行交易。 But once when I deploy everything to the testing server, it would be better if I don't need to keep transferring ether since this is just a POC app on a private network anyway.但是一旦我将所有内容部署到测试服务器时,如果我不需要继续传输以太币会更好,因为无论如何这只是专用网络上的POC应用程序。

Any tools that I should take a look for this problem?我应该看看这个问题的任何工具?

Thanks!谢谢!

You are roughly describing a demo chain or a PoA chain.您大致描述的是演示链或 PoA 链。

OpenEthereum has a demo chain flag which uses this spec . OpenEthereum 有一个使用此规范演示链标志。

Alternatively, Almost all ETH1 clients support building PoA chains so you can cherry pick the EIP's you want to cinclude.或者,几乎所有 ETH1 客户端都支持构建 PoA 链,因此您可以挑选要包含的 EIP。 Geth supports clique . Geth 支持clique OpenEthereum supports AuRa and clique. OpenEthereum 支持AuRa和 clique。

If you want a production grade private network, i'd recommend either using AuRa or QBFT from GoQuorum.如果您想要生产级专用网络,我建议您使用 GoQuorum 的 AuRa 或QBFT

Each client and its consensus algo have its own set of requirements like minimum number of validator nodes etc每个客户端及其共识算法都有自己的一组要求,例如最小验证节点数量等

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 部署以太坊专用网络 - Deploying Ethereum Private Network 以太坊专用网挖矿 - Ethereum private network mining 以太坊创世纪封锁私人网络 - Ethereum Genesis Block Private Network 以太坊专用网络:不允许操作 - Ethereum private network: Operation not permitted 如果我在以太坊区块链上部署了一个 todolist 智能合约,我是否需要为添加任务或标记任务完成支付以太币/汽油价格? - If i deploy a todolist smartcontract on the ethereum blockchain , will i have to pay ether / gas price for adding a task or marking a task completed? 如何使用以太坊私有网络交换代币? - How to swap tokens by using Ethereum private network? 在私有以太坊网络上挖掘时无法生成的区块 - Blocks not generating while mining on a private Ethereum network 如何修改正在运行的私有 ethereum.network 的阻塞时间 - How to modify blocktime of a running private ethereum network 创建一个私有以太坊区块链网络供私有应用程序使用 - creating a private ethereum blockchain network for private application use 从 mai.net(以太坊)上的其他智能合约调用 function 部署合约是否可行(就 gas 成本而言)? - Is it feasible (In terms of gas cost) to call a function of deployed contract from other smart contract on mainnet (ethereum)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM