# Registering Your Node as Validator

In order to be eligible to become a Validator, you have to have at least 10k PI in the Validator Node address.

You can apply to become a Candidate at any time between 0% and 75% of the Epoch.&#x20;

| EPOCH Phase | Operation                       |
| ----------- | ------------------------------- |
| 0%\~75%     | applyCandidate, cancelCandidate |
| 75%\~100%   | Prohibit Operation              |

You can do this through either the RPC or the Javascript console. The process using the console will be shown here.&#x20;

## Constructing and Submitting Application Transaction

applyCandidate By RPC [del\_applyCandidate](https://github.com/pchain-org/pchain/wiki/JSON-RPC#del_applycandidate)

applyCandidate By IPC [del.applyCandidate](https://github.com/pchain-org/pweb3/wiki/JavaScript-API#web3delapplycandidate)

Navigate into your `pchain` directory:

```
cd ~/pchain
```

Then open the console with:

```
~/pchain/bin/pchain attach ~/pchain/.pchain/pchain/pchain.ipc
```

Once this opens, we will begin constructing the transaction variables:

{% hint style="info" %}
If your account is locked, you will need to first unlock it using&#x20;

```
personal.unlockAccount(address, "password", 300)
```

{% endhint %}

```
var from = "0xB3544059698177F14968D29A25AFD0D6D65F4534";
var securityDeposit = "0x21e19e0c9bab2400000";
var commission = 10;
var gasPrice = null:
```

where:&#x20;

* `from` is your address
* `securityDeposit` is 10,000 in wei and converted into hex
* `commission` is the percentage you wish to take from the rewards of those that delegate to you
* `gasPrice` is set to default

Each one of these will return **`undefined`**

Now that we have defined each of the variables, we will send the full application transaction using:

```
web3.del.applyCandidate(from,securityDeposit,commission,gasPrice);
```

Which will return a transaction has if successful:

```
web3.del.applyCandidate(from,securityDeposit,commission,gasPrice);
0xab258f6c0d3cbcf1e8b2735033045147e23db1577917cc6f0c95ee9747aaffcf
```

You can check transaction status By [getTransactionReceipt](https://github.com/pchain-org/pweb3/wiki/JavaScript-API#web3ethgettransactionreceipt)

**Once this is complete,** please go to [Join Candidate List](https://pchain.org/joinCandidate) to submit your introduction. Once your submission has been validated, you will be publicly listed on Recommended Candidates on PIWallet. Detailed information increases your chances of convincing Delegators to support your candidacy.


---

# 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://pliangroup.gitbook.io/plian/master/using-the-blockchain/validator-node-guides/registering.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.
