1.What is Trinity?
Trinity is an under-chain expansion solution of eco-NEO in smart economy bottom block chain. It aims to provide fast and private payment experience for NEO users through state channel technology, and solve the shortage of space resources in the block chain. At the same time, the idea of separating logical execution and verification of intelligent contracts is creatively put forward, which avoids the high cost of deployment of intelligent contracts on NEO, and clears the obstacles for the credit problem of intelligent contracts on the chain of state channels.
Trinity is a lightning network of NEO version, which is suitable for block chain transfer of NEP-5 standard tokens. It achieves real-time payment, low transaction cost, scalability and privacy protection of assets on NEO chain through state channel scheme.
Trinity aims to become the infrastructure of Neo's smart economy, bringing Neo users a faster and safer trading experience, and enabling more block chain applications. Trinity is a standard state channel network. Because it is deeply embedded in the underlying block chain, it simply uses the efficiency advantages of traditional centralized network to establish private payment channels between users, but ultimately still uses the underlying block chain as the balance settlement.
2.Trinity operation principle
In terms of projects, Trinity is an important infrastructure supporting NEO's intelligent economic ecology. Nowadays, there is no congestion in NEO. It has the highest transaction throughput capacity of the main network in the public chain, but this does not mean that it does not need expansion. Although NEO has its own on-line expansion scheme, the complex business logic of DAPP inevitably requires an under-chain expansion scheme such as state channel. Moreover, users are unwilling to sacrifice performance in exchange for many advantages of decentralization, so it is particularly important to improve performance value.
From an economic perspective, TNC (Trinity's Token) is the key to solving the problem of liquidity. At present, using Trinity network for direct channel payment is free, and the design of zero threshold lays the foundation for liquidity. Enterprises and individuals who deploy full-node routing channels can be rewarded by TNC to encourage more third parties to enter Trinity network as nodes, that is to say, to achieve the de-centralization of nodes.
From a technical point of view, the payment transport layer network based on kernel optimization makes the transaction more efficient and secure. While enhancing mobility, it also controls the access of nodes at the technical level, and implements dynamic routing strategy to avoid the single node becoming too large to become a centralized network.
The core of Trinity's value is the state channel network, which aims to benefit more users from the state channel, so as to facilitate the establishment of the whole micro-payment ecological habits. Users are free to use the state channel, i.e. they do not hold TNC, and they can also enjoy the basic state channel services provided by Trinity. However, in order to ensure the availability of the state channel, Trinity needs many participants to work together, so TNC can play an incentive and balance role.
The state channel provides Trinity with the most basic P2P state channel service. The establishment process of the state channel is that both sides of the transaction mortgage assets on the block chain, and establish intelligent contracts for subsequent off-chain transactions as credit endorsement. The transaction parties can conduct real-time transactions through the state channel service provided by the layer. The layer service is suitable for DAPP usage in scenarios such as C2C instant payment and personal high frequency data acquisition.
3.Trinity function implementation
Compared with other solutions of the same type, the demand is different because of the different ecological environment. Lightning Network is mainly responsible for the network of Bitcoin, and the main chain of Bitcoin does not carry such things as smart contracts.
In fact, Trinity and Raiden Network are comparatively similar, but Trinity will be relatively centralized in the initial stage. Because the location of the two basic chains is very similar, the expansion schemes of the main chain are similar. The logical and progressive steps and development routes are similar, even the challenges are similar. For example, how to solve the problem of consistency in multi-to-many state channels, the difference is that the execution strategies will be different.