Title: Importing a transaction and signing it with an address in your Electrum wallet Post by: Chris_Stewart_5 on April 27, 2015, 08:27:32 PM I was wondering if it is possible to import a transaction that some one else created into your electrum wallet and then sign that transaction with a private key in your Electrum wallet?
I cannot find how to do this. Title: Re: Importing a transaction and signing it with an address in your Electrum wallet Post by: TheButterZone on April 28, 2015, 12:21:13 AM https://electrum.orain.org/wiki/Cold_storage#Get_your_transaction_signed
Title: Re: Importing a transaction and signing it with an address in your Electrum wallet Post by: Chris_Stewart_5 on April 28, 2015, 04:53:05 AM https://electrum.orain.org/wiki/Cold_storage#Get_your_transaction_signed The 'Sign' button does not appear when I load my unsigned transaction. Is this a bug in Electrum? Title: Re: Importing a transaction and signing it with an address in your Electrum wallet Post by: TheButterZone on April 28, 2015, 04:57:35 AM Did the transaction someone else created have inputs that your private key can sign for?
Title: Re: Importing a transaction and signing it with an address in your Electrum wallet Post by: Chris_Stewart_5 on April 28, 2015, 05:27:37 AM How does Electrum do the matching, inside the input there is nothing inside of the Script field. Both addresses reside in the my Electrum wallet (I'm testing this out). I'm using Bitcore's library to construct the transaction with this piece of code:
var tx = new bitcore.Transaction().from(utxos).to(toAddress,amount).lockUntilDate(date).change(toAddress); However the input has 0 chunks inside the Script field (which from my understanding needs to be filled in by the signatures of the transaction). Title: Re: Importing a transaction and signing it with an address in your Electrum wallet Post by: Chris_Stewart_5 on April 28, 2015, 05:34:22 AM Here is a link to the exact Bitcore method I am calling
http://bitcore.io/api/transaction/transaction.html#Transaction#from Title: Re: Importing a transaction and signing it with an address in your Electrum wallet Post by: ThomasV on April 28, 2015, 06:18:54 AM https://electrum.orain.org/wiki/Cold_storage#Get_your_transaction_signed The 'Sign' button does not appear when I load my unsigned transaction. Is this a bug in Electrum? could you post the unsigned transaction? Title: Re: Importing a transaction and signing it with an address in your Electrum wallet Post by: Chris_Stewart_5 on April 28, 2015, 06:13:12 PM Here is the raw hex
0100000001a6c9ed9fe554a3a6dd43a45b0326a3f35b3723c1a77461feaf306400d40e40f800000 00000ffffffff01f00d8700000000001976a914d5e06dde835a7428d80cd39e91f06350ca3291ad 88ac007c3d55 Title: Re: Importing a transaction and signing it with an address in your Electrum wallet Post by: TheButterZone on April 28, 2015, 06:59:35 PM decoded:
Code: { Title: Re: Importing a transaction and signing it with an address in your Electrum wallet Post by: Chris_Stewart_5 on April 29, 2015, 07:37:30 PM Bump, am I using the electrum client incorrectly? Is there a bug in Electrum?
Title: Re: Importing a transaction and signing it with an address in your Electrum wallet Post by: ThomasV on May 02, 2015, 10:12:21 AM Bump, am I using the electrum client incorrectly? Is there a bug in Electrum? I confirm it is a bug. Title: Re: Importing a transaction and signing it with an address in your Electrum wallet Post by: Chris_Stewart_5 on May 13, 2015, 03:06:51 AM Is there a timeline for when this gets fixed? Thanks for checking it out ThomasV.
Title: Re: Importing a transaction and signing it with an address in your Electrum wallet Post by: ThomasV on August 07, 2015, 03:13:58 PM fixed in https://github.com/spesmilo/electrum/commit/6b8725679539a050d718cf7a8ace26607002fff8
|