I have two servers, one for eth-node, one for web api and user db.
I want to send request to create account from web server to eth server, but i see it can be created by running command like
geth account new localy.
The purpose of this account is to receive and spend eth, which will be mapped with user-account on user-db server.
Anyway to remotely create account from the eth server then get returned address then store it to the user-web server?
I've read the
ethclient, but it shows the way to create wallet only, not account
Or i have to write a service on eth server to exec command
geth account new to get result and return it to the user-web server?