Javelin
By utilizing Javelin, apps can aggregate liquidity across chains and enable composability across different instances of their dApp across chains. This provides a solution that is faster and atomic, providing a better user experience and better guarantees for dApp developers than any other solution on the market.
Atomic execution is the first step to enabling a cross-chain future that benefits both users and chains. By enabling this atomic execution, NodeKit is able to define a basic primitive that has the potential to be the cornerstone of cross-chain interactions.
There are two primary ways apps interact with Javelin.
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 chain 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 chain before the atomic execution of both transactions is guaranteed by Javelin.
Submit an atomic bundle where the user creates both transactions then submits an atomic bundle to a Javelin instance. The 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