<p>Your link says</p>
<blockquote>
<p>Dependencies: bash, bitcoin-cli (v0.15 or newer), awk, bc, jq, sed.</p>
</blockquote>
<p>which means it runs on Linux (possibly also under WSL bash shell)</p>
<p>you tagged your question wasabi and samouri - but those products probably don't support the necessary interface or platform, so I am unsure why you used those tags. You must be running a <code>bitcoin-cli</code> executable from <a href="https://bitcoincore.org/en/download/" rel="nofollow noreferrer">bitcoin core</a>.</p>
<p>Your link also says</p>
<blockquote>
<p>Scripts use Bitcoin JSON-RPC API, so it must be enabled in bitcoin.conf (server=1, rpcuser= and rpcpassword= settings).</p>
</blockquote>
<p>which means you must have a <code>bitcoin.conf</code> file in the appropriate directory (<code>$HOME/.bitcoin/</code> on Linux unless you specified something else) which contains something like</p>
<pre><code>server=1
rpcuser=digitrader21rpc
rpcpassword=jshdfvIu327840hfo8foUih24378786t5vlkjheroIJ98t-89t-!
</code></pre>

CC BY-SA 4.0
2022-12-08T18:00:56.033Z
btw. would you know how to specify bitcoin.conf location? `/opt/bitcoin/bin/bitcoin-cli -conf=/bitcoind/conf/bitcoin.conf createwallet "btc-wallet1"` seems not working
Pavel Niedoba
CC BY-SA 4.0
2021-09-17T14:15:17.470Z
2021-09-17T14:22:46.200Z
2021-09-17T14:22:46.200Z
RedGrittyBrick
<p>I want to install <a href="https://github.com/kristapsk/bitcoin-scripts" rel="nofollow noreferrer">Kristaps Kaupe’s scripts</a> on my bitcoin.conf but I am afraid I don't have the technical expertise necessary to make it run.</p>
<p>I am simply cutting and pasting it on my bitcoin.conf file, but I get an error from the start, I am sure I have to change somethings on the script in order to point to the right directory. I can manage cut and paste and entering commands on the console. Could anyone please give a simpler example showing the changes we need to make to run the script? Thank you in advance.</p>

CC BY-SA 4.0
2021-09-17T16:49:15.847Z
They aren't configuration you add to bitcoin.conf; they're separate scripts you run.
Pieter Wuille
<script><privacy><wasabi-wallet><samourai-wallet>
How to edit bitcoin.conf for bitcoin.cli scripting
digitrader21
# How to edit bitcoin.conf for bitcoin.cli scripting

(Asked by: username_0 on 2021-09-17)

I want to install [Kristaps Kaupe’s scripts](https://github.com/kristapsk/bitcoin-scripts) on my bitcoin.conf but I am afraid I don't have the technical expertise necessary to make it run.

I am simply cutting and pasting it on my bitcoin.conf file, but I get an error from the start, I am sure I have to change somethings on the script in order to point to the right directory. I can manage cut and paste and entering commands on the console. Could anyone please give a simpler example showing the changes we need to make to run the script? Thank you in advance.

**Tags:** script, privacy, wasabi-wallet, samourai-wallet

> **Comments:**
> **username_1**: They aren't configuration you add to bitcoin.conf; they're separate scripts you run.  

---

## 1 answers

### Answer by username_2 on 2021-09-17. Score: 1

Your link says

> Dependencies: bash, bitcoin-cli (v0.15 or newer), awk, bc, jq, sed.

which means it runs on Linux (possibly also under WSL bash shell)

you tagged your question wasabi and samouri - but those products probably don't support the necessary interface or platform, so I am unsure why you used those tags. You must be running a `bitcoin-cli` executable from [bitcoin core](https://bitcoincore.org/en/download/).

Your link also says

> Scripts use Bitcoin JSON-RPC API, so it must be enabled in bitcoin.conf (server=1, rpcuser= and rpcpassword= settings).

which means you must have a `bitcoin.conf` file in the appropriate directory (`$HOME/.bitcoin/` on Linux unless you specified something else) which contains something like

```
server=1
rpcuser=digitrader21rpc
rpcpassword=jshdfvIu327840hfo8foUih24378786t5vlkjheroIJ98t-89t-!

```

> **Comments:**
> **username_3**: btw. would you know how to specify bitcoin.conf location? `/opt/bitcoin/bin/bitcoin-cli -conf=/bitcoind/conf/bitcoin.conf createwallet "btc-wallet1"` seems not working  

---

