Seamless DevEx
Last updated
Last updated
Pylon enables us to have seamlessly composable transactions across chains within a Sync Zone. These seamlessly composable transactions enable us to provide a developer experience unlike any other. Your application contracts can literally be written as if they were on the same chain you are deployed under.
In order to provide this experience Pylon runs a node for the settlement chain you are deployed to as well as the sequencing node for your appchain and any other appchains in your Sync Zone. Pylon then detects whenever there is a transaction calling into another chain through a Port Contract. It forwards the call to the other chain and then injects the results back into the originating Port contract with a Priming Transaction that frontruns the original application call to ensure the data is available to complete the call.
Forwarding Proxy Contracts are used to take app calls and re-direct them to the Port Contract that will have the call results available for retrieval (since the Port contract is pre-populated with the necessary data as indicated above).
As a result, your app logic can be written as if it were on the same chain as the contracts you are attempting to call into: