> For the complete documentation index, see [llms.txt](https://plabs.gitbook.io/plabs-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plabs.gitbook.io/plabs-docs/guides/quick-start.md).

# Quick start

Run the reference implementation locally.

## Prerequisites

* **Foundry** (`forge`, `anvil`, `cast`)
* **Rust** stable + `cargo`
* **Node 18+** + **circom v2.x**
* (Optional) `privacy-indexer` + `privacy-relayer` sibling repos

## Fast path — fixture E2E (no local zkey)

```bash
git clone https://github.com/PERC20Labs/PERC20.git
cd PERC20
forge test --match-path test/PERC20E2E.t.sol
```

## Build contracts

```bash
forge build
forge test --gas-report --match-contract PERC20E2ETest
```

## Compile circuit (optional)

```bash
cd circuits
npm install
npm run compile:action
snarkjs r1cs info build/action/action.r1cs
```

## Web wallet (Docker Compose)

See root `README.md` and deployment docs for full stack.

## Full E2E

```bash
e2e/scripts/run_full_e2e.sh
```

## Next steps

| Goal               | Doc                                                      |
| ------------------ | -------------------------------------------------------- |
| Understand modules | [Privacy Core](/plabs-docs/privacy-core/overview.md)     |
| Issue a token      | [Issuer guide](/plabs-docs/guides/issuer-guide.md)       |
| Integrate wallet   | [Developer guide](/plabs-docs/guides/developer-guide.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://plabs.gitbook.io/plabs-docs/guides/quick-start.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.
