Questions tagged [pybitcointools]

a python bitcoin library.

14 questions
4
votes
1 answer

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 seed"), which I don't know if it has been…
2
votes
1 answer

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 passphrase). I followed the steps described in this…
2
votes
1 answer

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?
2
votes
1 answer

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 spent in [37275258, 92842599] THIS is the list of…
iivri andre
  • 141
  • 1
  • 4
1
vote
0 answers

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...
1
vote
1 answer

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 scriptSig is going to be placed, that is, input i…
sr_gi
  • 3,087
  • 1
  • 11
  • 36
1
vote
1 answer

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 push to the network ? Anyone done this successfully…
kumarz
  • 231
  • 1
  • 6
1
vote
2 answers

'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
  • 671
  • 5
  • 21
0
votes
2 answers

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/master/cryptos/main.py from bitcoin import…
0
votes
1 answer

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 let the user deposit into my_address. How would I…
0
votes
1 answer

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 deposit, (I read the docs and found out how this…
0
votes
1 answer

Anyone know how to configure pybitcointools to bitcoin testnet?

Anyone know how to configure https://github.com/wizardofozzie/pybitcointools to bitcoin testnet? thanks,
0
votes
2 answers

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 like to assign for each invoice a separate…
0
votes
1 answer

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 Traceback (most recent…
0xsegfault
  • 137
  • 1
  • 8