• Stars
    star
    127
  • Rank 282,790 (Top 6 %)
  • Language
    Go
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Brute force generating ethereum private keys and check them against known addresses.

ethereum-brute-force

A small go program to check random privatekeys for a balance and record if a used ethereum address is found.

Setup

Run the get addresses script to download all the ethereum addresses (this will take a while):

./get-addresses.sh

Usage

With golang installed;

go run main.go

The docker-compose is a work in progress (it's loading addresses too slow at the moment);

docker-compose up

About

This is a proof of concept - the actual probability of finding a private key in use is about 90867014 / 115792089237316195423570985008687907853269984665640564039457584007913129639936. Even at millions of privatekeys a second, it will be a very long time before you will likely find anything. Though, I'll admit that there is some fun in leaving it running.

Some things have changed since when I first wrote this. Google now has an open dataset containing the whole Ethereum block chain. This is what I used to get the addresses dataset. You can find the query I used in the file bigquery included in this project. The size of the addresses file is at least double. This will take 100% of the memory on my 16GB RAM linux machine. It's probably time to work toward a distributed solution.

May number gods smile upon you.

License

Copyright 2017 Andrew Donley

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

BitMesh

JavaScript
30
star
2

BitMeshPOC

A project for incentivizing meshnodes with bitcoin.
Python
29
star
3

southwest-checkin-server

Python
3
star
4

LockedTransactionServer

A transaction broadcasting server that will accept posted locked transactions and broadcast them after nLocktime expires.
Java
3
star
5

kingsleykoin

ERC20 angular5+ web3js integration example
HTML
3
star
6

spotify-migrate

Migrate spotify library, playlists and artist follows to a new account since Spotify doesn't allow migrating Facebook created accounts.
Python
2
star
7

FileSecure

Encrypts files on the android SDCard.
Java
2
star
8

defcon-cesear-2019

Some of the solutions to the cesear challenge at defcon 29.
Python
2
star
9

flight-login

TypeScript
2
star
10

GUITrainProblem

Thoughtworks's giant application problem
Java
2
star
11

transaction-scanner

grabs the balances of all ethereum addresses in the network
Python
2
star
12

HurricaneElectricChromeExtension

Chrome Extension for Hurricane Electric's most used Links
JavaScript
1
star
13

gigSavvy

A java threaded java swing app that simulates transactions in real time.
Java
1
star
14

MatrixCalculator

A online matrix calculator to help college kids understand matrix operations and factoring.
CSS
1
star
15

block-listener

Listen for new blocks to parse for transactions and other relevant info.
Java
1
star
16

token-asset-api

API server for getting token transactions from Cassandra.
Java
1
star
17

MegaSub

Add/Remove megasubs to friends list automatically.
JavaScript
1
star
18

blockinfoj

API server for retrieving all block information from a mongo database.
Java
1
star
19

logs-watch

Generic spring application to watch incoming Ethereum transaction logs
Java
1
star