The EN configuration is to create a data directory and to set up the environment variables on the configuration file
Create the EN data directory.
Configure the EN with
Considering the fact that the size of Klaytn blockchain data keeps increasing, it is recommended to use a big enough storage. You need to create the directory on your desired path.
$ sudo mkdir -p /var/kend/data
Configuration File Location:
For the archive distribution, the config directory location defaults to
For the package distribution, the config directory defaults to
You should update the the data directory environment variable
$DATA_DIR on the configuration file
Each EN maintains a copy of the network's chain data. If a node is out of sync, it can obtain this data from other nodes in the network -- a process known as syncing. When a new EN is first started, it must download the entire chain data from the network.
To accelerate this process, you may perform a fast sync by downloading a snapshot of the chain data before starting the EN. This can dramatically reduce the time the EN will spend syncing on first start.
$ tar -C ~/kend_home -xvf klaytn-cypress-chaindata-latest.tar.gz
$ tar -C ~/kend_home -xvf klaytn-baobab-chaindata-latest.tar.gz
After the data is extracted, you may start the EN normally.