Open oom-patchara opened 6 years ago
@oom-patchara Did you get some information on the above issue as when I tried to use PHP version that returns only address?
@kamran-jabbar can you please share your php code ?
@phpemobxdev sorry about that as I missed the PHP code, unable to get the solution in PHP so I just implemented NodeJS API endpoint and get the public key and private key from there in PHP
I would like to be able to do this as well, will have to switch to js myself for now too.
@beardhero yes, you have to use JS as PHP is not giving that much information with web3.
Can anyone show me how to create an account and get private key and public key in return with this web3 php library? as you can do this with original web3.js version eg. web3.eth.accounts.create([entropy]); see here https://web3js.readthedocs.io/en/1.0/web3-eth-accounts.html?highlight=web3.eth.accounts.create
Thanks