Random purchase
Please install quantrapy with steps below before purchase if you have not installed the generator before.
IMPORTANT only for Testnet: QRNG tokens are required to buy randoms. They can be obtained via faucet service
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.shAfter the download is completed, you must issue the rights to execute the script
chmod 777 install_qrandom.shAfter setting the rights, you can call the script
sudo ./install_qrandom.sh -r userAfter installation you can start buying random
Save your private key to a text file that will be used by quantrapy later
cd ~
echo "Private key: <PRIVATE KEY>" > user_pk.keyAfter saving the key, to purchase a random item you need to run the command:
quantrapy --url <NODE ADDRESS> random -c quant.random -t quant.token buyrandom -k ~/user_pk.key <account name>Example result:

If you are a validator node in the sp8de network, you can also purchase random by running 2 commands through cleos:
Example result:

Last updated