On 30th August 2018, during the official launch of Tron Virtual Machine, Lucien, the CTO of Tron, gave more insight on the TVM.
Lucien displayed the relations between the application scenarios and technology calling of the developer tools. He also spoke about the relation between the tools and the Tron Virtual Machine. This, according to him, would give the developers a clear idea on how to use the tools to develop their own DApp.
The CTO of Tron said:
“Starting from today, Tron will open a new chapter of DApps. This is very exciting.”
The TVM FullNode is the core service node of the blockchain. All the applications such as the web games, apps, game engines, development and wallets will be connected to the FullNode. The FullNode will execute various transaction requests from different ends, process and will accordingly send back the results.
Developers can call the FullNode interface directly to meet their business commands if they are familiar with the Tron Network. Moreover, the developers can call the TronLink interface in order to finalize their business logic if they want to develop a web game.
The TVM also provides TronWeb which is encapsulated by the js through the FullNode interface. This would allow the developers to make use of the developed product. Along with this, TronBox helps the developers to visualize the deployment of their smart contract.
In the future, the Tron SDK can be used by the developers to develop a sizable game which is based on game engines or apps. They can also encapsulate on the mobile end in order to realize quick integration and business logic.
This was followed by the relation between the FullNode and the Tron Network which involves the calling logic of the TVM. This would enable the developers to develop high quality DApp in a short period and also have a deeper understanding of the execution of the entire Tron Network.
The two main types of transactions are:
- Normal Transaction
- Contract Transaction
The CTO explained that the contract transaction would cause the TVM to execution. When the transaction enters FullNode, the execution process would be divided into 4 steps. They are:
- The full node simulates the execution of every transaction to verify its legitimacy filtering out malicious transactions
- The full node broadcasts the transaction to determine Tron Network, which then packages the transaction and broadcasts it back to the full node
- Full node executes the real transaction and updates the database
- It will return to the caller
To which, Justin Sun, the Founder and CEO of Foundation said on Twitter:
“TRON CTO, Lucien demonstrated the relations between application scenarios and technology calling of the developer tools and the relations between the tools and TVM. Developers will clearly know how to use the tools, so that they can develop their own DApps more easily.”