A very simple guide to t3rn network
March 7th, 2023

T3RN enables cross chain smart contract executions. It provides for easy interoperability, fail safe transactions and composability. They recently secured a polkadot parachain slot

Easy interoperability

The challenge with many cross chain solutions is that you are dealing with multiple virtual machines, different execution and consensus etc.

T3rn enables developers to built smart contracts that are executable on multi blockchain easily like building smart contracts on Ethereum

It supports Solidity, ink and any language that compiles to WASM.

Fail safe transactions

In Ethereum and other networks, your transaction can fail, meaning you lose what you paid as gas as well as your transaction will not be processed.

Since T3rn transactions may span multi chains, it prevents this through the following

  • Transaction insurance : a validator must stake twice the amount that they are approving, in the case of dishonesty, the user will get part of the validator stake.

  • 3 stage execution : smart contracts on t3rn are composable, when they are uploaded, they are hosted on t3rn. A t3rn is divided into execute, revert and commit. Until a transaction gets to the commit stage successfully, it can be reverted. Meaning you can get your tokens and gas fee back.

Composability

T3rn enables composable generic code execution over multiple consensus systems.

As explained earlier when smart contracts are initiated for execution,t3rn stores the code in a contract registry, this registry holds the bytecodes for that smart contract, network participants that run offchain computations(Executors) can pick and run these transactions from the open market and later submit it back to the network, their contribution will then be verified by cross checking proofs with those with light clients.

These smart contracts are composable, meaning any developer can use them and the original authors of such contract can get rewarded whenever their contract is been reused.

Safe bridging

With t3rn 3 stage execution, assets can easily be bridged without any risk of hacks. It does not use token wrappers.

To bridge tokens from chain A to chain B, a user need only initiate such request on chain A, he will get his tokens lock on chain A and get same tokens on chain B.

Once a signal is given to commit such, you will get the tokens in chain B.

Network participants

**Build2Earn :**With t3rn’s Build2Earn model, developers can get rewarded whenever they contracts are been executed on the network

Smart contract users : TRN is needed to pay gas fees in the network

Executors : They are responsible for executing cross chain transactions(side effects), to do that they lock some tokens in a escrow account as insurance and after that, they may get to work.

Collators : They run full node for the network. New validators entering the network can easily sync up their node with data from collators. They earn TRN tokens for their work.

T3rn rangers : They have a simple job of listening to all transactions on a particular chain and providing such data whenever requested by t3rn. You can call them watchers if you may, they watch the network in question and relay relevant info.

T3rn attesters : Remember the seamless bridging we talked about earlier,attesters make it possible. They lock tokens(stake) so that they can give correct info about a transaction.

They not only say a transaction is true, they lock and put their own tokens under slashable conditions.

Whenever sufficient number of attesters, attest to a transaction on a chain,those on the other end of the other chain can comfortably carry on that transaction.

Token utility

The token will be used as gas for cross chain transactions, incentives for different network participants, rewards for developers whenever their code is been deployed and also as a governance token.

XCM? Now XBI

XCM enables seamless communication between chains built with substrate, XBI enables easy communication between chains built with different virtual machines. learn more about XBI

Other resources

Website | Blog | Twitter | Discord

Subscribe to Prcrypto
Receive the latest updates directly to your inbox.
Nft graphic
Mint this entry as an NFT to add it to your collection.
Verification
This entry has been permanently stored onchain and signed by its creator.
More from Prcrypto

Skeleton

Skeleton

Skeleton