# Heavyweight Integration (Multi-Chain Derivatives & Spot Exchange)

> 💡 A case study of ZKEX 3.0: a multi-chain derivatives & spot exchange with a unified account

The graphic below outlines how to integrate zkLink functional components in a decentralized way. This highly flexible integration model enhances dApps’ business customizability and autonomous cost management.

![ZKEX 3.0 Integration](https://3769499472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6MmO5lFN4McSMz0tzyOs%2Fuploads%2Fgit-blob-afcbd99dcdffdc92005e5de5d545301cfe22c83e%2Fzkex3integration.png?alt=media\&token=847f5255-a25a-4bd4-b384-12091d479fdd)

## Integration Features

* Autonomous account state-tree maintenance and on-chain event monitoring, eliminating the dependence on third-party services and ensuring stronger business reliability
* Independent transaction ordering and block generation logic defined according to specific business logic
* Autonomous data commitment to the Data Availability Layer (DA): The gas fees of on-chain data commitment are directly paid by the dApps, enabling proactive management of network operational costs

## Functions of ZKEX 3.0 Integration

* High-performing order matching of spot and derivatives
* High-performing risk engine for perpetual contracts
* Unified accounts for perpetual contracts and spot trading for better UX and higher capital efficiency
* Cross-margin for perpetual contracts
