https://ethereum.stackexchange.com/questions/145253/configure-clef-with-private-geth-node
In the latest Geth release v1.11.0 personal
namespace is being deprecated in favor of Clef
.
I am using the personal
namespace for account creation/unlock/lock etc. I want to integrate Clef
with the private/local Geth
node first.
My question is that is it possible to run Clef with a private node? if yes, then what should be passed as --chainid
in the Clef
startup command
./clef --keystore /path/to/keystore --chainid ?
I am trying to start the Private Geth
note with --dev
mode & to connect with Clef
i am passing --signer
. Geth
complains that --dev
& --signer
cannot be run together. Does it mean Clef
cannot be integrated with the Private Geth
node?
I have been following this documentation https://geth.ethereum.org/docs/tools/clef/introduction#installing-and-starting-clef & struggling to get Clef
& Geth
running together.
Command to start Geth private node
./geth --dev --dev.period 5 --mine --syncmode "snap" --http --http.addr 0.0.0.0 --http.vhosts=localhost --verbosity 2 --http.api eth,web3,personal,debug,net --ws --ws.addr 0.0.0.0 --ws.origins=localhost --ws.api eth --allow-insecure-unlock --db.engine=pebble --datadir /path/to/datadir --signer=./clef/clef.ipc
Any help/guidance will be much appreciated.