Tuesday, October 1, 2024

Holding pockets addresses exterior bitcoin core

Sure you should use this structure, supplied that the bitcoin node you do not management would not know your personal keys for any tackle you employ.

What you wish to do is use a good library, for example electrum consumer, however there are lots of libraries in lots of languages obtainable to do staple items.

From electrum consumer for example, you possibly can:

  • create tackle (pockets, maintain personal)
  • create uncooked transaction (unsigned, and simply assortment of utxos mainly)
  • signal transactions (maintain personal keys personal), output hex of signed tx is protected to then broadcast
  • broadcast transactions

Electrum consumer is usually referred to as SPV mode (easy cost verification). That is the protocol used for lite shoppers, cellular wallets and so on.

When you signal your transaction, it may be broadcast by way of the bitcoin node you do not management, a public electrum server, or an explorer that provides relay by way of an api. Some mining swimming pools supply transaction broadcasting as nicely.

The primary factor to be hyper-vigilant about is that you just maintain your personal keys (wif) secret.

As for getting a “callback” about transactions to your pockets, you should use an explorer to ballot your addresses for brand new transactions. Additionally utilizing an electrum pockets offers you the flexibility to do all of this as nicely.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles