How do i create account remotely?

by TomSawyer   Last Updated June 12, 2019 11:28 AM

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. https://medium.com/@tzhenghao/getting-started-with-geth-c1a30b8d6458

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 https://goethereumbook.org/accounts/

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?



Related Questions


Updated November 28, 2017 05:28 AM

Updated February 19, 2018 04:28 AM

Updated March 16, 2019 15:28 PM

Updated November 29, 2018 13:28 PM

Updated March 14, 2019 17:28 PM