Introduction
What is Router AI?
The Router AI is a layer 1 blockchain technology that leverages tendermint’s Byzantine Fault Tolerant (BFT) consensus engine. As a Proof of Stake (PoS) blockchain, the Router AI is primarily run by a network of validators with economic incentives to act honestly. The Router AI is built using the Cosmos SDK and encapsulates all the features of Cosmos, including fast block times, robust security mechanisms, and, most importantly, CosmWasm - a security-first smart contract platform. By leveraging the CosmWasm toolkit, developers can start building secure blockchain applications on the Router AI from scratch or port their existing applications to the Router AI with minimal overhead.
Router AI as an Interoperability Layer
In addition to its functionalities as a blockchain network, the Router AI provides an innovative solution to the problem of blockchain interoperability. Apart from validating state changes on the Router AI, validators running on the Router AI can also monitor state changes on other chains. Applications on the Router AI can write custom logic to trigger events in response to these external state changes. Additionally, applications on the Router AI can leverage a trustless network of relayers to update states on external chains. Simply put, the Router architecture allows contracts on one chain to interact with contracts on other chains in a secure and decentralized manner.
Communication via Router CrossTalk
Router's CrossTalk library is an extensible cross-chain framework that enables seamless state transitions across multiple chains. In simple terms, this library abstracts Router's functionalities to allow contracts on one chain to pass instructions to contracts deployed on some other chain. The library is structured in a way that it can be integrated seamlessly into your development environment to allow for cross-chain message passing without disturbing other parts of your product.
CrossTalk supports both stateful and stateless bridging:
For cross-chain dApps that require custom bridging logic between any two chains, developers can build and deploy middleware contracts on the Router AI. All cross-chain requests originating from the dApp's source chain contract will come to this middleware contract where some actions can be performed before they are forwarded to the intended destination chain.
For dApps that do not require any custom bridging logic or any data aggregation layer in the middle, no middleware contract is required.
Global Liquidity via Nitro
Nitro is a cross-chain swapping engine that allows for cross-chain asset transfers as well as cross-chain sequencing of asset transfers and arbitrary instruction transfers. Nitro has a whole development suite around it, which includes:
a widget that can be used by other projects to give their users an option to perform cross-chain transactions directly from their UI;
an API and a SDK that abstracts Nitro's backend capabilities for projects that want to use their own UI/platform for offering the cross-chain asset swap functionality;
most importantly, the sequencer library, which allows developers to build cross-chain applications that require both asset transfer and instruction transfer in a single cross-chain request.
Last updated