Before You Install
Before installing the Klaytn package, it is required to create the associated node information to enroll your node URIs. The Kgen package is provided for CC operators, please follow the steps in the order shown below.
Download
kgen
PackageNode Key & Node URI Creation
Node URI Enrollment
Download kgen
Package
kgen
PackageFirst of all, you can download the latest version of kgen
package depending on your operating systems on Download page.
You can find the kgen
binary file under the bin
directory.
Node Key & Node URI Creation
The node key and the node URI are created only once at the beginning. The node URI must be shared with other Core Cells of the Core Cell Network. A CN connects to other CNs and a PN connects to a CN and some PNs using the created node URI. A node URI is created based on the node key by using the downloaded kgen
. The below command line creates nodekey
as well as node_info.json
.
kgen
takes the associated IP and Port number as follows.
The nodekey
is a 64-byte hexadecimal string which is a private key used in the node internally. This private key must be present at the Klaytn data directory and be careful not to lose it.
The created file node_info.json
includes the following contents.
node_info.json
contains the node information in a JSON format as follows.
Node URI Enrollment
The created node URI should be enrolled to participate in the Core Cell Network (CCN). The process of the enrollment is as follows.
Create a node URI using
kgen
(node_info.json
) which contains the associated IP and Port number.Send the information to the official Klaytn email address (
bootstrap@klaytn.com
for Cypress orbaobab@klaytn.com
for Baobab).
The enrolled information should be sent to the official Klaytn email address. The format is as follows.
In case of CN,
In case of PN,
Last updated