问题
以太坊的 geth attach 命令一般是给管理员提供一个本地的交互式 console,但是有时候希望不通过人机交互式的方式,而是直接用命令行调用,该怎么办?
解决方案
示例
geth --exec 'admin.nodeInfo' attach http://127.0.0.1:8545
以太坊的 geth attach 命令一般是给管理员提供一个本地的交互式 console,但是有时候希望不通过人机交互式的方式,而是直接用命令行调用,该怎么办?
示例
geth --exec 'admin.nodeInfo' attach http://127.0.0.1:8545
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?