This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## bitwalletrecover.py - recover private keys from your darkcoin wallet | |
## (this version was not tested with bitcoin/litecoin). | |
## Requires python3, pycoin (https://pypi.python.org/pypi/pycoin), | |
## and base58 (https://pypi.python.org/pypi/base58). | |
## | |
## Starting with Python 3.4, pip is included by default with the Python binary | |
## installers. To install pip for older versions 3.x: | |
## | |
## sudo apt-get install python3-setuptools | |
## sudo easy_install3 pip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env ruby | |
# Example of converting Dash BIP32 extended public key (incorrectly) beginning | |
# with 'xpub' to correct prefix 'drkv'. | |
# | |
require 'bitcoin' | |
# test extended pub key | |
xpub = 'xpub661MyMwAqRbcF3jZGiw3QBt7nD13a7k8jVt9me27BL1vSeSpviDj6udJ5cnFyr2q2ofw7kMKGUepVhVsbLVsckxGzDmvnpGPr88CJAz1Ab5' |