Hi
I need to create a website in php that should have his own wallet for:
-generating new addresses for each new payment
-sending and receiving payments
-automated and safe
-run on the website server (standard hosting using cpanel)
I am new to this and I don't know where to start but think there are already solutions for this.
Thank you!
If you are sending automated payments direct from a PHP webserver then it's impossible for it to be "safe".
What you need to do it send the payments from a separate server which does nothing but send payments and completely locked down with extremely limited access.
Your webserver has a tons of attack vectors so basically your webserver should not even have the ability to push out a send.
Your wallet server should securely connect to the webserver to retrieve lists of requested sends, then after independent validation of the requests it should send them.
This way even if someone hacks the shit out of your entire website they cannot get to your wallet server and they cannot push out any unauthorized sends. At most they can put unauthorized sends into the requests, but your wallet server validation should be designed to detect this and shut it down.
Ideally you should have physically access to the wallet server, as opposed to hosting the wallet server online (ie run the wallet server at home or office etc...)