> For the complete documentation index, see [llms.txt](https://efyria.gitbook.io/mercenaries-of-efyria/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://efyria.gitbook.io/mercenaries-of-efyria/actions/glorify.md).

# Glorify

> *The most devious, cruel, cunning mercenaries, the greatest traitors and even the most cowardly all these scoundrels have their* names *engraved in history.* \
> *But not on the monuments to the heroes ... no, but rather in the parish registers of the cemeteries or those of the tribunals and prisons.*\
> *So what name will your mercenary be known by?*

### What is the Glorify action?

The glorify action consists in giving a name to your mercenary. \
This one will be registered on the blockchain.\
The name can not be censored, but it is possible to change the name of a mercenary if you are the current owner.<br>

{% hint style="info" %}

### First time bonus !&#x20;

at the first naming the mercenary gets an immediate bonus of a free lend action ( 1, 2 or 3 according to the normal [Troupe and grande companie rules](/mercenaries-of-efyria/rules/troupe-and-grande-companie.md))
{% endhint %}

### How to Glorify a mercenary ?&#x20;

The best way is to use the web interface.

1. Connect your wallet
2. Go on the profile page of your mercenary
3. Click on Glorify
4. Check the requirements box, you need&#x20;
   1. At least 100 NCT ERC-20 token
   2. Allow the contract to spend your NCT
   3. Be the current owner of the mercenary.
5. Pick a name respecting the rules
6. Sign a transaction and voila.&#x20;

### Naming rules

A name :

* is 22 letters maximum
* with at least a size of 1
* without leading or trailing whitespace
* without 2 continuous whitespaces
* contain lowercase letters from a to z
* can contain numbers from 0 to 9
* must be unique

### Price & currency

To name your Mercenaries, you must pay a fee of **100 NCT**.\
This is an ERC-20 token from the [Hashmasks ecosystem](https://www.thehashmasks.com/nct).

It is important for us to create synergies between projects.\
NCT stand for : Name Change Token.\
As a token to name an NFT already exists, there is no need for another one.

You can claim NCT tokens for free if you have a [Hashmasks](https://www.thehashmasks.com/) or you can swap on Uniswap.\
Every Hashmask produce 10 NCT token per day. By Holding an Hashmask for 10 days you will be able to change the name of a mercenary.

### Allowance

In order to name or rename a mercenary you must pay a fee in NCT token which is an ERC-20 token. For the transaction to work, the mercenaries contract must be allowed to use your NCT tokens, this is commonly called an allowance, and is a standard process on Ethereum. \
\
You can allow the contract to spend only the amount of one naming action. This is a good practice because once your mercenary is named the contract has no further rights to your NCT tokens. \
\
However, if you plan to name more than one mercenary, then it is best to authorise a larger amount directly to avoid paying transaction fees each time. \
\
You can add allowance with the 2 buttons on the web interface. Allow only for one time or 100 times. If you prefer you can allow a custom amount directly by calling the contract.

### About offensive names

This is a thorny issue. But we decided not to police it.\
The naming contract is uncensorable, it's not possible to ban words or address.\
There is no way for us to apply any form of censorship to your decisions.\
\
**This is pure web3 in all its beauty.** \
**YOU keep control and ownership.**\
\
If you find an offensive name, feel free to recruit the mercenary and rename him.<br>

### Contract

Naming a mercenary involve 3 contracts.\
The NCT Token contract\
The mercenaries contract\
The ErgoSum contract \
\-- TODO -- add links to contract.


---

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

```
GET https://efyria.gitbook.io/mercenaries-of-efyria/actions/glorify.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.
