I'm writing up a php script and I want it to execute a monero-wallet-cli command to create a wallet from my private key. I tried to do this via the command line with monero-wallet-cli, but its in interactive mode and I want to be able to stream line this with php where I can pass in a private key and other parameters.

This is all for internal use so its not exposed to the internet.


Use the monero-wallet-rpc calling it's create_wallet method. https://getmonero.org/resources/developer-guides/wallet-rpc.html#create_wallet

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.