# Gnosis setup

#### The guide below is for running a node on Gnosis chain only.

{% hint style="info" %}
As of February 2024, Gnosis chain is the only chain that supports delegated staking. Delegated staking is expected to come on NeuroWebAI shortly after.
{% endhint %}

## Step 1 - Add Gnosis Network to MetaMask

Begin by adding the Gnosis network to your Metamask extension by either connecting MetaMask to this [**link** ](https://chainlist.org/?search=gnosis)or manually

| Network name        | Gnosis                   |
| ------------------- | ------------------------ |
| **RPC URL**         | <https://1rpc.io/gnosis> |
| **Chain ID**        | 100                      |
| **Currency symbol** | XDAI                     |

Add xTRAC on MetaMask by importing the contract address below

```
0xEddd81E0792E764501AaE206EB432399a0268DB5
```

## Step 2 - Fund your wallet

Begin by obtaining xDAI for operations on Gnosis chain through their [**faucet**](https://www.gnosisfaucet.com/).

If you require more xDAI, you can use [**Jumper**](https://jumper.exchange/) to swap any assets to xDAI on Gnosis.

Gnosis is EVM compatible. Therefore, you can use your Ethereum wallet on MetaMask or Ledger for all operations.

If you want to delegate to your own node, bridge your ERC-20 TRAC from Ethereum to Gnosis by using the [**Omnibridge**](https://omnibridge.gnosischain.com/bridge).

{% hint style="info" %}
A node can be fully operational with delegated stake only as long as the total stake amount is 50k TRAC or above.
{% endhint %}

## Step 3 - Install your node

In order to deploy your OriginTrail V6 node on Gnosis, you will need a Linux (Ubuntu) server with the following minimum recommended hardware:

* **4GB RAM**
* **2CPUs**
* **50GB HDD space**

{% hint style="warning" %}
Log into the server as root. You **cannot** use sudo and run this script.
{% endhint %}

Gather the following information:

| Value                          | Description                                                                                                                             |
| ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
| EVM\_OPERATIONAL\_WALLET       | <p>Public address of your operational wallet<br>Example: MetaMask wallet</p>                                                            |
| EVM\_OPERATIONAL\_PRIVATE\_KEY | Private key of your operational wallet                                                                                                  |
| EVM\_MANAGEMENT\_WALLET        | <p>Public address of your management wallet<br>Example: Ledger wallet</p>                                                               |
| SHARES\_TOKEN\_NAME            | Your choice of token name                                                                                                               |
| SHARES\_TOKEN\_SYMBOL          | The token symbol of your token name                                                                                                     |
| Archival RPC Endpoint          | For a free Archival RPC Endpoint, try out [**BlockPi**](https://dashboard.blockpi.io/) or [**OnFinality**](https://app.onfinality.io/). |

**Run the one-liner installer script and select the appropriate prompts**

```
cd /root/ && curl -k -o installer.sh https://raw.githubusercontent.com/OriginTrail/ot-node/v6/develop/installer/installer.sh && chmod +x installer.sh && ./installer.sh
```

{% hint style="danger" %}
You must choose an SQL password for the installer to work. Do not leave that field empty.
{% endhint %}

{% hint style="info" %}
**Reminder**:

In order to use aliases to quickly check node logs, start/stop/restart node, change node config, you must execute the following script after the installation:

\
source \~/.bashrc

Once the sourcing is done, try the following:\
otnode-logs

otnode-start

otnode-stop

otnode-restart

otnode-config
{% endhint %}

#### You have now successfully completed your node installation! You can check the logs by using the alias otnode-logs.

## Step 4 - Set node ask

The default ask is set to 0.01 in the script below. Please change it to your desired ask price.

Find an rpcEndpoint by going to this [**link**](https://docs.gnosischain.com/tools/rpc/).&#x20;

```
npm -C /root/ot-node/current run set-ask -- --rpcEndpoint=https://<desired_rpc_endpoint> --ask=0.01 --privateKey=$(jq -r '.modules.blockchain.implementation.otp.config.evmOperationalWalletPrivateKey' /root/ot-node/.origintrail_noderc) --hubContractAddress=0x5fA7916c48Fe6D5F1738d12Ad234b78c90B4cAdA
```

## Step 5 - Add stake

Visit [**Houston**](https://houston.origintrail.io/login) **and connect your admin wallet. Head to Service Tokenomics and follow the on screen instructions to set up node operator fee, node ask and node stake!**

**You can then visit the**[ **staking dashboard**](https://dkg.origintrail.io/staking) to find your node.

Done!


---

# 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://tracdeepdive.gitbook.io/deepdive/guides/v6-mainnet-node-instructions/gnosis-setup.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.
