-1

I want to be able to create many Bitcoin addresses and transfer coins from those addresses to other addresses. It is better if it is available on a Linux server, through the command line. What libraries or programs might work for this?

1
  • It might be relevant what level of activity you're expecting, as very high activity could exclude some solutions that would be good choices for lower volume.
    – Murch
    Sep 19, 2022 at 14:33

1 Answer 1

0

Create multiple address: https://bitcoin.stackexchange.com/a/107735/133407

You can send coin to those addresses using signet faucet: https://signet.bc-2.jp/

Create a transaction to transfer coins:

$ bitcoin-cli createpsbt "[{\"txid\":\"myid\",\"vout\":0}]" "[{\"<address>\":\"<amount>\"}]" 

You would have to finalize the PSBT using finalizepsbt after signing

Broadcast it using:

$ bitcoin-cli sendrawtransaction "signedhex"
2
  • Can I send coins to addresses created by someone else? Sep 20, 2022 at 11:15
  • Yes, but then the coins are yours. That's how you generally transfer BTC. Jun 17, 2023 at 19:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.