https://medium.com/starkware/starkex-3-0-now-live-on-mainnet-57174a5f8beb
13/06/2022 From Jul 27, 2021
StarkEx 3.0 is the latest release of StarkEx, StarkWare’s scalability engine. It is now live on Ethereum Mainnet, supporting seamless interaction flows with Ethereum L1.
For the first time, Ethereum smart contracts can be the owners of assets on StarkEx, and trade these assets via L1 Vaults with L2 users. This provides a low-cost mechanism for StarkEx (L2) users to interact with external logic (and liquidity) found on L1.
Why is this a novelty? Up until now, users had to choose: either participate in the scalable L2 environment or participate in L1 strategies — such as supply liquidity to an AMM or a yVault. Now users can do both; with the same funds and without having to pay for expensive deposits to L2 and withdrawals back to L1.
StarkEx L1 Vaults allow smart contracts to:
DeFi Pooling: DeFi strategy contracts can own an L1 Vault. This allows StarkEx users to easily and inexpensively participate in DeFi strategies, such as lending money on Aave/Compound, investing in YFI, etc. The cost to the user of participating in an L1 strategy is significantly lower in StarkEx than doing so directly from L1 — enabling small accounts the chance to participate for the first time. Find a deep dive explanation of this use case here.
We are currently building a DeFi-pooling platform, together with Celer.
dAMM: In the dAMM (decentralized-AMM) design, the Operator can deliver a scalable AMM operation on L2 while providing additional yields to LPs, thanks to the liquidity remaining on L1. Furthermore, a new feature of batch-long-flash-loans enables this without a liquidity requirement from the Operator.
You may ask: isn’t all this achievable on Optimistic Rollups as well?The week-long finality time of Optimistic Rollups prohibits a seamless interaction with L1. Thus, an owner of an L1 Vault is required to wait a week between their L1 declaration of intent until the trade with the L2 ecosystem is completed and confirmed. Yes, they can use Liquidity Providers to speed up the process, but at the cost of increased fees. In comparison, finality time in StarkEx is measured in hours and predicted to become even faster thanks to SHARP.
SHARP (SHARed Prover) collects batches from several StarkEx-powered applications before packing them into one proof. Thanks to SHARP, StarkEx offers significantly better gas usage per transaction and faster finality time, even for low bandwidth applications.
The first StarkEx release was deployed on Mainnet just over a year ago, and what a year it’s been! Prior to V3.0, StarkEx already supported transfers, spot-trading, conditional transfers, perpetual trading, and minting & trading of NFTs. We are already busy developing more features, including seamless onboarding and enhanced interoperability.
All this goodness can easily be ported to StarkNet, a permissionless decentralized ZK-Rollup. StarkNet Planets Alpha is already live on Ropsten — where it is being extended frequently (e.g., Alpha 1).
StarkEx 3.0 在主网上上线
主要特点:L1 Vaults & SHARP (SHARed Prover)
L1 Vaults:以太坊地址(特别是智能合约)现在可以通过拥有 L1 Vault 与 StarkEx 的用户进行交易——启用DeFi PoolingdAMM
和
(以前称为 Caspian)
新的批量长闪贷功能提高了运营商在 dAMM 流程中的资金效率
SHARP:针对多个独立 dApp的单一STARK 证明 => 为所有用户降低 gas/tx
StarkEx 3.0 是 StarkEx 的最新版本, StarkWare的可扩展性引擎。它现在在以太坊主网上运行,支持与以太坊 L1 的无缝交互流。
以太坊智能合约首次可以成为 StarkEx 上资产的所有者,并通过 L1 Vaults 与 L2 用户交易这些资产。这为 StarkEx(L2)用户与 L1 上的外部逻辑(和流动性)交互提供了一种低成本的机制。
为什么这是一个新奇事物?到目前为止,用户必须做出选择:要么参与可扩展的 L2 环境*,要么*参与 L1 策略——例如向 AMM 或 yVault 提供流动性。现在用户可以两者兼得;使用相同的资金,无需支付昂贵的 L2 存款和取款回 L1。
StarkEx L1 Vault 允许智能合约:
DeFi Pooling: DeFi 策略合约可以拥有一个 L1 Vault。这使 StarkEx 用户可以轻松且廉价地参与 DeFi 策略,例如在 Aave/Compound 上借钱、投资于 YFI 等。在 StarkEx 中,用户参与 L1 策略的成本明显低于直接从 L1 参与的成本— 让小账户第一次有机会参与。在此处查找此用例的深入解释。
我们目前正在与 Celer 一起构建一个 DeFi 池化平台。
**dAMM:**在dAMM(去中心化 AMM)设计中,由于 L1 上剩余的流动性,运营商可以在 L2 上提供可扩展的 AMM 操作,同时为 LP 提供额外收益。此外,批量长闪贷的新功能无需运营商的流动性要求即可实现这一点。
你可能会问:不是所有这些都可以在 Optimistic Rollups 上实现吗?Optimistic Rollups 为期一周的最终确定时间禁止与 L1 进行无缝交互。因此,L1 Vault 的所有者需要在其 L1 意向声明之间等待一周,直到与 L2 生态系统的交易完成并得到确认。是的,他们可以使用流动性提供者来加快流程,但代价是费用增加。相比之下,StarkEx 的最终确定时间以小时为单位,并且由于 SHARP,预计会变得更快。
SHARP(SHARed Prover)从几个 StarkEx 支持的应用程序中收集批次,然后将它们打包成一个证明。多亏了 SHARP,StarkEx 显着提高了每笔交易的 gas 使用率和更快的最终确定时间,即使对于低带宽应用程序也是如此。
一年多前,第一个 StarkEx 版本部署在主网上,这是多么棒的一年!在 V3.0 之前,StarkEx 已经支持转账、现货交易、条件转账、永续交易以及NFT 的铸造和交易。我们已经忙于开发更多功能,包括无缝入职和增强的互操作性。
所有这些优点都可以轻松移植到StarkNet,这是一个无需许可的去中心化 ZK-Rollup。StarkNet Planets Alpha已经在 Ropsten 上运行——它正在频繁扩展(例如,Alpha 1)。