This section describes the steps required for installing the TBSP development tools locally on your Mac OS machine.
After setting up your cluster, you can install the development tools and SDKs that enable communication with TBSP on Google Cloud Platform.
- a Git username and address
- an editor/IDE of your choice, such as Visual Studio
- JQ, a lightweight and flexible command-line JSON processor
- the Google Cloud Platform Software Development Kit (SDK)
- Kubernetes. (For more information, consult the Google Cloud website.)
Once these have been installed, install the following on your local development machine:
- the TBSP Development tools, a command line interface for basic platform operations, such as managing users or keys.
- the Smart Contracts CLI.
TBSP on Google Cloud contains the Digital Asset API, which enables the secure creation and transfer of non-divisible digital assets on a distributed network.
To install the development tools, the SDK and its samples, follow the steps below.
The installation of the development tools creates enables you to store keys, required for creating and transferring digital assets.
To append the required environment variable, run:
export NODE_PATH=$(npm root -g)
Open a new terminal window and check if the NODE_PATH has been set:
The output should be
Install the TBSP dev tools:
npm i -g git+https://gitlab.tymlez.com/sdk/ng-rt-dev-tools.git
Install the TBSP test dependencies:
A ~/.tymlez/config.json file will now be generated in your home folder.
npm i -g git+https://gitlab.tymlez.com/sdk/ng-rt-digitalAsset-sdk.git
git clone https://gitlab.tymlez.com/sdk/ng-rt-digitalasset-sdk-sample.git
Install the Smart Contracts CLI globally
You can execute smart contracts against your TBSP on Google Cloud instance in the command line with the Smart Contracts CLI tool.
Install the Smart Contracts CLI globally:
npm i -g git+https://gitlab.tymlez.com/sdk/ng-rt-smartContracts-cli.git
Next, run the different sample applications against your TBSP on Google Cloud instance.