0

I am trying to create batch file for ethereum network creation process. Once the geth javascript console is opened on cmd window it wont accept any command which are written in batch file. e.g. "run.bat" file>>

@echo off

:start

geth --datadir ./datadir init init.json

geth --datadir ./datadir --networkid 2019 console

admin.nodeInfo.enode

pause

:end

Can we get the enode id using batch file? Please suggest on this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.