Layer 2 is one of the promising development directions in the crypto industry, which was a battlefield where all parties fight in the past year. The competition of various schemes emerging around the expansion of Ethereum and the respective teams of DeFi applications have made the popularity of this industry enduring for a long time.
Layer1 and Layer2
First of all, it should be clear that the concepts of Layer1 and Layer2 do not only refer to the Ethereum network. Meanwhile, the OSI model (Open System Interconnection Reference Model), which learned from the computer networks and communication system in the industry, has divided the blockchain logical architecture into three layers — Layer0, Layer1 and Layer2.
Layer can be explained by is its most common definition, that is, the so-called Layer1 and Layer2 are the first and second layers. Layer 0 corresponds to the underlying protocol of the OSI model, roughly including the physical layer, data link layer, network layer and transport layer. The first layer (Layer 1) roughly includes the data layer, the consensus layer and the incentive layer. The second layer (Layer 2) mainly includes the contract layer and the application layer.
Take the technical solutions of Ethereum Layer1 and Layer2 as an example:
Layer 2, also known as off-chain scaling, corresponds to Layer 1 (on-chain scaling). On-chain scaling is to modify the block size, consensus mechanism, etc. on the blockchain directly. For example, the Sharding of ETH 2.0 can improve the block generation efficiency of the network by modifying or optimizing the consensus network of the blockchain, thereby speeding up the block confirmation time and achieving the purpose of fast transaction chain. Layer 2 technical solutions is that under the premise that the functions of Layer 1 are simple, powerful and stable enough, some calculations and operations that were originally on Layer 1 will be done off-chain.
Since the upgrade progress of Ethereum 2.0 is difficult and the on-chain congestion is serious, more and more off-chain expansion schemes have emerged since 2018, which means the Layer 2 expansion scheme, which is similar to building a viaduct on a crowded road to relieve congestion.
However, in addition to extending the performance, Layer 2 can transfer more and more complex requirements to the off-chain, so that some functions that cannot be realized on the mainnet can be extended off-chain.
Layer 2 applications are inseparable from oracles
If it is divided according to the “OSI model”, oracles should be classified in Layer 0, which belongs to the data link layer and the transport layer. It is a bridge connecting the real world and the blockchain system, realizing the intercommunication of data and information between the two worlds, and is responsible for transmitting off- chain data and information to the chain. Almost all the popular Layer 2 projects in the current market, such as Synthetix, Polygon, Loopring, Aurora, etc., have chosen to access to oracles.
Connected with off-chain data and resources safely and reliably is particularly critical for developers on Layer2.
Especially for DeFi price data:
The lending market requires price data to issue loans and execute liquidations.
Algorithmic stablecoins require price data to stimulate rebase and rebalance to maintain pegs.
The synthetic asset protocol requires price data to mint, swap, redempt, and liquidate synthetic asset positions.
However, price data reflecting the weighted average price across all exchanges does not exist on-chain natively. Therefore, developers need additional oracle infrastructure to obtain external data and upload it on-chain, which will then be adopted by their smart contracts.
As the first decentralized oracle that supports wide-area node price feeding, ADAMoracle can provide smart contract developers with comprehensive tools and data, as well as a more secure and convenient overall solution for oracles so that can promote the development of lending, asset synthesis, and prediction markets and other rich business. In addition, the strong anti-attack performance of ADAMoracle can avoid market manipulators’ attacks effectively. Moreover, its powerful off-chain data information aggregation function can help Layer 2 applications perform off-chain calculations and reduce operating costs.
ADAMoracle achieved its first leap after launching the wide-area node network with its ecological token ADAM exceeded 8 dollars successfully, and the total project pledge value was close to 20 million dollars. In the future, ADAMoracle will also face the overall market and carry out long-term and all-round market expansion, including but not limited to the Layer2 ecosystem.