Many FEAR games – unlike many others in the blockchain space – are single player orientated and play to earn payouts are the result of player vs machine. That means tracking a player’s movements as part of proof of solution and preventing bots is crucial to our games integrity.
However, blockchain does not lend itself as a natural platform for such expensive analytics and therefore at least part of this solution currently needs to be hosted in a backend, off chain process (although we have plans to decentralise this in the near future ;-))
This presents a unique challenge: How do you tie out proof of solution on a gamer’s behalf with on chain claiming?
This is where Muon’s unique computational layer comes in. As part of the Polygon and Binance Smart Chain (BSC) claim contracts (used in FEARs Clucking Hell game), a request to Muon can be made to verify a gamer’s payout.
Typically this would involve a lot of additional effort on FEAR’s side to write a custom integration from a Polygon/BSC contract to the FEAR backend but with Muon this changes into two simple steps outside and inside the claiming contract.
Example with Muon in action:
- A call is first made to Muon to verify a gamer has earnt the amount of FEAR they wish to claim – Muon nodes are ideally suited for this type of verification. Due to the nature of the Muon network naughty nodes are punished with costly fees, this helps ensure the integrity of the Muon network and the transactions it is verifying.
- Once the Muon nodes have verified (or not) a player’s claim a unique set of signatures are generated that can then be passed into the Claiming Contract.
- The Claiming Contract on Polygon/BSC then makes a further request to Muon with the signatures and the network responds.
This type of easy on and off chain integration has great potential to act as a bridge to many games that are looking to migrate over slowly to blockchain but cannot make the entire leap due to the suitability of blockchain to perform certain tasks.
However this is only the tip of what the Muon network is capable of. As you will see in the coming months it’ll be offering so much more with the promise of offering an alternative to the backend processes covered earlier in this article!