# Edition

### Overview <a href="#overview" id="overview"></a>

The **Edition** guard is a special kind of guard. It is not used to charge the buyer, or verify conditions that they are allowed to mint. Instead the Edition guard determines which edition number a created Asset should have.

Determine the

edition number

Core Candy MachineOwner: Core Candy Machine Core ProgramCore Candy GuardOwner: Core Candy Guard ProgramGuardsedition- editionStartOffset...

Edition Counter PDA

Mint from

*Core Candy Guard*

Edition Number Control

Mint from

*Core Candy Machine*

Mint Logic

Asset

[React Flow](https://reactflow.dev/)

### Guard Settings <a href="#guard-settings" id="guard-settings"></a>

The Edition guard contains the following settings:

* **editionStartOffset**: The number where the edition number starts counting up.

Set up a Candy Machine using the Edition guard

JavaScript

```

create(umi, {
  // ...
  guards: {
    edition: { editionStartOffset: 0 },
  },
});
```

API References: [create](https://mpl-core-candy-machine.typedoc.metaplex.com/functions/create.html)

### Mint Settings <a href="#mint-settings" id="mint-settings"></a>

*The Edition guard does not need Mint Settings.*

### Route Instruction <a href="#route-instruction" id="route-instruction"></a>

*The Edition guard does not require a route instruction.*


---

# Agent Instructions: 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:

```
GET https://8bit-1.gitbook.io/solibrary/edition.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
