github.com/klaytn/klaytn@v1.12.1/build/packaging/windows/init_aspen_genesis.bat (about) 1 @echo off 2 3 set HOME=%~dp0 4 set CONF=%HOME%\conf 5 6 call %CONF%\klay-conf.cmd 7 8 IF NOT EXIST %KLAY_HOME% ( 9 mkdir %KLAY_HOME% 10 ) 11 12 IF NOT EXIST %DATA_DIR% ( 13 mkdir %DATA_DIR% 14 ) 15 16 echo "Init genesis for Klaytn aspen network" 17 18 copy %CONF%\aspen\static-nodes.json %DATA_DIR%\ 19 20 %HOME%\bin\klay.exe init --datadir %DATA_DIR% %CONF%\aspen\genesis.json 21 22 @pause