Coder Social home page Coder Social logo

bitcoin-rnn's Introduction

bitcoin-rnn

A impementation of training a LSTM network to associate public bitcoin addresses, with private keys.

[ Note, inversion and non-inversion are highly suggested also wif and non-wif data, see mk-prvadd-pair.py, for examples of generating training data. This public example is only for understanding concepts, true production requires huge training sets, and various alternate representations of bitcoin address abstraction.

Reference for theory of this concept to the following paper.

Input may optionally be inverted, shown to increase performance in many tasks in: "Learning to Execute" http://arxiv.org/abs/1410.4615 and "Sequence to Sequence Learning with Neural Networks" http://papers.nips.cc/paper/5346-sequence-to-sequence-learning-with-neural-networks.pdf Theoretically it introduces shorter term dependencies between source and target.

gru-addr2priv.py - gru example of process ( gru is best ) priv2pub.py - generic rnn test case README.md mk-privaddr-pair.py - generate training data ( here privaddr-pair.txt ), note in actuality make this HUGE privaddr-pair.txt - example training data two column both WIF, first address, second private-key, in this case of 'training' to keep stuff simple WIF is used for both cases, in actuality raw 0-9 decimal should be considered, but in this 'toy' example I use WIF ( compressed hex ) to keep stuff simple


Uses for data generated feeds for prime-decomposition, or deep gpu processing of ecdsa; Sage and many tools have additions for large-scale prime data such as SECPK256 ( NSA algo for bitcoin )

bitcoin-rnn's People

Contributors

btc-room101 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitcoin-rnn's Issues

hi

hi
I have a very powerful PC (i7-8700k +2 1080ti sli) and unlimited electricity.I have a idea BTC,help me.
write you email

ImportError: cannot import name 'slice_X'

Ubuntu 18.04 | keras 2.2.4


~/bitcoin-rnn [master|✚ 1] 
03:32 $ python3 gru-addr2priv.py 
Using TensorFlow backend.
Traceback (most recent call last):
  File "gru-addr2priv.py", line 23, in <module>
    from keras.engine.training import slice_X
ImportError: cannot import name 'slice_X'

when i change the source of according to this https://stackoverflow.com/questions/42852495/where-did-keras-function-slice-x-go

https://pastebin.com/cLA5PAev

i end up with

~/bitcoin-rnn [master|✔] 
03:39 $ python3 gru-addr2priv.py 
Using TensorFlow backend.
Reading privaddr-pair.txt Lines 71

Generating data...
Traceback (most recent call last):
  File "gru-addr2priv.py", line 126, in <module>
    q = contents[i] # remove char > MAXLEN
IndexError: list index out of range

any suggestion how to fix this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.