How we achieve cross-chain capability
Last updated
Last updated
We use the OpenIntent framework () to achieve cross-chain capability. For the hackathon, we created a custom contract and solver. For production-ready deployments, you should use .
The flow is as follows:
The user wants to send 0.1 ETH from Chain A to Chain B.
The user initiates a deposit transaction to the contract on Chain A, which locks 0.1 ETH.
The solver listens for the Deposit event emitted by the contract on Chain A.
The filler then initiates a withdrawal transaction to the contract on Chain B.
The withdrawal transaction sends 0.1 ETH to the recipient's address on Chain B.