I'm new to this bitcoin and seems confused a little.
I need a system where I need to create new address for every user
(personal account) where they will transfer some bitcoins to it and buy some products from my website.
So, I've started bitcoind
and through bitcoin-cli
, I've generated new address(getnewaddress
) and send some bitcoins to it.
But on the transactions screen, it shows payment to yourself
and the balance of the account doesn't change.
Can anyone, please help me how to create a new individual account address
for every user and make the transactions. It should have a password or a private key
also for security.
NPM Package I used : https://www.npmjs.com/package/bitcoin-core