> For the complete documentation index, see [llms.txt](https://docs.fiammalabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fiammalabs.io/our-product-suite/bitvm-powered-zkp-verification-layer/developer-guides/run-a-fiamma-node/become-a-validator.md).

# Become a Validator

{% hint style="info" %}
On the current testnet, users who need to register as Fiamma validators must be approved before they are allowed to create one. If you wish to become a Fiamma validator, please follow [Fiamma's relevant announcements](https://x.com/Fiamma_Chain) or contact the [Fiamma team](mailto:undefined).
{% endhint %}

## Prerequisites[​](https://docs.babylonchain.io/docs/user-guides/btc-staking-testnet/become-validator#prerequisites) <a href="#prerequisites" id="prerequisites"></a>

Having a full [node setup ](/our-product-suite/bitvm-powered-zkp-verification-layer/developer-guides/run-a-fiamma-node/set-up-a-node.md)and synced by following this guide

You need to [register your validator ](/our-product-suite/bitvm-powered-zkp-verification-layer/developer-guides/run-a-fiamma-node/become-a-bitvm-staker.md)address as a bitvm staker, so that you can continue with the registration process.

## 1. Create a Keyring and Get Funds <a href="#id-1-create-a-keyring-and-get-funds" id="id-1-create-a-keyring-and-get-funds"></a>

The [Getting Testnet Tokens](/our-product-suite/bitvm-powered-zkp-verification-layer/developer-guides/run-a-fiamma-node/getting-testnet-tokens.md) page contains detailed instructions on how to create a keyring and get funds for it through a faucet.

## 2. Get Validator Pub Key <a href="#id-1-create-a-keyring-and-get-funds" id="id-1-create-a-keyring-and-get-funds"></a>

You can get the validator **pubkey** for the current node using the following command. You'll need to write it down. It will be needed next when creating the validator json file

<pre class="language-bash"><code class="lang-bash"><strong>fiammad tendermint show-validator
</strong></code></pre>

## 3. Get Node Moniker <a href="#id-1-create-a-keyring-and-get-funds" id="id-1-create-a-keyring-and-get-funds"></a>

You can get the node moniker for the current node using the following command. You'll need to write it down. It will be needed next when creating the validator json file

```bash
fiammad config get config moniker
```

## 4. Create A Validator Config File <a href="#id-1-create-a-keyring-and-get-funds" id="id-1-create-a-keyring-and-get-funds"></a>

You can modify the information of your validator as you wish, the following is just an example

You can find the **pubkey** by [Get Validator Key](#id-1-create-a-keyring-and-get-funds-1).

You can find the **moniker** by [Get Node Moniker](#id-1-create-a-keyring-and-get-funds-2)

```bash
cat << EOF > ~/.fiamma/config/validator.json
{
	"pubkey": {"@type":"/cosmos.crypto.ed25519.PubKey","key":"QiZohv1ATkoaiBvH3aKNryXIw5026xHZAWuqOuR0rWQ="},
	"amount": "1000000ufia",
	"moniker": "test-node",
	"commission-rate": "0.1",
	"commission-max-rate": "0.2",
	"commission-max-change-rate": "0.01",
	"min-self-delegation": "1"
}
EOF
```

## 5. Staking And Become A Validator <a href="#id-1-create-a-keyring-and-get-funds" id="id-1-create-a-keyring-and-get-funds"></a>

Now you can create a pledge transaction to complete the creation of the validator

```bash
fiammad tx staking create-validator ~/.fiamma/config/validator.json --from $KEYNAME --keyring-backend test --chain-id fiamma-testnet-1 --node "https://testnet-rpc.fiammachain.io/" --fees 2000ufia
```

## 6. Show Your Validator Addr <a href="#id-5-verify-your-validator" id="id-5-verify-your-validator"></a>

You can get your validator address with the following command

<pre class="language-bash"><code class="lang-bash"><strong>fiammad keys show $KEYNAME --keyring-backend test -a --bech val
</strong></code></pre>

where `$KEYNAME` is the name of the key that you used for the self-delegation (e.g. `my-key` on our example).&#x20;

## 7. Query Your Validator staking <a href="#id-5-verify-your-validator" id="id-5-verify-your-validator"></a>

Use the above command to get the validator address, then you can check if your validator is staking successfully

```bash
fiammad query staking validator $ADDR
```

If all goes well, you should see a response indicating the parameters that you specified on the create-validator transaction.


---

# 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.fiammalabs.io/our-product-suite/bitvm-powered-zkp-verification-layer/developer-guides/run-a-fiamma-node/become-a-validator.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.
