How to specify the sending address

Started by FBI, January 15, 2014, 04:58:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ripplexiaoshan

Quote from: CrazyBit on January 15, 2014, 11:42:40 AM
Quote from: FBI on January 15, 2014, 04:58:29 AM
Hi all, I have multiple addresses in my wallet, with different amount of pts in every address. Now I want to get AGS by donating PTS, but I only want to touch the pts in one address, how I can specify the sending address? cause I don't want the other addresses exposed... 8)

Yes, it is possible, but a bit complex,you could use the command line to sent out the PTS from the specified address, step as follows:

1) Go to the command line through Help->Debug window->Console

2) if you wallet was locked, issue the following command to unlock your wallet, otherwise skip this step.

walletpassphrase <yourpassword> <timeout value>

3)set the transaction fee by issuing the following command:

settxfee 0.001

4) Make sure your address has sufficient fund, and then sent out the PTS from the specified address by issuing the following command:


sendfrom <your address label > <destination address> <sent out amount>


tested, works, great!
BTS committee member:jademont

crazybit

Quote from: FBI on January 15, 2014, 04:58:29 AM
Hi all, I have multiple addresses in my wallet, with different amount of pts in every address. Now I want to get AGS by donating PTS, but I only want to touch the pts in one address, how I can specify the sending address? cause I don't want the other addresses exposed... 8)

Yes, it is possible, but a bit complex,you could use the command line to sent out the PTS from the specified address, step as follows:

1) Go to the command line through Help->Debug window->Console

2) if you wallet was locked, issue the following command to unlock your wallet, otherwise skip this step.

walletpassphrase <yourpassword> <timeout value>

3)set the transaction fee by issuing the following command:

settxfee 0.001

4) Make sure your address has sufficient fund, and then sent out the PTS from the specified address by issuing the following command:


sendfrom <your address label > <destination address> <sent out amount>






ripplexiaoshan

It's possible, but not very convenient.

Actually, if you search for it from bitcointalk, you will find some modified qt wallet can do this job for btc. However, pts-qt wallet doesn't have this function yet.


Currently, if you want to specify the sending address, the easiest way is to export the private key for that address,  and import it into a brand new wallet(swapping wallet file or Virtual machine ). Then payments can only be sent from the balance of that particular address. But you'd better send all the amount in your address, otherwise,  any remaining balance will be sent back to a new hidden address inside the wallet as "change"
BTS committee member:jademont

029xue

I would say that's impossible.

The wallet decides which addresses (when the amount is big, it may need multiple input addressed) would be used to send the amount and sometimes the change will return to a 'hidden address' in your wallet.

Below post would help you:
https://bitsharestalk.org/index.php?topic=1841.msg28158#msg28158


FBI

Hi all, I have multiple addresses in my wallet, with different amount of pts in every address. Now I want to get AGS by donating PTS, but I only want to touch the pts in one address, how I can specify the sending address? cause I don't want the other addresses exposed... 8)
bitsharesxt : guru