First steps after installation
Every Supplier has its own Blockchain wallet. The seed to this wallet should be included in the .env file.
A valid Supplier wallet needs to have the following properties:
Valid account script;
Data entries:
name: string
- name of the organisationdescription?: string
- optional - short description of the organisationtype: string = “supplier”
The setup process can be performed manually or by sending a POST request to the API endpoint named /utils/setup.
This endpoint will set up the account depending on sent parameters. Sending setScript will upload the script to the blockchain wallet.
IMPORTANT: Make sure the wallet has enough SkeyUSD to perform the transactions.
Available parameters and examples are available here:
https://dev.orange.api.smartkeyplatform.io/api_docs/#/utils/UtilsController_setup
Last updated