> 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/getting-started/quickstart.md).

# Quick start

**Time:** \~15 minutes

Integrate **@bloxchain/sdk** in a TypeScript project—not the hosted bloxchain.app UI.

## Prerequisites

* Node.js 18+
* RPC access to your target network
* A wallet or key for writes (never commit secrets)
* An deployed Account-style contract address

## 1. Install

```bash
npm install @bloxchain/sdk @bloxchain/contracts viem
```

Details: [Installation](/getting-started/installation.md). Pin versions to the same [Protocol release](https://github.com/PracticalParticle/Bloxchain-Protocol/releases) you deploy on-chain.

## 2. Connect clients

```typescript
import { createPublicClient, createWalletClient, http } from 'viem';
import { sepolia } from 'viem/chains';
import { privateKeyToAccount } from 'viem/accounts';

const publicClient = createPublicClient({
  chain: sepolia,
  transport: http(process.env.RPC_URL),
});

const account = privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`);
const walletClient = createWalletClient({
  account,
  chain: sepolia,
  transport: http(process.env.RPC_URL),
});
```

See [Authentication](/developers/sdk-authentication.md) for read-only vs write clients.

## 3. Read contract state

Use SDK wrappers for your Account address—see [Protocol getting started](/protocol/getting-started.md) for `SecureOwnable`, `RuntimeRBAC`, and `GuardController` client setup.

## 4. Submit one governed action

Follow a registered operation’s schema: request → (approve if required) → execute. Patterns: [Core patterns](/developers/sdk-core-patterns.md).

## Recommended reading order

1. [How this works](/introduction/operational-model.md) or [Core concepts](/introduction/protocol-basics.md)
2. [Installation](/getting-started/installation.md)
3. [Core patterns](/developers/sdk-core-patterns.md)
4. [Examples](/developers/sdk-examples.md)
5. [API reference](/protocol/api-reference.md)

## Next steps

* [Production readiness](/developers/production-readiness.md) — mainnet checklist for integrators
* [API reference](/protocol/api-reference.md)
* [Protocol deploy get started](/developers/deployment.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/getting-started/quickstart.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.
