Setup JS Virtual Device
Last updated
Last updated
Please refer to the in the repo for further informations
Install these packages on your machine
Clone the aws-virtual-device-js repo:
cd to the project directory
Install the package
Download and install latest Litecoin testnet headers Database ()
Please assure this step has been done before starting the device
Set and export an environment variable with the information needed from the virtual device. This information was prepared by the UniquID CLI when you run the uniquid deploy aws
command. The information was stored on the file ~/aws_device_cfg.json
Run the command:
Check the correct setup with:
In the aws-virtual-device-js
directory, run the command
The virtual device will start to check for a contract with the UniquID Authorizer until you . When found, the device will start to try the connection to the AWS IoT. When the connection successful, device will start to publish on AWS IoT MQTT.