I am working with https://github.com/ethereum/wiki/wiki/JSON-RPC
api + curl .
And implementing custom api using this php library: https://github.com/Achse/geth-jsonrpc-php-client
below method is working fine for me for unlock before transaction:
$ curl -X POST --data '{"jsonrpc":"2.0","method":"personal_unlockAccount","params":["0x7642b...", "password", 3600],"id":67}' http://localhost:8545
But I want to unlock account using private key
not by password
. So is there any way to unlock account
and do transaction using private key
.