Bitcoin

How do I load my registered wallet?

In the documentation for loadwallet The syntax described by RPC is:

loadwallet "filename" ( load_on_startup )

And additionally specify:

Arguments:
1. filename (string, required) The wallet directory or .dat file.

What the documentation doesn’t make clear is that you need to provide a file name. Relative to wallet directory ~/.bitcoin/regtest/wallets. In that respect, it would be nice if the documentation were improved.

listwallets It returns the currently loaded wallet, which is why it didn’t show up before it was loaded.

Related Articles

Back to top button