Author

Topic: Can bitcoind be used with third party wallet? (Read 959 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
September 10, 2016, 01: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.
legendary
Activity: 1120
Merit: 1012
September 10, 2016, 12: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.
newbie
Activity: 13
Merit: 0
September 08, 2016, 04: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.
hero member
Activity: 1204
Merit: 531
Metaverse 👾 Cyberweapons
September 08, 2016, 04: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!
newbie
Activity: 13
Merit: 0
September 07, 2016, 05: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 )
Jump to: