Original source: Opside Team
Opside is an innovative zkRollup-as-a-Service (Zk-Raas) platform that improves the performance, security, and scalability of decentralized applications (dApps) through its three-tier architecture design and zero-knowledge (ZK) technology. This article will provide developers with a comprehensive guide to building DApps on Opside.
Opside's Layer3, also known as the Rollup layer, is a scale-out solution where all transactions are executed down the chain, so there is no need to compete with the valuable execution layer for block space. Rollup allows scalability by moving expensive calculations up and down the chain while putting validation results up the chain. After the trade is executed, the trade data or proof is sent to the execution level for verification and finalization at the execution level. Therefore, the Rollup expansion solution is protected by the same security measures as the implementation layer, which provides the security guarantees for Rollup.
Zero-knowledge EVM (zkEVM) recreates the proof/verification circuit of the existing EVM opcode, enabling smart contracts to be executed in a ZK-friendly environment. Opside L3 uses multiple ZkevMs, which can effectively verify the correctness of program execution to meet the requirements of different DApps.
Specifically, Opside's Layer3 will include the following types of ZK-Rollup environments:
Common environment means that Opside will provide a common ZKRollup on Layer3 for regular users to interact with developers. To ensure a secure, stable, and reliable zkEVM Rollup environment for general use, Opside will work from two aspects:
1. Continue to pay attention to and study the current open source zkEVM projects in the market, including Polygon Hermez, Scroll, Taiko, etc. Opside will selectively integrate projects based on their characteristics and specific circumstances, such as the level of open source and code stability.
2. Opside also has a close relationship with ZKWasm, an extension framework under development designed to provide a friendly environment for applications from the traditional Webassembly community, including web, gaming, and social applications.
With regard to application-specific Rollup, Opside will provide a separate running environment for projects that need it through specialized configuration and optimization to meet their various performance and economic model requirements. Building on an application-specific zkRollup is similar to building on a generic Rollup, with the only difference being the use of unique RPC endpoint and contract information. Since zero-knowledge proofs still need to be committed to L2, these customized changes do not affect the security of such rollups. These rollups will need to register with Opside's native rollup slot and will enjoy additional features including cross-rollup communication and pre-compiled ZKP validation contracts.
Opside also plans to design and implement dedicated circuits for these application-specific rollups. The technical team will modify the underlying circuitry and opcode of the Rollup to better fit the operational logic of the application. This change will also significantly reduce the project side's operating overhead.
Developers can build dApps on Opside L3 and enjoy a high throughput, low cost environment without maintaining the infrastructure. Existing EVM-compatible applications can be easily migrated to Opside L3, and L1 developers familiar with Ethereum or other EVM-compatible applications can take full advantage of their existing resources for development and deployment.
1. ZK-RaaS. Opside offers a ZK-Rollup solution, while the other RaaS platforms offer Optimistic Rollup(OpStack). ZK-Rollup has advantages that opstack does not: more secure, more trustless, faster withdrawal speed.
2. The hardware is fully hosted. Opside's innovative PoS & PoW Hybrid consensus that the two hardware resources required by ZK-Rollup, data availability (analogous to hard disk) and zkp computing power (analogous to CPU), are provided centrally and without permission by PoS and PoW, respectively. Developers don't have to bear any hardware costs.
3. 0 gas fee. Based on Opside's innovative economic model, the developer covers the cost of ZK-Rollup by paying the rent for the rollup slots. Users don't have to pay any processing fees, or even have an Opside token, if the developer wants to, and can play with a USDC.
4. Fully on-chain. Games, financial derivatives and social networks can be fully on-chain thanks to low gas fee and high throughput. For example, a perpetual contract with all listing information on the chain will be more transparent to users, avoiding malicious practices such as warehouse penetration.
5. Multiple zkEVM SDKS are optional. We revamped multiple consensus layers of zkEVM (including Polygon zkEVM, scroll, zkSync, StarkNet, etc.), allowing developers to choose the SDK of zkEVM with no migration costs.
6. Sovereignty. The developer owns ZK-Rollup and can customize the rollup economy model, such as the 0 gas fee mentioned above. Developers are also free to specify their ZK-Rollup gas token.
7. Native cross-rollup communication. Rollups are natively interworking with each other in Opside. Based on the rollup card slot model, each ZK-Rollup will be managed by a unified system contract, and they will have the same interface specification and data structure, enabling native cross-rollup communication.
8. Be more decentralized. PoS & PoW Hybrid Consensus has a low threshold and ordinary users can participate in the consensus. Opside layer 2 uses ETH 2.0's PoS consensus and is expected to have over 100,000 Validators. As ETH2.0 shifts from PoW to PoS, the supply of miners' computing power is far greater than the demand, and Opside's PoW mechanism will attract more miners to devote their computing power to meaningful zkp computing.
Developers seeking to deploy DApps on the Opside L3 test network can communicate and connect directly through the Opside Official Discord. For more development information, please visit:https://docs.opside.network/developers/building-on-general-use-opside-zkrollup
This article is from submissions and does not represent the views of blockbeats
Welcome to join the official BlockBeats community:
Telegram Subscription Group: https://t.me/theblockbeats
Telegram Discussion Group: https://t.me/BlockBeats_App
Official Twitter Account: https://twitter.com/BlockBeatsAsia