/rbtcrypto

Ruby bitcoin crypto stuffs

Primary LanguageRuby

Ruby Bitcoin Toolkit

Created for self educational purpose. Use it at your own risk.

Usage

To get the public address from private key(WIF):

ruby priv_to_pub.rb <private key(WIF)>

To get the public address from private key number(256 bit number):

ruby privnum_to_pub.rb <private key(256 bit number in decimal form)>

To get the public address from private key number (base58 number)

ruby privbase58_to_pub.rb <private key (base58 string)>

To generate new address:

ruby new_address.rb 

To verify address valid or not

ruby verify_address.rb <private key(WIF) or public address>

To generate key pairs from passphrase:

ruby brainwallet.rb <passphrase>

To craft Transaction and drop into https://blockchain.info/pushtx

ruby maketransaction.rb  <sender public address> <receiver public address> <sender private key(WIF)> <amount>