1

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.

Patoshi パトシ
  • 4,608
  • 4
  • 27
  • 69

1 Answers1

0

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

jtgrassie
  • 19,601
  • 4
  • 17
  • 54