L2 Games and On-Boarding Flow
This is some loose thinking about how to securely bridge assets from L1 to a L2 for a blockchain game. See Dark Forest game as a reference.
The user experience flow should work like this:
- To create an account, the user is prompted with a unique private "serial key" and must copy it safely.
- The user can use this key to initialize a game account along with a payment of, say, $5 USD.
- Then the user can open the game interface, paste their serial key, and they will see their account has been pre-allocated with $5 USD worth tokens. These tokens can be used for gas fees (to cover the first ~100-1000 transactions depending on L2 network) or to pay for gameplay elements such as expansions and user-created content.
- When the user is finished playing, they can withdraw any remaining tokens from the game back to their L1 address—including any new assets or verifiable achievements they might have gained through their gameplay.