Skip to content

lispczz/parity-dumpprivkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethereum Private Keys Exporter

Ethereum full nodes lack an API similar to Bitcoind's dumpprivkey, which can be used to dump private keys given addresses.

The repo is a JSON-RPC service filling this blank. Given address and password, the service fetches the keystore from full nodes and decrypts it into a private key, then returns the private key to the rpc caller.

Usage

# clone the git repo and cd into it 
yarn install 
# edit config.json to change host/port/fullnode_url if necessary
node server.js
curl --data '{"jsonrpc": "2.0", "id":"curltest", "method": "dumpprivkey", "params": ["0x-prefixed-address","your-password"] }' -H 'Content-Type: application/json' -H 'Accept: application/json' http://127.0.0.1:9090

Notes

Only Parity is supported now. Geth has no equivalent to Parity's exportAccount.

About

Parity Ethereum Private Keys Dumper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published