Bitcoin Forum
April 25, 2024, 02:09:21 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Example of creating/signing a p2pkh and p2sh testnet Tx using PyCoin ?  (Read 612 times)
HeadsOrTails (OP)
Full Member
***
Offline Offline

Activity: 233
Merit: 100



View Profile
August 06, 2015, 11:12:31 AM
 #1

I'm looking for an eg of how to spend a testnet Tx using Pycoin.

Here's the private key (sec) and txid for an unspent BTC0.1. The vout is 0.


Code:
priv =4336520df5693ecffd16038d31b11488cf92207a8d9e3ffff8fd5d46556d1d6e 
txid = 75aea43b3a6365718f6cc4e9479b48f582790f5b0fff29f32a0effa26e4762b5

Can someone show me how I'd send the funds to n1hjyVvYQPQtejJcANd5ZJM5rmxHCCgWL7?

And if someone can show me a p2sh eg Tx too, I'm happy to tip the funds @ 1Ae4qudMZEj6raDKwUgLsFriBMmqyMMx4c
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!