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

# Masternode Mining

**Masternode setup**

{% embed url="<https://youtu.be/J4GW2_-ExsY>" %}
Masternode Setup
{% endembed %}

**Step by step**

Masternode can setup only from GUI wallets!

To run Masternode you need 7500 OJX in your wallet!

{% tabs %}
{% tab title="1. Genkey" %}
Open your OJX Coin Wallet and wait until the wallet fully synced with the blockchain.

1.Go to “Tools”.

2.Click “Debug console”. This is the console where you will execute all commands.

3.Create a masternode private key. Enter command: masternode genkey

Example output: 75eqvNfaEfkd3YTwQ3hMwyxL2BgNSrqHDgWc6jbUh4Gdtnro2Wo
{% endtab %}

{% tab title="2. Make MN Wallet" %}
1.Go to “Tools”.

2.Click “Debug console”. This is the console where you will execute all commands.

3.Get your collateral address. Enter command: getaccountaddress “MN1”

Example output: Nad4xtgdwf7c5y45ruy5MWtVY43zYMCvva
{% endtab %}

{% tab title="3. Output Key" %}
1.Go to “Tools”.

2.Click “Debug console”. This is the console where you will execute all commands.

3.Get your output key. Enter command: masternode outputs

Example output: “06e38868bb8f9958e34d5155437d009b72dff33fc28874c87fd42e51c0f74fdb” : “0”
{% endtab %}

{% tab title="4. Config" %}
1.Go to “Tools”.

2.Click “Open wallet configuration file”.

3.Paste this all:

\#----

rpcuser=user

rpcpassword=password

rpcallowip=127.0.0.1

\#----

listen=1

server=1

daemon=1

maxconnections=64

\#----

masternode=1

masternodeprivkey=paste there your gen key

externalip=127.0.0.1

masternodeaddr=127.0.0.1:23777

\#----
{% endtab %}

{% tab title="5. MN Config" %}
1.Go to “Tools”.

2.Click “Open masternode configuration file”.

3.Paste this all:

MN1 127.0.0.1:23777 enter-gen-key enteroutputkey
{% endtab %}

{% tab title="6. MN Start" %}
1.Make sure 7500 OJX sent to your MN1 Wallet and get at least 15 confirmation

2.Save files config and masternode config with all your genkey and output key

3.Close wallet and reopen then follow these steps:

* Go to “Tools”.
* Click “Debug console”. This is the console where you will execute all commands.
* Run masternode Enter command: masternode start
* Example output: Masternode successfully started
  {% endtab %}
  {% endtabs %}


---

# 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://oja.gitbook.io/oja-coin/oja-coin-mining/masternode-mining.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.
