> For the complete documentation index, see [llms.txt](https://ciferai.gitbook.io/nodevalidator/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ciferai.gitbook.io/nodevalidator/5.-register-your-validator-node.md).

# 5. Register your Validator Node

This section guides you through configuring and registering your Cifer Chain validator node.

## 5.1 Create a Validator Configuration File

* Prepare a JSON file named `mynodeconfig.json` (or any preferred name) to configure your validator.
* Replace `validator_address` and `pubkey` with the values you obtained from the [**"4.2 Obtain Your Validator Keys"**](https://ciferai.gitbook.io/nodevalidator/pages/quG2GPhBuc3t4Dultw22#id-4.2-obtain-your-validator-keys) section.

{% code title="mynodeconfig.json" overflow="wrap" %}

```json
{
"pubkey": {"@type":"/cosmos.crypto.secp256k1.PubKey","key":"....."},
"amount": "15000000ucif",
"moniker": "cifer-2",
"identity": "My Node", # Friendly name for your node
"website": "<your node url>", # Optional website URL for your node
"security": "<your e-mail>", # Your email for security contacts
"details": "My Validator", # Additional details about your validator
"commission-rate": "0.1", # Validator commission rate (percentage)
"commission-max-rate": "0.2", # Maximum allowed commission rate
"commission-max-change-rate": "0.01", # Maximum allowed change in commission rate
"min-self-delegation": "1" # Minimum stake delegated to your validator
}
```

{% endcode %}

## 5.2 Register your Validator Node

Run the following command, replacing `<path_to_mynodeconfig.json>` with the actual path to your JSON file and `<myvalidator>` with the name you used when creating the key from [**“4.1 Configure Your Validator Account”**](#id-3.1-configure-your-validator-account) section.

{% code overflow="wrap" %}

```bash
$ ciferd tx staking create-validator <path_to_mynodeconfig.json> --from myvalidator --chain-id cifer-2
```

{% endcode %}

The command will display the transaction details for your review. Look for a section similar to the following example:

{% code overflow="wrap" %}

```bash
auth_info:
  fee:
    amount: []
    gas_limit: "200000"
    granter: ""
    payer: ""
  signer_infos: []
  tip: null
body:
  extension_options: []
  memo: ""
  messages:
  - '@type': /cosmos.staking.v1beta1.MsgCreateValidator
    commission:
      max_change_rate: "0.010000000000000000"
      max_rate: "0.200000000000000000"
      rate: "0.100000000000000000"
    delegator_address: ""
    description:
      details: My Validator
      identity: My Node
      moniker: cifer-2
      security_contact: <your e-mail>
      website: <your node url>
    min_self_delegation: "1"
    pubkey:
      '@type': /cosmos.crypto.secp256k1.PubKey
      key: …
    validator_address: <your validator address>
    value:
      amount: "1000000"
      denom: ucif
  non_critical_extension_options: []
  timeout_height: "0"
signatures: []
confirm transaction before signing and broadcasting [y/N]: y
```

{% endcode %}

The command will prompt you to confirm the transaction. Enter `y` and press `Enter`.

Upon successful submission, you'll receive a transaction hash.

{% code overflow="wrap" %}

```bash
code: 0
codespace: ""
data: ""
events: []
gas_used: "0"
gas_wanted: "0"
height: "0"
info: ""
logs: []
raw_log: ""
timestamp: ""
tx: null
txhash: <your tx hash>
```

{% endcode %}

**Congratulations!** 🥳 You've registered your Cifer Validator Node.


---

# 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://ciferai.gitbook.io/nodevalidator/5.-register-your-validator-node.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.
