> ## Documentation Index
> Fetch the complete documentation index at: https://armory.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Create

> Scaffold server and client payment projects

`armory create` scaffolds starter projects for payment-enabled servers and clients.

## Syntax

```bash theme={null}
armory create <template> <name>
```

## Templates

Server templates:

* `bun-server`
* `elysia-server`
* `express-server`
* `hono-server`
* `next-server`

Client templates:

* `viem-client`
* `ethers-client`
* `web3-client`

## Example: Bun Merchant + Viem Client

```bash theme={null}
armory create bun-server merchant-api
cd merchant-api
bun install
bun run dev

cd ..
armory create viem-client buyer-app
cd buyer-app
bun install
PRIVATE_KEY=0xYOUR_PRIVATE_KEY bun run dev
```

## Example: Next.js Protected Routes

```bash theme={null}
armory create next-server paywalled-next
cd paywalled-next
bun install
bun run dev
```

After scaffold, configure `payTo`, token, and chain in the generated middleware config.
