Advanced Decentralized Blockchain Platform Whitepaper ...

Advanced Decentralized Blockchain Platform Whitepaper Version: 2.0

TRON Protocol Version: 3.2

TRON Foundation December 10th, 2018, San Francisco

1. Introduction

4

1.1 Vision

4

1.2 Background

4

1.3 History

5

1.4 Terminology

6

Address/Wallet

6

ABI

6

API

6

Asset

6

Bandwidth Points (BP)

6

Block

6

Block Reward

6

Block Header

6

Cold Wallet

7

DApp

7

gRPC

7

Hot Wallet

7

JDK

7

KhaosDB

7

LevelDB

7

Merkle Root

7

Public Testnet (Shasta)

8

RPC

8

Scalability

8

SUN

8

Throughput

8

Timestamp

8

TKC

8

TRC-10

8

TRX

8

2. Architecture

9

2.1 Core

10

2.2 Storage

10

2.2.1 Blockchain Storage

10

2.2.2 State Storage

10

1

2.3 Application

10

2.4 Protocol

11

2.4.1 Protocol Buffers

11

2.4.2 HTTP

11

2.5 TRON Virtual Machine (TVM)

11

2.6 Decentralized Exchange (DEX)

11

2.7 Implementation

12

3. Consensus

13

3.1 Delegated Proof of Stake (DPoS)

13

4. Account

16

4.1 Types

16

4.2 Creation

16

4.3 Structure

16

5. Block

18

5.1 Block Header

18

5.1.1 Raw Data

18

5.1.2 Witness Signature

19

5.1.3 Block ID

19

5.2 Transaction

19

5.2.1 Signing

19

5.2.2 Bandwidth Model

19

5.2.3 Fee

20

5.2.4 Transaction as Proof of Stake (TaPoS)

20

5.2.5 Transaction Confirmation

21

5.2.6 Structure

21

6. TRON Virtual Machine (TVM)

23

6.1 Introduction

23

6.2 Workflow

23

6.3 Performance

25

6.3.1 Lightweight Architecture

25

6.3.2 Robust

25

6.3.3 High Compatibility

25

6.3.4 Low Cost

25

7. Smart Contract

26

7.1 Introduction

26

7.2 Energy Model

26

7.3 Deployment

27

2

7.4 Trigger Function

27

7.5 TRON Solidity

27

8. Token

28

8.1 TRC-10 Token

28

8.2 TRC-20 Token

28

8.3 Beyond

29

9. Governance

30

9.1 Super Representative

30

9.1.1 General

30

9.1.2 Election

30

9.1.3 Reward

30

a. Vote Reward

30

b. Block Reward

31

c. Reward Calculation

31

9.2 Committee

32

9.2.1 General

32

9.2.2 Dynamic Network Parameters

32

9.2.3 Create Proposal

36

9.2.4 Vote Proposal

36

9.2.5 Cancel Proposal

36

9.3 Structure

36

10. DApp Development

37

10.1 APIs

37

10.2 Networks

37

10.3 Tools

37

10.4 Resources

37

11. Conclusion

39

3

1. Introduction

1.1 Vision

TRON is an ambitious project dedicated to the establishment of a truly decentralized Internet and its infrastructure. The TRON Protocol, one of the largest blockchain-based operating systems in the world, offers public blockchain support of high throughput, high scalability, and high availability for all Decentralized Applications (DApps) in the TRON ecosystem. The July 2018 acquisition of BitTorrent further cemented TRON's leadership in pursuing a decentralized ecosystem.

1.2 Background

The introduction of Bitcoin in 2009 revolutionized society's perception of the traditional financial system in the wake of the Great Recession (2007-2008). As centralized hedge funds and banks collapsed from speculation in opaque financial derivatives, blockchain technology provided a transparent universal ledger from which anybody could glean transaction information. The transactions were cryptographically secured using a Proof of Work (PoW) consensus mechanism, thus preventing double spend issues. In late 2013, the Ethereum white paper proposed a network in which smart contracts and a Turing-complete Ethereum Virtual Machine (EVM) would allow developers to interact with the network through DApps. However, as transaction volumes in Bitcoin and Ethereum peaked in 2017, it was apparent from the low transaction throughput times and high transaction fees that cryptocurrencies like Bitcoin and Ethereum in their existing state were not scalable for widespread adoption. Thus, TRON was founded and envisioned as an innovative solution to these pressing scalability challenges.

4

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download