For the entire chain game industry, in addition to the digital assets in the game, all the logic of the game also occurs on the chain. This means that every state change of the game contract needs to be registered on the chain, and players need to sign transactions for every operation in the game. This is a very bad player experience for high-frequency operation games like RTS real-time strategy.
Session Key is a response solution to the inherent poor gaming experience of native encrypted games. It aims to use account abstraction and some clever innovations on Starknet to allow encrypted game players to sign transactions without frequent signatures for each operation. Today, Loot Realms has released the first implementation based on Session Key - Arcade Accounts. With the Arcade Account feature, players can securely store their keys in browser storage without signing every "attack" operation in each game, thus achieving a smoother player experience.
What exactly is an arcade account? What is the operating principle behind it? Before answering these questions, let's first understand what a session key is.
Session key is an idea jointly initiated by Briqs, Realms, and Topology teams at the Starknet hackathon over a year ago. The goal is to use account abstraction and some clever innovations on Starknet to solve the inherent poor experience of native encrypted games - players need to sign transactions for every operation in the game.
In the on-chain gaming scene, every operation in the game will trigger a wallet pop-up, and users need to confirm "Do you want to confirm this transaction?" There is also some content that most people cannot interpret, which may lead to errors, confusion, and even loss of money.
The session key is mainly designed to solve the problem of players in on-chain games needing to sign messages for each operation. It allows users to pre-approve interaction rules with specific Dapps, such as limiting the duration, maximum gas limit, maximum transaction volume of tokens, or specific functions of a particular contract.
In this way, players can interact freely within these limited rules without having to sign every transaction.
In other words, with a session key, players can enjoy the fun of Dapps while also ensuring that their assets are protected. This is because session keys limit what Dapps can and cannot do. This means that when playing games on the blockchain, you will not be bothered by endless confirmations, while also knowing that the most valuable assets in your wallet are secure.
Arcade Accounts is the first implementation of account abstraction for the Realms team on Starknet, which includes the implementation of session keys.
By using middleware with restricted permissions, Realms players are allowed to create new arcade accounts, which can greatly improve the user experience of on-chain games.

- Each Arcade account has a main account.
- Except for the main account, accounts of other levels cannot withdraw ETH/Tokens.
- Other accounts can only sign transactions unless they have been verified.
That is to say, the Arcade account currently has limited functionality, and these restrictions on permissions can minimize security risks. Even if the arcade account is exploited, attackers are powerless because the main account can extract all funds and create a new arcade account.
In addition, the unique "declaration contract" method of Starknet can reduce the cost of adding an Arcade account to around 20 cents.
In addition, Loot Realms also showcased an Arcade account in the lightweight game Loot Survivor, bringing an intuitive experience to gamers with "smooth in-game interaction experience without the need to sign every attack operation."
Without using an Arcade account, players need to sign every attack operation in the game with a message and wait for a long confirmation time. After adding an Arcade Account, users can securely store their keys in browser storage, eliminating the need for message signing and allowing for direct attack operations in the game.

Above are just some basic functions of implementing contracts as accounts. Loot Realms will next implement two advanced features: automatic recharge when ETH is insufficient and automatic transfer when tokens arrive in the account.
In fact, session keys are not exclusive to Starknet technology, and the Session Key function of the entire chain game is only one of the use cases unlocked by account abstraction. With the popularization and extension of account abstraction solutions, wallets will become more secure and easier to use, and the Web3 world will welcome more users.
Reference:
https://twitter.com/lordOfAFew/status/1687976673902538752
https://www.defidaonews.com/article/6773674
Welcome to join the official BlockBeats community:
Telegram Subscription Group: https://t.me/theblockbeats
Telegram Discussion Group: https://t.me/BlockBeats_App
Official Twitter Account: https://twitter.com/BlockBeatsAsia