I’m looking to build a fluid game-like experience deeply integrated with Sui but the more interactions there are the more the user has to sign transactions, and having a wallet pop up for every little thing is not ideal.
I think I recall seeing a tweet a while back demonstrating this but I don’t remember and I’m not sure the validity of it. Is it possible to submit/execute transactions to Sui this way such that the user doesn’t have to sign everytime?
And if so how is this done and what should I look into? Is it sponsored transactions that enable this kind of flow, or zkLogin, or something else or the combination of something?
1 Like
Hello,
An experience like this can be offered using zkLogin/Enoki, which allows transactions to be executed without triggering a “pop-up” until the maxEpoch
expiration is reached. Once this occurs, the user would need to re-login via their social account. For security reasons, it’s recommended to keep the maxEpoch
value low (e.g., around 2), although the upper limit can go up to 30.
If you’re seeking a fully abstracted Web3 experience, sponsoring can indeed handle gas payments on behalf of the user, providing a seamless onboarding process without the need for user-initiated on-ramping.
For game frameworks and languages, zkLogin isn’t natively supported. Depending on your platform, you may need to develop your app in something like React Native for mobile or port Mysten’s TS/Rust libraries into languages like C#, Java, or .NET. Alternatively, ecosystem projects could offer solutions, though many of these are not free. For web applications, direct integration with Mysten SDKs should work well.
I hope this information is helpful!
2 Likes