Bitcoin Forum
July 21, 2018, 06:55:22 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Can bitcoind be used with third party wallet?  (Read 871 times)
winters03
Newbie
*
Offline Offline

Activity: 13
Merit: 0


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 )
1532156122
Hero Member
*
Offline Offline

Posts: 1532156122

View Profile Personal Message (Offline)

Ignore
1532156122
Reply with quote  #2

1532156122
Report to moderator
1532156122
Hero Member
*
Offline Offline

Posts: 1532156122

View Profile Personal Message (Offline)

Ignore
1532156122
Reply with quote  #2

1532156122
Report to moderator
1532156122
Hero Member
*
Offline Offline

Posts: 1532156122

View Profile Personal Message (Offline)

Ignore
1532156122
Reply with quote  #2

1532156122
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: 798
Merit: 508


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: 13
Merit: 0


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: 1106
Merit: 1002



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: 1470
Merit: 1457


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


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.

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!