# Nillion Verifier

This is for education purposes. Treat everything you see here as Not Financial Advise. Proceed at your own risk.

Disclaimer:\
This guide is for those running Linux. Nillion verifier can be run on a VPS.

The instructions you see here is based from the official site: <https://verifier.nillion.com/verifier>. \
This is a companion guide when setting up your verifier.

<figure><img src="/files/aDO1UgE0cL9lgmDNQI9M" alt=""><figcaption></figcaption></figure>

Let's begin.

### Create a Nillion Wallet

Downlod Keplr wallet here: <https://www.keplr.app/>

Save your seed phrase and keep it secure. Do not share it with anyone else.

<figure><img src="/files/orsh1stRaFZcAxFerDoP" alt=""><figcaption></figcaption></figure>

Go to <https://verifier.nillion.com/verifier> then click on Verifier, to add the Nillion Testnet to your Keplr Wallet.

<figure><img src="/files/bjVR4gaoOcLZvtOmC9Z4" alt=""><figcaption></figcaption></figure>

Next, search for NIL then click on Manage.

<figure><img src="/files/pJ7s0UKtHe7UNMdmIO0E" alt=""><figcaption></figcaption></figure>

Put a check mark on NIL to add it to Keplr.

<figure><img src="/files/SLuz28ED7LYlqinJ4YY2" alt=""><figcaption></figcaption></figure>

You should now be able to see your NIL address.

<figure><img src="/files/V72fXjoAWPqbnwuEgSg1" alt=""><figcaption></figcaption></figure>

### Get NIL Tokens

Go to the [Nillion faucet](https://faucet.testnet.nillion.com/) to get some Testnet NIL tokens. Paste your address and complete the verification.

<figure><img src="/files/uS9UsWuTqkW8LRmXg5Dm" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/FC1MUsfZKcMRZQh87ivQ" alt=""><figcaption></figcaption></figure>

### Install Docker

Follow the steps here to install Docker on your machine. This guide is for Ubuntu 22.04. Check your OS version before you install Docker.

{% embed url="<https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04#step-1-installing-docker>" %}

Check if the install was successful. Run the following commands to check the version and to try and load a test docker image.

```
docker --version
```

```
docker container run --rm hello-world
```

<figure><img src="/files/nQ5UyQMc96dKTNVnqG1J" alt=""><figcaption></figcaption></figure>

### Prepare Accuser Image

Download the image.

```
docker pull nillion/retailtoken-accuser:v1.0.0
```

Create local storage folder.

```
mkdir -p nillion/accuser
```

Initialize the image.

```
docker run -v ./nillion/accuser:/var/tmp nillion/retailtoken-accuser:v1.0.0 initialise
```

This will generate an Account ID and Public Key. Take note of the following information.

<figure><img src="/files/JfyhhTBaAcI5UVW9Jwec" alt=""><figcaption></figcaption></figure>

### Accuser Registration

On the Verifier page at Step 5. "Initialising the accuser", paste the Account ID and Public Key. Approve the transaction with Keplr.

<figure><img src="/files/IV5T6asu1nnESB0BjNIH" alt=""><figcaption></figcaption></figure>

If you have done that correctly, you will see the following screen. You need to wait at least 20-30 minutes before you proceed to next step.

<figure><img src="/files/A25HdLGBsxFrLF8H3nLc" alt=""><figcaption></figcaption></figure>

#### While waiting, get some Testnet NIL tokens to the address generated by the Accuser. Follow the steps above to request for tokens. Do not skip this step.

### Run the Accuser

On Step 7, copy the command show.

<figure><img src="/files/LGsCqymQVgE7f3PKvQRD" alt=""><figcaption></figcaption></figure>

Paste that on your terminal to Run the Accuser. Once it is done syncing then you will see a similar screen as below.

<figure><img src="/files/R9zuSWLdhPMcnON7tJRi" alt=""><figcaption></figcaption></figure>

Take note of the prompts "Registered: true", this means that Verifier is fully synced.

If you do not see any increase in the number of Secret Stores Found and Challenges sent, then you need to do the following steps.

Stop the verifier by doing a CTRL + C. You might need to do this 3x to stop the program.

Next, run the following commands.

```
docker ps
```

Take note of your Container ID.

<figure><img src="/files/2UnN1RrEq3QUfui9liVb" alt=""><figcaption></figcaption></figure>

Run this command to restart it.

```
docker restart <Container ID>
```

Run the command:

```
sudo apt install jq
```

Finally, relaunch the Accuser with this command.

```
sudo docker run -v ./nillion/accuser:/var/tmp nillion/retailtoken-accuser:latest accuse --rpc-endpoint "https://nillion-testnet-rpc.polkachu.com" --block-start "$(curl -s https://nillion-testnet-rpc.polkachu.com/abci_info | jq -r '.result.response.last_block_height')"
```

After a few minutes, your Verifier should show some Secret Stores and Challenges sent.

<figure><img src="/files/ZC9voCYJAad0euQ69AAg" alt=""><figcaption></figcaption></figure>

Congratulations, you have succesffully launched a Nillion Verifier.<br>

Follow: <https://x.com/nillionnetwork>


---

# 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://node.z4ch.xyz/nodes-+-providers/nillion-verifier.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.
