Methods of payment Abuse

Nillion. Installing the node

12.09.2024, 15:11

Nillion is a decentralized platform that uses a unique distributed data storage, processing and transmission technology known as NMC (Nillion Multicomputation).

It allows developers to create applications and services that utilize privacy enhancing technologies (PETs), such as secure multi-user computing (MPC), to perform computations on personal data without exposing it to other users or the network.

As part of the Nillion Verifier testnet, participants can install a Verifier node that allows them to become an officially recognized member of the network and earn rewards for performing computations. Installing Verifier is simple and takes a little time.

Quick installation of Nillion Node

You can use an automated script to install the node:

wget -q -O nillion.sh https://api.nodes.guru/nillion.sh && sudo chmod +x nillion.sh && ./nillion.sh

After running the script, follow the link provided to connect your wallet and add the test network nillion-chain-testnet-1. If the network is not displayed automatically, add it manually through the wallet settings.

Request for test tokens

Copy your wallet address and request test tokens from the faucet. After receiving the tokens, return to the site verifier.nillion.com, select "Verified - Set up for Linux" and proceed to step 5 (Initializing the accuser).

Accuser initialization

During the installation process, you will need the AccountId and PublicKey that were obtained earlier. Paste these data into the corresponding fields on the site and sign the transaction with your wallet.

Starting Accuser and registering

You must wait 30-60 minutes for the secret check to complete before continuing. After that, you can proceed to start the Accuser:

sudo docker run -d --name nillion -v $HOME/nillion/accuser:/var/tmp nillion/retailtoken-accuser:v1.0.0 accuse --rpc-endpoint "https://testnet-nillion-rpc.lavenderfive.com" --block-start $(curl -s https://testnet-nillion-rpc.lavenderfive.com/status | jq -r .result.sync_info.latest_block_height)

Checking the logs

To keep track of the node registration process:

sudo docker logs -f nillion --tail=50

To check if the node is registered:

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

Node management

To restart the node:

sudo docker restart nillion

To stop the node:

sudo docker stop nillion

To delete a node:

sudo docker rm -f nillion

Installing additional packages

You must upgrade your system and install Docker before installation:

sudo apt update && sudo apt upgrade -y
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin -y

Check the Docker version (at least 27.2.0):

docker --version

Launching and testing Accuser Image

After installing Docker, you need to download the Accuser image and initialize it:

docker pull nillion/retailtoken-accuser:v1.0.0
mkdir -p nillion/accuser
docker run -v ./nillion/accuser:/var/tmp nillion/retailtoken-accuser:v1.0.1 initialise

Copy the data obtained from the credentials.json file and save it in a safe place. You will need them when registering on the Verifier website.

Node update:

Stop and delete the docker

docker ps | grep nillion | awk '{print $1}' | xargs docker stop
docker ps -a | grep nillion | awk '{print $1}' | xargs docker rm

Install accuser:v1.0.1

docker pull nillion/retailtoken-accuser:v1.0.1

Was there some information missing?

Documentation from the developers, on working with node - available at the link: https://docs.nillion.com/