Bitcoin Forum
September 07, 2024, 09:29:52 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: Sending coins and receive "change" on special BTCAdr on: May 05, 2022, 09:10:33 AM
Thank you. I guess that is a good way to handle it.
But I still need to figure out how to set the address it lowers the balance from,
so it takes it from the right account.

Currently it seems it is picking the BTC from the entire wallet, not from
let's say label "John", who is sending 2 of his BTC to "Peter".

EDIT: seems like the "move" command might solve my problems here inside the same wallet working with accounts.
Will update once tested.

Update:
sendmany '.$fromadrlabel.' {\"'.$toadr.'\":'.$amount.'}"',

and

move "'.$fromadrlabel.'" "'.$toadrlabel.'" '.$amount.'1',

did the trick for me. Thank you for helping to understand Smiley
2  Bitcoin / Development & Technical Discussion / Sending coins and receive "change" on special BTCAdr on: May 05, 2022, 08:32:23 AM
Hello, this is my first post and I really hope this question wasn't answered already, or is too noobish.
My search did not find a related topic, but the forum tells me I might be searching too quick  Grin
So I am asking you specialists here.

I wanted to work with labels (accounts) inside my testwallet, so I can manage different people,
that got their address bound to this "label/account". I know accounts are deprecated, but did not find
another solution.

Currently I am sending coins like this:

sendfrom "label" "to-btcadr" "amount"

e.g. >> btc-cli.exe sendfrom "Person 1" BTCADRxyz 0.1

Label "Person 1" has only one BTCAddress, but the "change" from this transaction
will create a new BTCAddress. This leads to a wrong balance checking his main BTCAdr.

My question is: how could I still send from one BTCAddress (or label) to another BTCAddress
and receive the change on a specific BTCAddress (prefered my main BTCAddress for the senind person)
via cli?
3  Alternate cryptocurrencies / Service Announcements (Altcoins) / Re: [ANN] www.bitpanda.com Buy/Sell ETH/BTC with Visa Mastercard Neteller Skrill on: November 24, 2017, 08:53:52 PM
Hi there, having some heavy issues with 3 deposits with higher values!
Money gone, but no coins received.

Are you guys 24/7 checking on tickets?

Got some deadlines tomorrow and it seems ticket is still untouched  Sad
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!