[#wallet-AddWalletSetting] = xref:wallet.adoc[wallet]::AddWalletSetting :relfileprefix: ../ :mrdocs: Add wallet name to persistent configuration so it will be loaded on startup. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool AddWalletSetting( xref:interfaces/Chain.adoc[interfaces::Chain]& chain, std::string const& wallet_name); ---- == Return Value true if the setting was written. == Parameters [cols="1,4"] |=== | Name| Description | *chain* | The chain interface holding persistent settings. | *wallet_name* | The wallet name to add. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#