New answers tagged

0

You can use these little scripts in command line, so you don't have to program a single line (also run in Windows if you have Python), or easily modify them if you want: https://github.com/circulosmeos/bitcoin-in-tiny-pieces For your private key example: $ ./bitcoin-wif-from-private-key.py 00010966776006953D5567439E5E39F86A0D273BEED61967F6 privkey = ...


0

Install Xcode Install MacPorts from https://www.macports.org/ Run these commands: sudo port install python27 py27-twisted py27-pip py-bsddb python_select sudo port select --set python python27 sudo easy_install ecdsa


1

I had named my script bitcoinrpc.py and had the import bitcoinrpc. Naturally it couldn't find the package. Renamed the script and it works. Lesson: DO NOT have a file of the same name as the package you are trying to import.


Top 50 recent answers are included