[#wallet-AddWallet] = xref:wallet.adoc[wallet]::AddWallet :relfileprefix: ../ :mrdocs: Register a loaded wallet with the wallet context. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool AddWallet( xref:wallet/WalletContext.adoc[WalletContext]& context, std::shared_ptr<CWallet> const& wallet); ---- == Return Value true if the wallet was added, false if it was already present. == Parameters [cols="1,4"] |=== | Name| Description | *context* | The wallet context to register into. | *wallet* | The wallet to add. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#