[#wallet-CreateFromDump] = xref:wallet.adoc[wallet]::CreateFromDump :relfileprefix: ../ :mrdocs: Creates a new wallet database from a previously dumped file. == Synopsis Declared in `<wallet/dump.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool CreateFromDump( xref:ArgsManager.adoc[ArgsManager] const& args, std::string const& name, xref:fs/path.adoc[fs::path] const& wallet_path, xref:bilingual_str.adoc[bilingual_str]& error, std::vector<bilingual_str>& warnings); ---- == Return Value true if the wallet was created successfully. == Parameters [cols="1,4"] |=== | Name| Description | *args* | The parsed arguments specifying the dump file and options. | *name* | The name to give the new wallet. | *wallet_path* | The path where the new wallet is created. | *error* | Receives an error message on failure. | *warnings* | Receives any non‐fatal warnings produced during creation. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#