Sync Wallet across VMs
Purpose
To facilitate seamless interactions between blockchains operating on different types of Virtual Machines (VMs), Skate employs a central Wallet Registry at the Kernel level. This ensures that users can use various wallets across VMs while maintaining a consistent shared state. The AccountRegistry will be maintained by the Skate team, however the account states can be freely used by any Stateless app looking to deploy across supported VMs.
Interaction flow
The flow for syncing wallets is outlined as follows:
- Users initiate requests from different virtual machines (VMs).
- The intents are collected by the Skate Infrastructure, where they are matched through a 2-way handshake—users must prove ownership of both the VM1 and VM2 wallets to sync them.
- The executor submits the signature pairs to update the Wallet Registry on the Kernel.
The diagram below illustrates an example interaction between EVM, Solana, and TON. This flow can be generalized to support interactions across N-many VMs.
Sync Wallet between different VMs
How to sync wallets?
Coming soon…
How do we integrate this information in our Stateless apps?
Here are the key helper functions on AccountRegistry on Kernel to facilitate syncing wallets and retrieving wallet related information.
These functions will provide by the necessary account information needed to write custom logic tailored to the needs of your Stateless app.