Skip to content

Collects Ethereum public keys from signed transactions on the chain.

License

Notifications You must be signed in to change notification settings

hleb-albau/ethereum-pubkey-collector

Repository files navigation

Ethereum Public Key Collector

version CircleCI license LoC contributors contribute

Collects Ethereum public keys from signed transactions on the chain. In particular, service connects to a web3 client and pulls transaction data from the blockchain, extracts r,v,s signature components of each transaction and calculates the secp256k1 public key associated with the Ethereum account that created the transaction. Collected keys stored withing local LevelDB database, and thus can be accessed later.

Installing

You can download already compiled binaries from release section. But, unfortunfortunatelyently, not for all platforms binaries are available (see issue #4).

You can build executable by your own (Go 1.11+ required):

git clone [email protected]:hleb-albau/ethereum-pubkey-collector.git
cd  ethereum-pubkey-collector
go build -o eth-pubkeys ./
# than copy eth-pubkeys to your path, or use it as local executable `./eth-pubkeys` instead of `eth-pubkeys`

Usage

To simple start collecting keys use:

eth-pubkeys collect --node-url=ws://127.0.0.1:8546  --threads=10

This project, beside collecting pubkeys, supports other commands such as create csv file. To see all available commands use:

eth-pubkeys help

Issues

If you have any problems with or questions about this program, please contact us through a GitHub issue.

Contributing

You are invited to contribute new features, fixes, or updates, large or small; I am always thrilled to receive pull requests, and do my best to process them as fast as I can.

About

Collects Ethereum public keys from signed transactions on the chain.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages