> For the complete documentation index, see [llms.txt](https://docs.bloxchain.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bloxchain.app/developers/deployment.md).

# Deployment

Use this guide when you deploy or extend **Account-pattern** contracts with the open-source Bloxchain Protocol.

**Mainnet:** Deploy only from a **tagged audited** [**Protocol release**](https://github.com/PracticalParticle/Bloxchain-Protocol/releases). Complete [Production readiness](/developers/production-readiness.md) before moving real value on-chain.

## Recommended order

1. [Core concepts](/introduction/protocol-basics.md) — behavioral model on-site
2. [Protocol overview](/introduction/what-is-bloxchain.md) — stack and [audit status](/security/audit-status.md)
3. On GitHub (authoritative commands):
   * [Repository README](https://github.com/PracticalParticle/Bloxchain-Protocol/blob/99beac2d6e6d7567c23b25cecaf6f4053f31c987/README.md) — compile, deploy foundation, `npm run create-wallet`
   * [Account pattern](/protocol/account-pattern.md) — composition of SecureOwnable, RuntimeRBAC, GuardController
   * [Protocol getting started](/protocol/getting-started.md) — initializer checklist
4. [Protocol specification](/protocol/protocol.md) — GitHub topic index
5. Configure policy before go-live: [Configure policy overview](/platform-bloxchain.app/overview-1.md) (app) or [Runtime RBAC](/protocol/runtime-rbac.md) / [Guard controller](/protocol/guard-controller.md)

## Quick tasks (GitHub)

| Task                             | Document                                                                                                                                             |
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| Dev setup and compile            | [README](https://github.com/PracticalParticle/Bloxchain-Protocol/blob/99beac2d6e6d7567c23b25cecaf6f4053f31c987/README.md)                            |
| Deploy foundation + CopyBlox     | [README — Deployment](https://github.com/PracticalParticle/Bloxchain-Protocol/blob/99beac2d6e6d7567c23b25cecaf6f4053f31c987/README.md)               |
| Create wallet clone              | `npm run create-wallet` in [README](https://github.com/PracticalParticle/Bloxchain-Protocol/blob/99beac2d6e6d7567c23b25cecaf6f4053f31c987/README.md) |
| Configure RBAC                   | [Runtime RBAC](/protocol/runtime-rbac.md)                                                                                                            |
| Register operations / allowlists | [Guard controller](/protocol/guard-controller.md)                                                                                                    |

Testnet: deploy on Sepolia, then operate via [bloxchain.app](/platform-bloxchain.app/start.md) or the [SDK](/getting-started/quickstart.md). See [Networks](/resources/glossary.md#networks).

## Immutable vs upgradeable

| Path                                 | Upgradeable?                                          | Who operates it                                       |
| ------------------------------------ | ----------------------------------------------------- | ----------------------------------------------------- |
| **Official CopyBlox / App Explorer** | **No** — EIP-1167 clone fixed to an implementation    | Tagged Protocol releases + official factory addresses |
| **Custom factory (your deploy)**     | **Optional** — UUPS / transparent proxy if you choose | Your team — proxy admin and upgrades are your risk    |

**Immutable clones:** bug fixes require a **new deployment** (new address), not an in-place upgrade. See [Migrating to a new contract](/platform-bloxchain.app/recovery.md#migrating-to-a-new-contract).

**Custom upgradeable proxies:** follow [Protocol getting started — proxy runbook](/protocol/getting-started.md#2-proxy-deploy-runbook-atomic-initialize); treat upgrade admin as tier-0 custody.

## Next steps

* [Production readiness](/developers/production-readiness.md)
* [Protocol specification](/protocol/protocol.md)
* [Open source](/resources/license.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.bloxchain.app/developers/deployment.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.
