I'm building a Chess platform on Telegram MiniApp and in the browser as well. However, I have a question I would love to ask:
I was looking for Gasless Transactions (developers sponsoring gas fees for users) to interact with the platform, and I found an article stating that Circle has supported it https://www.circle.com/blog/how-circles-gas-station-uses-fee-payers-to-enable-gasless-transactions-on-solana.
Since I'm planning to build an on-chain Chess game, does it require users to sign a message for every move they make?
I would like to cover all the gas fees, send the moves to the blockchain, and have users not need to sign any messages to execute their transactions.
Here are the flows:
- Player A and B starts on-chain match (when users press "Play Game" button, the system automatically pay the gas fee when both players are matched)
- Play A and B makes their first moves (moves record > send to blockchain)
- Both users perspective won't see anything, just like a normal game like off-chain game (because all the moves have fee covered by dev)
- Finish the game (A checkmated B) -> it sends status of the match to the blockchain and update both users elo.
That's what I am expected when doing this project on Solana. I have coded something like this on EVM and hope Solana can support a method like this.