Wormhole, a core partner of Pike, plays a pivotal role in enabling cross-chain communication between the Pike Hub and Spokes. One primary function involves validating user assets on Hub and Spokes, ensuring their suitability as collateral for borrowing on other chains. Additionally, it enables cross-chain liquidations, enhancing the security and efficiency of Pike's operations.
How Wormhole enables cross-chain borrowing on Pike
Below is an illustrated example of how messages flow when a user borrows USDC on the Optimism Blockchain. Note that assets are not wrapped or transferred across blockchains. Instead, Wormhole only relays the users' request to Optimism.
The Wormhole Guardian set, consisting of 19 Guardians, serves as validators that attest to messages on connected chains. When a supermajority (2/3) of the Guardians sign a message, it produces a Verifiable Action Approval (VAA), which contains the user's message and the Guardian signatures. This VAA is then sent to the destination chain to authorize the intended actions.