Javelin

By utilizing Javelin, dApps can aggregate liquidity across rollups and enable synchronous composability across different instances of their dApp across chains. This provides a solution that is faster, synchronous, and atomic, providing a better user experience and better guarantees for dApp developers than any other solution on the market.

  • Intents

    • By utilizing the synchronous composability of NodeKit, solvers can now build super solvers to fulfill cross-chain intents.

  • DEX/Yield Aggregation

    • Cross-chain composability dramatically decreases liquidity fragmentation across rollups, allowing for a better trading experience.

  • Oracles

    • An oracle rollup developed on top of a composability layer allows for better distribution for the oracle without leaking revenue to large bridging providers. Oracles therefore internalize some of the cross-rollup revenue without requiring complex infrastructure to be set up and maintained.

  • Lending

    • Cross-Chain lending allows for higher capital utilization and a greater TAM for lending markets, enabling them to grow faster.

  • Margin

    • Capital efficiency can be improved by borrowing against assets on one chain and utilizing the leverage on another. Primitives like flash loans become possible across chains.

  • Fast Path for Proof Aggregation

    • Proof aggregation solutions can be used to add additional security to synchronous cross-chain transactions.

Atomic execution is the first step to enabling a cross-rollup future that benefits both users and rollups. By enabling this atomic execution, NodeKit is able to define a basic primitive that has the potential to be the cornerstone of cross-rollup interactions.

There are two primary ways dApps interact with Javelin.

  1. Allow the builder to generate the second transaction for when a user wants to use a bridge like Hyperlane. The user signs the first transaction, allowing the builder to sign the second transaction and the bundle to guarantee both of the transactions atomically execute on each rollup involved in the bundle.

  • To enable this functionality, NodeKit leverages Hyperlane’s permissionless interoperability. A customized client of Hyperlane’s off-chain software is used to check that the first transaction is valid in the Hyperlane system and create the second transaction for the destination rollup before the atomic execution of both transactions is guaranteed by Javelin.

  1. Submit an atomic bundle where the user creates both transactions then submits an atomic bundle to a Javelin instance. Our bundle standard and API standard is inspired by the Flashbots standard [1] to make it easier for developers to build tooling. These standards are subject to change.

1 https://docs.flashbots.net/flashbots-auction/advanced/rpc-endpoint

Last updated