Skip to main content

Questions tagged [pybitcointools]

a python bitcoin library.

Filter by
Sorted by
Tagged with
0 votes
2 answers
3k views

How to generate Hash160 from a private key with the Bitcoin module

I want to fix the script code. The script generates from a random private key Bitcoin Address by function (pubtoaddr) and works on the Bitcoin module: https://github.com/primal100/pybitcointools/blob/...
Derick Swodnick's user avatar
0 votes
1 answer
234 views

How do I get the value of a btc address transaction with pybitcoin tools?

Lets say that I execute the code below when the user accesses the deposit page. my_private_key = random_key() my_public_key = privtopub(my_private_key) my_address = pubtoaddr(my_public_key) And I ...
bitcoinlover's user avatar
1 vote
0 answers
38 views

Why does this return an ssl error when using pybitcointools?

Really confused as to why this error persists. I have upgraded pip ( I believe) And have installed pybitcointools...
71136 64687's user avatar
0 votes
1 answer
222 views

Trying to create a bitcoin based webapp in python which takes BTC deposits. How would I use pybitcointools to implement this?

Trying to create a bitcoin based webapp in python which takes BTC deposits (New to Bitcoin in general, but want to get involved). Although I would preferably want to use a different address for each ...
jacobwon's user avatar
0 votes
1 answer
194 views

Anyone know how to configure pybitcointools to bitcoin testnet?

Anyone know how to configure https://github.com/wizardofozzie/pybitcointools to bitcoin testnet? thanks,
kiwichen's user avatar
0 votes
2 answers
682 views

How to generate Electrum address with pybitcointools

I want to create a payment service where I want to be able to charge each client according to its invoice. I picked Electrum as my underlying wallet and pybitcontools as my Python interface. I would ...
Sharapolas's user avatar
4 votes
1 answer
3k views

How to derive the private key associated with a Coinbase multi-sig vault address

When I created a multi-sig vault on Coinbase, I obtained: A master public key in BIP32 extended format, of depth 0, parent fingerprint 00000000 and child index 0. A private key in WIF format ("user ...
Erwin Mayer's user avatar
0 votes
1 answer
1k views

Pybitcointools python 3.5 support

I am trying to run Vitalik Buterin's python bitcoin wrapper. I installed it from PyPi (pip install pybitcointools ). When I try to run: import bitcoin I get the following error: ImportError ...
0xsegfault's user avatar
2 votes
1 answer
4k views

How to convert a WIF private key to a BIP32 extended private key

I am trying to recover the extended BIP32 master private key from its extended BIP32 public key (which I already know) and a WIF private key (which I obtained by decrypting a BIP38 seed with a ...
Erwin Mayer's user avatar
2 votes
1 answer
1k views

New Numbers: How many Bitcoin addresses are/have been carrying a balance?

Same question as this: How many Bitcoin addresses are/have been carrying a balance? However the answer there is from 2012. Anybody have the new numbers for reference?
Spencer Ruport's user avatar
1 vote
1 answer
189 views

SIGHASH_SINGLE vbuterin/pybitcointools

Checking the implementation of Buterin's bitcoin tools I've noticed something strange. According to the Bitcoin developers guide, sighash_single signs only the outputs that match the input where the ...
sr_gi's user avatar
  • 3,220
2 votes
1 answer
1k views

Using pybitcointools to create keys, addresses, sign transactions, and push them out

I WENT through the tutorial for pybitcointools using the command line. At the last line I am to pushtx(tx3) and Yet I keep getting this error : raise Exception(p) Exception: An outpoint is already ...
iivri  andre's user avatar
1 vote
1 answer
531 views

anyone attempted a multiple p2sh(multisig) send (ideally using python)?

I attempted to use pycoin to do a "create_signed_tx" in python, but had no joy: Do you think it might be technically possible to use spendables(UTXOs) from multiple source P2SH wallets in a single ...
kumarz's user avatar
  • 231
1 vote
2 answers
154 views

'01' at the end of signatures

I am confused about the end marker at the end of signatures (in my case, individual sigs for a Tx that spends a P2SH) in pybitcointools: pybitcointools: ...
hartmut's user avatar
  • 681