Installation via Docker
Prerequisites:
any x86_64 Linux OS with Podman or Docker installed
Installation
Run in your host console on behalf of user the following command:
curl -s https://raw.githubusercontent.com/quantum-sp8de/quantra-installer/master/docker/install_quantra_docker.sh | bash -s
Device registration
In case you are running first time, before running main dquantra console application, it is required to register you device. Run dquantra-registration script to do that, for example:
dquantra-registration -d /dev/ttyUSB0 -s <URL>
where
-d - path to USB device in Linux host with Docker (usb-inserted)
-s- url of registration server
After registering the device, register the new generator in the network.
First run and random generation
To start generating randoms, run dquantra application in your console:
dquantra
If you have not configured the application before or do not have configuration file in quantra configuration directory ( ~/.quantra/) yet, dquantra will ask you to input configurations on startup. First time you have to input the following configurations:
application password - enter any password than will be used for consequent dquantra runs
account - your user account name in blockchain
blockchain url - the url of blockchain
private key - private key of account to operate
Further dquantra runs will use this saved configuration from ~/.quantra/quantra.yaml. Only application password will be prompt, which must match the one entered on first run.
See help and descriptions for additional options of dquantra:
dquantra --help
Notes:
If you have error during installation of quantra via docker (dquantra) like the following one
permission denied while trying to connect to the Docker daemon socket
do not forget to add user to docker group and re-login with that user:
sudo usermod -aG docker ${USER}
Last updated