Logo
Section 1 / 4

设置节点

使用 Geth 配置私有区块链网络的节点。

导入

设置节点

使用 Geth 配置私有区块链网络的节点。

...
活跃的执行客户端
...
一个简单的私有测试网络

代码示例

1geth account new --datadir nodeA

代码示例

1geth account new --datadir nodeB

代码示例

1geth account new --datadir nodeA

代码示例

1ls nodeA/keystore
Terminal

代码示例

1geth init --datadir /path/to/data /path/to/genesis.json

代码示例

1geth init --datadir nodeA genesis.json
Terminal

代码示例

1ls /blockchain/nodeA/geth/

代码示例

1bootnode -genkey boot.key

区块链开发

配置创世区块