Bitcoin Forum
May 12, 2024, 08:00:41 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can bitcoind be used with third party wallet?  (Read 943 times)
winters03 (OP)
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 )
1715500841
Hero Member
*
Offline Offline

Posts: 1715500841

View Profile Personal Message (Offline)

Ignore
1715500841
Reply with quote  #2

1715500841
Report to moderator
1715500841
Hero Member
*
Offline Offline

Posts: 1715500841

View Profile Personal Message (Offline)

Ignore
1715500841
Reply with quote  #2

1715500841
Report to moderator
1715500841
Hero Member
*
Offline Offline

Posts: 1715500841

View Profile Personal Message (Offline)

Ignore
1715500841
Reply with quote  #2

1715500841
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715500841
Hero Member
*
Offline Offline

Posts: 1715500841

View Profile Personal Message (Offline)

Ignore
1715500841
Reply with quote  #2

1715500841
Report to moderator
1715500841
Hero Member
*
Offline Offline

Posts: 1715500841

View Profile Personal Message (Offline)

Ignore
1715500841
Reply with quote  #2

1715500841
Report to moderator
1715500841
Hero Member
*
Offline Offline

Posts: 1715500841

View Profile Personal Message (Offline)

Ignore
1715500841
Reply with quote  #2

1715500841
Report to moderator
PremiumCodeX
Hero Member
*****
Offline Offline

Activity: 1204
Merit: 531


Metaverse 👾 Cyberweapons


View Profile
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!

[TUTORIAL] How to steal $350 000?
Best OS for recovering stolen BTCs.
Visit our FREE Bitcointalk thread.
winters03 (OP)
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: 1120
Merit: 1010



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: 3388
Merit: 6635


Just writing some code


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!