> For the complete documentation index, see [llms.txt](https://docs.sensei.win/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sensei.win/advanced-mev-features/katana-contract-looper/katana-v1-archived/katana-task-creation-and-execution.md).

# Katana Task Creation & Execution

## Task Creation

When you create a task from the mint bot, a katana symbol will pop up if it is contract mintable. In a nutshell, contract minting involves delegating access to multiple proxies (rather than using multiple wallets), and using these proxies to mint.

{% hint style="danger" %}
Not all contracts are Katana-able! We do our best to show users what is Katana-able. Katana requires a contract to be loopable. If a contract contains the following code, it is not loopable: `tx.origin == msg.sender`
{% endhint %}

<figure><img src="https://883624693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FP7UYZ0UffB9oMC5gwuyH%2Fuploads%2FC6sNX57w6lN1JN27zJiM%2Fimage.png?alt=media&amp;token=9fa0fe5a-b487-4d92-9705-11d0b26d253a" alt=""><figcaption></figcaption></figure>

You will have the option to:

* Select the `number of proxies` you wish to mint with. You can also select a preset number of proxies in the [settings](broken://pages/mPNwIe1jP8vGuy3mhWgM).
* Select the `execution type` \[standard, transfer, loop]. More information about this below.

This will create a Katana mint task. This wraps the original mint task, and is represented by the swords around the duplicated task. You can then start and execute as standard, just like in the regular mint bot.

<figure><img src="https://883624693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FP7UYZ0UffB9oMC5gwuyH%2Fuploads%2FFUktHOjfoiOvTWRo8VMe%2Fimage.png?alt=media&amp;token=024d656f-7368-4325-9776-2e7335754989" alt=""><figcaption></figcaption></figure>

In the wallets column, you will notice that it shows the `number of proxies` and `execute type` selected. It also **automatically** selects for the wallet whitelisted for Katana, to make your life easier.

{% hint style="info" %}
Contract minting benefits from gas savings due to not needing to pay a fixed gas unit fee (about 21K gas units) for every transaction. By looping multiple proxy transactions into one big transaction, users not only save gas. Not only that, overall transaction aggregates ALL of the gas used by the proxies, increasing the probability of the transaction being mined in the next block.
{% endhint %}

{% hint style="danger" %}
Use Katana with caution. You can burn a LOT of gas if you are not careful.
{% endhint %}

## Execution Types

### `Standard`

Mints using all of your proxies WITHOUT transfer of NFTs to a designated wallet. You can then manually transfer out the NFTs at a latter date, preferably when gas is cheaper.

### `Transfer`

Mints using all of your proxies WITH transfer of NFTs to a designated wallet.

### `Loop`

Mints using only ONE proxy, transfers the NFT out to a designated wallet, and repeats this loop multiple amount of times.

## Designated Wallet

You can choose a designated wallet in [settings](broken://pages/mPNwIe1jP8vGuy3mhWgM).
