Configuring the Generator
To install the application, download the following script in command:
curl https://raw.githubusercontent.com/quantum-sp8de/quantra-installer/master/install_qrandom.sh -o install_qrandom.sh
After the download is completed, you must issue the rights to execute the script
chmod 777 install_qrandom.sh
After setting the rights, you can call the script to get a background information
From the information received we can see that it is necessary to run the script from the root.
sudo ./install_qrandom.sh
After the launch, the types of roles will be displayedThe generator is the user who generates random numbers via its qrng chip. Selecting this role will result in to an installation of all dependencies.
./install_qrandom.sh -r generator
So firstly we will need to create a config within the quantra app, so type the command quantra -c config.conf -r qcicada
set a password to encrypt the key
enter the generator account name
enter quant token account name
enter quant random account name
enter url key guard service
enter transaction timer
enter limits (-1 - unlim)
enter path to QRNG chip
If done all correctly, should see encrypted random generated numbers sent to the smart contract of the chain. Should look like in below pic:
Last updated