Bitcoin Forum
June 21, 2024, 06:43:48 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ArmoryD Send From Specific Bitcoin Address  (Read 172 times)
JamesBold (OP)
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
August 27, 2018, 03:49:07 PM
Last edit: September 03, 2018, 12:53:17 PM by JamesBold
 #1

How do I send BTC from specific bitcoin address using armoryd? i.e., coin control
JamesBold (OP)
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
September 03, 2018, 12:53:26 PM
 #2

bump
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
September 04, 2018, 06:35:57 AM
 #3

You'll have to click on 'Coin Control' to get into the menu to select the UTXO when creating a transaction.



JamesBold (OP)
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
September 04, 2018, 11:21:42 AM
 #4

THanks, but I'm trying to use ArmoryD, and write a script to do this, not through the Wallet Interface/GUI.

I think I figured out a way to modify the code to filter out the utxoList, for the specific address.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3682
Merit: 1347

Armory Developer


View Profile
September 04, 2018, 11:26:47 AM
 #5

You can't do this natively. You have to grab the utxo set for your wallet from armoryd (https://github.com/goatpig/armoryd/blob/master/armoryd.py#L439), then craft the unspent tx locally, which you can then send to armoryd for signing and broadcasting.

To craft the unsigned tx, you can rip the Armory python code into your local script. The logic is contained in a single file, albeit meshed in with GUI calls:

https://github.com/goatpig/BitcoinArmory/blob/master/ui/TxFrames.py

Edit: indeed, you other option would be to modify armoryd to take in a list of eligible addresses to get utxos from.

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!