High-level overview of the functionalities of TBSP on the Google Cloud Platform

This section explains the different core concepts you need to understand in order to use the TBSP on Google Cloud.

TBSP core concepts

This section explains the different core concepts you need to understand in order to use the TBSP on Google Cloud.

Digital Assets

What is a Digital Asset?

Digital Assets are data that represent an object in the physical world.

For example, a car in the physical world can be represented by the following Digital Asset (a JSON object):

const digitalAssetData = {
serialNumber: '56288428682648929801',
type: 'car',
modelName: 'Trabant',
registrationYear: '1989',
colour: 'white',
numberOfDoors: '3',
fuelType: 'Diesel',
time: Date.now().toString()
};

In this case, this Digital Asset is used to claim ownership and control over a given value, the car.
A blockchain provides a new way to securely create, store and transfer such assets.

Ownership

All Digital Assets have an owner. Owners can be persons (users) or other entities (systems and devices).
Ownership is represented by a public and private key pair.

Digital Asset API

TBSP on Google Cloud uses the Digital Asset API, a set of functions which enables developers to interact with the Tymlez supported blockchain providers in an easy way.
Core functions of the API include:

  • Creating, reading and verifying digital asset transactions
  • Transfer of ownership of digital assets from one owner to another
  • Asset history (all transactions involving a specific asset)
  • Transaction history (all transactions involving an entity or user)

Transactions

Transactions are the fundamental building blocks of each blockchain. Whenever you work with digital assets or smart contracts, you create a transaction that is submitted to the blockchain.

For example, when you create a digital asset, a CREATE transaction is created and sent to the Blockchain.

Likewise, when you transfer a digital asset to another owner, a TRANSFER transaction is created and sent to the Blockchain.

Smart Contracts

What is a smart contract?

Smart contracts are pieces of code that digitally facilitate, verify or enforce the negotiation or performance of a function.

They enable transactions to be carried out between anonymous parties without the need of a third party or central authority.

TBSP on Google Cloud contains a number of sample smart contracts you can execute.

Data model

Consult the diagram below for an overview of the underlying data model of TBSP on Google Cloud Platform:

datamodel

Return to Getting Started