Bitcoin Forum
May 04, 2024, 04:49:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ArmoryD Send From Specific Bitcoin Address  (Read 168 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
1714798142
Hero Member
*
Offline Offline

Posts: 1714798142

View Profile Personal Message (Offline)

Ignore
1714798142
Reply with quote  #2

1714798142
Report to moderator
1714798142
Hero Member
*
Offline Offline

Posts: 1714798142

View Profile Personal Message (Offline)

Ignore
1714798142
Reply with quote  #2

1714798142
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714798142
Hero Member
*
Offline Offline

Posts: 1714798142

View Profile Personal Message (Offline)

Ignore
1714798142
Reply with quote  #2

1714798142
Report to moderator
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: 3668
Merit: 1345

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!