Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

starfrich/nillion-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

Nillion Verifier

Nillion recently launched their Verifier Program on August 27th! Early participants will be recognized for their contributions and gain a unique position within the Nillion community.

How to be verifier?

In this repository, I will guide you through the process of running the verifier on an Ubuntu VPS with root access. If you are not using root, add sudo in the first command.

Warning: This is not official documentation, and I do not recommend following this method as it might not be 100% accurate.

1. First, you need to install the Keplr Wallet on your browser. Do not create a wallet yet, as we will use a new wallet from the accuser credentials later.

2. Clone this repository for a quick installation:

git clone https://github.com/starfrich/nillion-tutorial.git && cd nillion-tutorial/ && chmod +x index.sh
./index.sh

3. You will see the output of your Nillion credentials like this:

image

Make sure to save the "Accuser Credentials" data in a safe place and ensure it is not visible to others.

4. Before proceeding, make sure no one is around you so they cannot see your accuser data! At this step, you will see your private key, which you need to import into the Keplr Wallet.

cat ~/nillion/accuser/credentials.json

The output will look like this:

image

5. Add the Nillion RPC to your Keplr Wallet here: https://chains.keplr.app/ and search for "Nillion".

image

Alternative RPC:

https://nillion-testnet-rpc.polkachu.com
https://nillion-testnet.rpc.decentrio.ventures

6. Fund your wallet using the faucet: https://faucet.testnet.nillion.com/

7. Open the verifier dashboard at: https://verifier.nillion.com/verifier, connect your wallet, and select "Verifier".

image

Then choose linux:

image

8. After that, click "Open Step 5" to register your verifier address and public key.

image

Then click "Complete Accuser Connection". You will see pop up to your keplr wallet, then click approve.

9. Now, proceed to Step 7 since we’ve already funded our wallet with the faucet. Go to: https://testnet.nillion.explorers.guru/account/(your_nillion_address) to check the first block your node registered in the transactions tab and look for type "Pay For".

image

For example, my node registered at block 5245527, but we need to start our block 5 blocks before that, so I will start from block 5245522.

cd ~
docker run -d --name nillion -v ./nillion/accuser:/var/tmp nillion/retailtoken-accuser:v1.0.0 accuse --rpc-endpoint "https://testnet-nillion-rpc.lavenderfive.com" --block-start 5245522

image

CLI Commands:

Check logs:

docker logs -f nillion --tail 50

Verify if your verifier is registered: true and stores some secret:

docker logs --tail=1000000 nillion | grep -A 2 Registered | tail -3

Known issue:

1. If the output from this command (docker logs --tail=1000000 nillion | grep -A 2 Registered | tail -3) is blank or empty: You might need to wait for 5-10 minutes.

2. Accuser not accusing:

docker restart nillion

3. RPC Error:

image

you can change your rpc to:

https://nillion-testnet-rpc.polkachu.com

First, you need to stop and remove your existing container:

docker stop nillion && docker rm nillion
sudo docker run -d --name nillion -v $HOME/nillion/accuser:/var/tmp nillion/retailtoken-accuser:v1.0.0 accuse --rpc-endpoint "https://nillion-testnet-rpc.polkachu.com" --block-start (your_latest_block)

Credit:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages