Creating a wallet from the command line using monero-cli command?

Monero Asked by Patoshi パトシ on November 29, 2020

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.

One Answer

Use the monero-wallet-rpc calling it's create_wallet method.

Correct answer by jtgrassie on November 29, 2020

Add your own answers!

Related Questions

How to setup Monero RPC authentication?

3  Asked on August 24, 2021 by anekdotin


Wallet JSON RPC methods

1  Asked on August 24, 2021 by thomson-ignesious


What is the monero-wallet-rpc/deamon-rpc?

1  Asked on August 24, 2021 by luis-herrera


Remote Node, Full Nodes, etc

1  Asked on August 24, 2021


How to check whether monero-wallet-rpc is running?

2  Asked on August 24, 2021 by guga-todua


How to generate deprecated Monero Payment ID

1  Asked on August 24, 2021 by deniss


View Balance without a transaction hash

1  Asked on August 24, 2021


How to set up Monero GUI wallet + Trezor on Tails

1  Asked on August 24, 2021 by montreztail


Pruning the Monero blockchain, a number question

1  Asked on August 24, 2021 by cisco-mmu


Android wallet with Tor

2  Asked on August 24, 2021 by number9


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir