- OpenEthereum
- Setup OpenEthereum
- Beginner Introduction
- Frequently Asked Questions
- Usage and Config
- Technical Documentation
- Pluggable Consensus
- Aura - Authority Round
- Proof-of-Authority Chains
- Demo PoA-Tutorial
- Private Development Chain
- Transaction Queue
- Warp Sync (par)
- Warp Sync Snapshot Format
- Code flow
- Secret Store
- Permissioning
- WebAssembly (Deprecated)
- JSON RPC API
Private Development Chain
OpenEthereum supports a dev
mode that is particularly useful for Dapp development and demos. Thanks to its Instant seal
consensus engine, transactions are “mined” instantly. No need to wait for the next block.
Run a development chain using:
openethereum --config dev
The created chain is initialized with an address that contains a lot of Ether - 0x00a329c0648769a73afac7f9381e08fb43dbea72
. Its private key is 0x4d5db4107d237df6a3d58ee5f70ae63d73d7658d4026f2eefd2f204c81682cb7
.
Customizing the development chain
The default configuration should work fine in most cases. However, it can be customised. You can see the chain specification for the dev network in the source repository. You can make a copy locally, modify it and pass it to the --chain
option. The last section of the file under accounts
can be modified to add more accounts with lots of Ether. See the Chain specification documentation for more details.
To make multiple transactions confirm at the same time use --reseal-min-period 0
and to make transactions free use --gasprice 0
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论