Bitcoin Forum
October 23, 2017, 10:51:49 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Can bitcoind be used with third party wallet?  (Read 845 times)
winters03
Newbie
*
Offline Offline

Activity: 6


View Profile
September 07, 2016, 10:00:44 PM
 #1

The 'raw transaction' RPCs look interesting for that

Code:
== Rawtransactions ==
createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,"data":"hex",...} ( locktime )
decoderawtransaction "hexstring"
decodescript "hex"
fundrawtransaction "hexstring" includeWatching
getrawtransaction "txid" ( verbose )
sendrawtransaction "hexstring" ( allowhighfees )
signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
1508799109
Hero Member
*
Offline Offline

Posts: 1508799109

View Profile Personal Message (Offline)

Ignore
1508799109
Reply with quote  #2

1508799109
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
PremiumCodeX
Hero Member
*****
Offline Offline

Activity: 560


Miracles are not meant to be wished for


View Profile WWW
September 08, 2016, 09:15:38 AM
 #2

No, as far as I know the original bitcoind does not work with 3rd party wallets. Not without modification. However, there was a suggestion related a mod that could make it possible so if anyone knows anything about this "modified bitcoind", let me know please!


Ç̤̱͕̮̽̆͒̀͝ö̼̟̞̦̟͌̎̀͝d̲̜̫̘͛͂̽͜͠͝ȇ͉̣̝̰͎͑̓̂͝X̨̨̛̛͔̳̃͋̌ͅ

winters03
Newbie
*
Offline Offline

Activity: 6


View Profile
September 08, 2016, 09:54:24 AM
 #3

So the raw transaction API has to reference the local wallet? You can't just put arbitrary data in that and expect it to work? I'm thinking of a hypothetical third party wallet that keeps track of it's own bitcoin keys, and then tells the bitcoind server to broadcast a raw transaction involving them.
Holliday
Legendary
*
Offline Offline

Activity: 938



View Profile
September 10, 2016, 05:52:33 PM
 #4

I don't know the technical details of the transaction operations, but Armory (which maintains it's own private keys) uses the Bitcoin client (bitcoind or Core) to broadcast transactions and for the block chain data as well.

In other words, the answer to your topic question is yes.

Ignore the ignorant signature spammer posting misinformation in order to pad his post count.

If you aren't the sole controller of your private keys, you don't have any bitcoins.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1190


17kKQppUsngUiByDsce4JXoZEjjpvX9bpR


View Profile WWW
September 10, 2016, 06:13:39 PM
 #5

So the raw transaction API has to reference the local wallet? You can't just put arbitrary data in that and expect it to work? I'm thinking of a hypothetical third party wallet that keeps track of it's own bitcoin keys, and then tells the bitcoind server to broadcast a raw transaction involving them.
Yep, that will work perfectly fine. The raw transaction apis allow you to specify everything you need to create, sign, and broadcast a transaction. It does not require the use of the wallet. With signing, you can specify the private key and the referenced outputs. If you enable the txindex, you don't need to specify the referenced outputs.

I don't know the technical details of the transaction operations, but Armory (which maintains it's own private keys) uses the Bitcoin client (bitcoind or Core) to broadcast transactions and for the block chain data as well.
Armory doesn't use the RPCs. It actually connects to Bitcoin Core through the p2p network in order to broadcast the transactions.

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!