i want to create a new account(user) and add it to my private blockchain from my web interface ?
any exemple or idea please !
i work with eris platform
i want to create a new account(user) and add it to my private blockchain from my web interface ?
any exemple or idea please !
i work with eris platform
geth --rpcapi="web3,personal" ....
web3.personal.newAccount("account_password");
To open a new account in blockchain from the web, run the geth instance in --rpc enabled.
Using the web3.js you can connect to the blockchain network and do all the commands we do in the geth console. Make sure cors enabled in geth.
But to start and stop new node itself, consider the below
I don't see a way to it directly.
But If you have an idea of Docker and swarm,
you all simply write a web app, with contains your metadata of the network like(genesis.json,networkid, port) you can initialize a node by writing sequence of commands like creating a docker container inside that install ethereum, geth then copy your genesis file start the node.
Using this you can create, delete, start, stop the node using your web application.