> For the complete documentation index, see [llms.txt](https://docs.stacks.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stacks.co/tutorials/bitcoin-primer.md).

# Bitcoin Primer

- [Introduction](https://docs.stacks.co/tutorials/bitcoin-primer/introduction.md): An Intro to Building Full-Stack Dapps on Bitcoin | By Kenny Rogers
- [Why Build on Bitcoin?](https://docs.stacks.co/tutorials/bitcoin-primer/why-build-on-bitcoin.md)
- [Bitcoin Economy vs Ethereum Economy](https://docs.stacks.co/tutorials/bitcoin-primer/why-build-on-bitcoin/bitcoin-economy-vs-ethereum-economy.md)
- [Energy Usage](https://docs.stacks.co/tutorials/bitcoin-primer/why-build-on-bitcoin/energy-usage.md)
- [Technology & Economic Incentives](https://docs.stacks.co/tutorials/bitcoin-primer/why-build-on-bitcoin/technology-and-economic-incentives.md)
- [How to Build on Bitcoin](https://docs.stacks.co/tutorials/bitcoin-primer/why-build-on-bitcoin/how-to-build-on-bitcoin.md)
- [How Bitcoin Works](https://docs.stacks.co/tutorials/bitcoin-primer/how-bitcoin-works.md)
- [Introduction](https://docs.stacks.co/tutorials/bitcoin-primer/how-bitcoin-works/introduction.md)
- [Transactions](https://docs.stacks.co/tutorials/bitcoin-primer/how-bitcoin-works/transactions.md)
- [Blocks](https://docs.stacks.co/tutorials/bitcoin-primer/how-bitcoin-works/blocks.md)
- [Miners](https://docs.stacks.co/tutorials/bitcoin-primer/how-bitcoin-works/miners.md)
- [Addresses and Keys](https://docs.stacks.co/tutorials/bitcoin-primer/how-bitcoin-works/addresses-and-keys.md)
- [Blockchain](https://docs.stacks.co/tutorials/bitcoin-primer/how-bitcoin-works/blockchain.md)
- [Script](https://docs.stacks.co/tutorials/bitcoin-primer/how-bitcoin-works/script.md)
- [Updates & Forks](https://docs.stacks.co/tutorials/bitcoin-primer/how-bitcoin-works/updates-and-forks.md)
- [Bitcoin Development Basics](https://docs.stacks.co/tutorials/bitcoin-primer/bitcoin-development-basics.md)
- [Bitcoin Script Fundamentals](https://docs.stacks.co/tutorials/bitcoin-primer/bitcoin-development-basics/bitcoin-script-fundamentals.md)
- [Creating & Sending a Bitcoin Transaction](https://docs.stacks.co/tutorials/bitcoin-primer/bitcoin-development-basics/creating-and-sending-a-bitcoin-transaction.md)
- [Getting Started with Stacks](https://docs.stacks.co/tutorials/bitcoin-primer/getting-started-with-stacks.md)
- [Initial Setup](https://docs.stacks.co/tutorials/bitcoin-primer/getting-started-with-stacks/initial-setup.md)
- [Creating Our Project](https://docs.stacks.co/tutorials/bitcoin-primer/getting-started-with-stacks/creating-our-project.md)
- [The Stacks Stack](https://docs.stacks.co/tutorials/bitcoin-primer/getting-started-with-stacks/the-stacks-stack.md)
- [Anatomy of a Full-Stack Stacks App](https://docs.stacks.co/tutorials/bitcoin-primer/getting-started-with-stacks/anatomy-of-a-full-stack-stacks-app.md)
- [Stacks Development Fundamentals](https://docs.stacks.co/tutorials/bitcoin-primer/stacks-development-fundamentals.md)
- [Local Stacks Dev Workflow](https://docs.stacks.co/tutorials/bitcoin-primer/stacks-development-fundamentals/local-stacks-dev-workflow.md)
- [Working with Clarity](https://docs.stacks.co/tutorials/bitcoin-primer/stacks-development-fundamentals/working-with-clarity.md)
- [Testing Clarity Contracts](https://docs.stacks.co/tutorials/bitcoin-primer/stacks-development-fundamentals/testing-clarity-contracts.md)
- [Frontend with Stacks.js](https://docs.stacks.co/tutorials/bitcoin-primer/stacks-development-fundamentals/frontend-with-stacks.js.md)
- [Deploying Stacks Apps](https://docs.stacks.co/tutorials/bitcoin-primer/stacks-development-fundamentals/deploying-stacks-apps.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.stacks.co/tutorials/bitcoin-primer.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
