API for Browser Games (EVM)
Browser-based games receive a number of advantages by being listed in HyperPlay.
- Greater distribution and discovery by web3 players
- Graphics card acceleration through WebGPU ensures that games perform well
- Games are opened in a full-screen view, making them feel more like native games
- Developers get access to the full-suite of tools, incentives, and features that HyperPlay ecosystem provides to game developers.
Integrating browser-based games is simple!
If your game is already compatible with MetaMask, either through window.ethereum or the MetaMask SDK, your game is already compatible with HyperPlay's wallet overlay. The HyperPlay application injects the player's wallet into browser pages much in the same way that a typical web browser running the MetaMask browser extension would. Any calls made to the wallet on your page will be relayed to the user's selected wallet.
If you're new to implementing MetaMask, we recommend starting with MetaMask's developer docs. There are multiple ways to integrate MetaMask, including both MetaMask's new SDK or utilizing a convenience library and window.ethereum directly.
To test your game, we recommend opening the HyperPlay desktop application, navigating to Library, and then Add Game. Here you can side-load the game and test for compatibility as if your game were already listed in the HyperPlay Store.
Once you're ready to list, reach out to the HyperPlay team via the Submit a Listing link on hyperplay.xyz. We'll get you connected to the HyperPlay developer portal so you'll be able to manage your listing. The whole process is quick and easy.