
DegenSaint 🚫🐂💩
993 posts

DegenSaint 🚫🐂💩
@DegenSaint
Degen Toonz, TOPIA, Space Riders, Creature World




📜 HYTOPIA Wallet (SCA) v1.0.0-alpha Release 📜 Today, we're releasing the codebase for what may be the most capable smart contract wallet (aka account abstraction) implementation to date. @pr0zy and @iamarkdev co-authored this implementation to meet a number of needs for @hytopia's long term vision. You can dive into the repository here: github.com/hytopia-game/w… ---- This SCA implementation boasts a number of features that are going to allow us to unlock an absolutely frictionless experience for players, extended payments functionality otherwise not possible with standard wallets today, permissioned sessions, and so much more. Let's dive into some of the exciting possibilities this unlocks for HYTOPIA. - Gasless relay or paymaster based interactions with any contract on the HYTOPIA chain. Target contracts do not need to implement any extra functionality to support this. In the past this was typically implemented with ERC2771. For players, this means never needing to worry about gas, tx submission, etc. - Seamless subscription payments for creators & developers that have offerings to their players under a subscription model. Creators & devs in the HYTOPIA ecosystem will be able to do things as simple assign subscription models to content or perks if they deem it necessary. Payments for subscriptions automatically deduct from the SCA wallet that opted into the subscription on a time-based or condition based schedule. - Frictionless account recovery using backup mechanisms tied to social logins, alternative recovery emails, and more. - Multisig by default. Multiple signers can be assigned to our implementation. Authority for any actions is determined using a weighted mechanism with a minimum required weight threshold. All signers depending on needs are assigned a determined weight, and the sum of weights of all signers for any given transaction or interaction must meet or exceed a weight threshold. This allows granular & multiparty administrative-like control of accounts for many, many use cases. - Permissioned calls where the player can grant access to calls of a specific function of another contract when certain conditions are met. One example of this could be that a player wants to schedule a 1-time payment to another player 60 days in the future. Once those 60 days have passed, either an automated system can execute on behalf of the call, or if they player set a condition where only the recipient can execute the 1-time call to get their payment, they can do that too. There are many, many possibilities with this system. - Permissioned sessions where 3rd parties or games/worlds within HYTOPIA can request autonomous access to very granular levels erc20/erc721/erc1155 holdings in order to enable systems where the player otherwise might not (or should not) need to take manual action. The permissioning system allows the player to grant explicitly defined contract functions & balance access to games or 3rd party applications in the ecosystem requesting a permissioned session. This could be useful for game mechanics like idle-farming and other use-cases where a player may not be around to take action or click to approve a transaction, but items/game currency for specific conditions may need to be accessed by the game mechanics. - Implements ERC1271 for signatures. - Implements many of the meaningful idea of ERC4337 - Fully upgradable, as we update or improve systems we can upgrade the underlying systems to unlock more wallet level interactions for players as the platform may need them. - Batched multicall & permissioned multicall support for efficiency and atomicity where multiple contract calls must all succeed or fail for specific execution cases. - And much more. This is probably the most bleeding edge implementation of a smart contract wallet system to date. It solves nearly all issues from a payments flexibility & player UX perspective for how it allows our systems to ultimately be implemented.

































