user3347: Using Bitcoin Core from today (almost 0.21):
I ran ./configure. It said with sqlite = yes. ldd $(which bitcoind) shows it is linked to libsqlite3.so.
Now, I started a signet node using bitcoind -signet. It has synced.
Now I want to create a descriptor wallet. So I tried looking in the man bitcoin-wallet, but it doesn't mention it.
I tried bitcoin-cli help and it lists:
createwallet "wallet_name" ( disable_private_keys blank "passphrase" avoid_reuse descriptors load_on_startup )

I tried:
$ bitcoin-cli -signet createwallet default_wallet -descriptors 
error: Error parsing JSON: -descriptors
$ bitcoin-cli -signet -descriptors createwallet default_wallet
Error parsing command line arguments: Invalid parameter -descriptors

How do I create a descriptor wallet?

user48884: descriptors is a boolean argument, so it should either be true or false. As with all RPCs, the argument is positional by default. So your command would look like
bitcoin-cli -signet createwallet "mywallet" false false "" false true

You can specify that the arguments be named so you don't have to put the position correctly. In that case, you do
bitcoin-cli -signet -named createwallet wallet_name="mywallet" descriptors=true


3347: <p>Using Bitcoin Core from today (almost 0.21):</p>
<p>I ran <code>./configure</code>. It said <code>with sqlite = yes</code>. <code>ldd $(which bitcoind)</code> shows it is linked to <code>libsqlite3.so</code>.</p>
<p>Now, I started a signet node using <code>bitcoind -signet</code>. It has synced.</p>
<p>Now I want to create a descriptor wallet. So I tried looking in the <code>man bitcoin-wallet</code>, but it doesn't mention it.</p>
<p>I tried <code>bitcoin-cli help</code> and it lists:</p>
<pre><code>createwallet &quot;wallet_name&quot; ( disable_private_keys blank &quot;passphrase&quot; avoid_reuse descriptors load_on_startup )
</code></pre>
<p>I tried:</p>
<pre><code>$ bitcoin-cli -signet createwallet default_wallet -descriptors 
error: Error parsing JSON: -descriptors
$ bitcoin-cli -signet -descriptors createwallet default_wallet
Error parsing command line arguments: Invalid parameter -descriptors
</code></pre>
<p>How do I create a descriptor wallet?</p>
 48884: <p><code>descriptors</code> is a boolean argument, so it should either be <code>true</code> or <code>false</code>. As with all RPCs, the argument is positional by default. So your command would look like</p>
<pre><code>bitcoin-cli -signet createwallet &quot;mywallet&quot; false false &quot;&quot; false true
</code></pre>
<p>You can specify that the arguments be named so you don't have to put the position correctly. In that case, you do</p>
<pre><code>bitcoin-cli -signet -named createwallet wallet_name=&quot;mywallet&quot; descriptors=true
</code></pre>
