Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove rpc credentials and add link #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Credit [Notmandatory](https://github.com/notmandatory/) and the [BDK team](https
alias rt-start='docker run -d --rm -p 127.0.0.1:18443-18444:18443-18444/tcp -p 127.0.0.1:60401:60401/tcp --name electrs bitcoindevkit/electrs'
alias rt-stop='docker kill electrs'
alias rt-logs='docker container logs electrs'
alias rt-cli='docker exec -it electrs /root/bitcoin-cli -regtest -rpcuser=admin -rpcpassword=passw $@'
alias rt-cli='docker exec -it electrs /root/bitcoin-cli -regtest $@'
```

#### 3. Use REGTEST aliases to start container, view logs, run cli command, stop container
Expand All @@ -26,7 +26,7 @@ rt-cli getnewaddress
rt-stop
```

#### 4. Jump straight to chapter 3.2 of `Learning Bitcoin from the Commandline`
#### 4. Jump straight to chapter 3.2 of [`Learning Bitcoin from the Commandline`](https://github.com/BlockchainCommons/Learning-Bitcoin-from-the-Command-Line/blob/master/03_2_Knowing_Your_Bitcoin_Setup.md)
Replace all instances of `bitcoin-cli` with `rt-cli`. For example:

```
Expand Down