I have created my own token and now I want to create accounts for clients where they stock tokens using node js express.But I have no idea how to generate accounts' address ! Can anyone help me please even with useful linkS to start :) Here is the code that I have written (the code compiled well but no address is returned)

var mytoken= MyContract.at(contractAddress);

//accounts creation
   var options = {
      host: '/home/yosra/Bureau/mynetwork/ResponsableRH/geth.ipc',
      personal: true, 
      admin: false,
      debug: false


   var web3 = web3_extended.create(options);

   var newaccount=web3.personal.newAccount("password",function(error,result){


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.