what are accounts? are they wallets?
Accounts are not the same as wallets. They are simply used for organizing your receiving addresses. You should not use the accounting system as it is deprecated and will be removed.
Thank you for your Input knightdk.
So ignore accounts as they are meaningless and going away soon, better to manage address's in wallets.
will I need to or should I use raw transactions? or would sendtoaddress work?
Sendtoaddress should be find, so long as you don't need to manage which UTXOs are spent.
When would or wouldn't I need to manage UTXO's? If ive 10btc in wallet A and sendtoaddress B 5btc, the remaining 5btc change would move to a new address in wallet A? is this something id need rawtrans for to specify the change address etc.
what is the benefit of the raw transactions? or just sendtoaddress?
Raw transactions allow you to control everything about a transaction; the UTXOs to spend, addresses, and fees. However they are more advanced, and if done incorrectly, can result in the loss of a lot of Bitcoin.
I am aware of the damage that raw transaction can do, and having lets say even a digit or value wrong could result in a lost transaction/btc. Obviously I want to understand this fully before I code and again test on the testnet before I consider running it normally.
I am really just doing this to be able to do it and learn more, not necessarily something to be used in production/as a service, but I would like it to be as good as something that could be used in production if that makes sense.
Thanks again