Skip to content

Commit

Permalink
docs: add companion codebase page
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Jan 29, 2024
1 parent d2d42fb commit cf8ebf1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/getting-started/companion-code.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Companion Codebase

This book comes with a series of [code examples, one for each of the pages in the book]. You can run any of the examples from your command line like so:

```shell
cd companion-code/esplora
cargo run --bin esplora
```

Alternatively, if you have the [just] tool installed, you can use:
```shell
cd companion-code
just esplora
```

[code examples, one for each of the pages in the book]: https://github.com/bitcoindevkit/book-of-bdk/tree/master/companion-code
[just]: https://github.com/casey/just
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ nav:
- About: index.md
- Project Organization: getting-started/organization.md
- Getting Started: getting-started/getting-started.md
- Companion Codebase: getting-started/companion-code.md
- Book:
- Complete Examples:
- Electrum Wallet: book/electrum-wallet.md
Expand Down

0 comments on commit cf8ebf1

Please sign in to comment.