Skip to content

Build Web3 Games on Moonbeam with MetaFab's Developer Toolkit

Introduction

Build frictionless blockchain games with MetaFab’s API, the free, end-to-end, self-serve solution for games and gamified apps to integrate robust blockchain infrastructure in minutes, not months.

MetaFab on Moonbeam

Game developers within the Moonbeam ecosystem can use MetaFab’s API and dashboard with SDKs for Unity, Unreal Engine, and other top programming languages to integrate frictionless blockchain systems for free, without any blockchain or Web3 development.

Note on player UX: Players don’t care about the technology, which is why MetaFab allows developers to bury the wires of Web3 as deep under the game's surface as they choose.

It's imperative for the experience of any game or gamified application to be as frictionless as possible for players or users. MetaFab holds this principle at the core of every tool or product created.

Note to developers: MetaFab is a team of game developers that scaled their Web3 games platform to 100,000 players through single sign-on (SSO) player authentication, non-custodial wallets, an abstracted gas and transactional layer, and more. MetaFab adds, improves, and continually innovates around the needs of game developers and prioritizes simple but flexible integration and usage patterns.

This guide will dive into the MetaFab product suite at a high level.

MetaFab's Language & Framework SDKs

MetaFab offers a handful of SDKs for popular languages and frameworks. These SDKs are generated through MetaFab's internal systems to match their OpenAPI specification, which is always in sync with their API reference.

The SDKs available are as follows:

MetaFab's Developer Dashboard

The MetaFab Dashboard is a home base for a quick game overview, players, currencies, items, shops, loot boxes, contracts, and more. Intuitive management functionality, such as configuration and creation (plus more), is available. However, most opt to use their dashboard as a hub and work directly with the endpoints and code. Create a dashboard and retrieve your developer keys.

MetaFab's developer dashboard.

Players & Wallets

Think of a player as an account controlled (self-custody) by the player and managed by the game. Each player account created through MetaFab interacts with a game's currencies and smart contracts, of which can be custom smart contracts, on Moonbeam and any other supported chain by that game without worrying about gas.

External wallets: MetaFab supports an industry-first system called approval delegation. Through a one-time external wallet connection, players can frictionlessly transact through that external wallet without ever needing to sign transactions, deal with wallet pop-ups and prompts, or share private keys.

MetaFab and games built on MetaFab never store private keys. With MetaFab, you can handle external and managed wallets through a single logic set. Read more about MetaFab’s security considerations.

Authentication & Registration

Games can either brand MetaFab’s out-of-the-box and fully customizable player authentication, registration, and wallet connection flow, or build their own from the ground up as needed.

Register your game with MetaFab.

White-label authentication and registration: Quickly design a flow to match a game's theme and domain and automatically handle player login, registration, and relaying of credentials, such as a player's ID and access token. Check out a demo of our unbranded authentication page.

Build from the ground up: MetaFab’s endpoints are flexible and work for games that choose to handle authentication and registration flows through their own implementation, methods, launcher, or other custom use cases.

Ecosystems, Cross-Game Interoperability, & SSO

Support a network of games with a consistent and standard SSO authentication flow. Enable new degrees of interoperability, frictionless player experiences, and more through a highly configurable organizational structure within an ecosystem of owned, portfolio, or partner games.

MetaFab's instrastructure diagram.

Seamlessly onboard new and existing games: Integrate a “sign in with (XYZ)” button or method into any game and vertically integrate with MetaFab’s systems, including gas and transaction abstraction.

MetaFab’s Ecosystem product allows unified achievement tracking (and more), permissioning flows, control, and security across games, and it is frictionless for players and easy to integrate for developers. Read more about ecosystems.

Configure & Deploy Smart Contracts

Use MetaFab's template smart contracts: Digital Collectibles (ERC1155), Game Currencies (ERC20), Lootboxes, and Shops

MetaFab’s smart contracts: Configure MetaFab’s pre-written smart contracts and cover various implementation patterns in a few lines of code. These include deploying in-game currencies to forging new items and enabling player-to-player trading through shops and crafting.

Import custom contracts: Deploy custom smart contracts on any supported chain and leverage the full MetaFab product suite, including gasless transactions for players, simplified authentication flows, delegated EOA support, and more.

Resources for Learning More

To build on Moonbeam with MetaFab and explore the entire suite of what MetaFab offers, get started; it’s free, forever. There are no lock-ins, rate limits, transaction fees, or catches. MetaFab’s future monetization strategy does not gate these core services.

We look forward to building alongside you!

Check out MetaFab's complete developer documentation to learn more.

The information presented herein has been provided by third parties and is made available solely for general information purposes. Moonbeam does not endorse any project listed and described on the Moonbeam Doc Website (https://docs.moonbeam.network/). Moonbeam Foundation does not warrant the accuracy, completeness or usefulness of this information. Any reliance you place on such information is strictly at your own risk. Moonbeam Foundation disclaims all liability and responsibility arising from any reliance placed on this information by you or by anyone who may be informed of any of its contents. All statements and/or opinions expressed in these materials are solely the responsibility of the person or entity providing those materials and do not necessarily represent the opinion of Moonbeam Foundation. The information should not be construed as professional or financial advice of any kind. Advice from a suitably qualified professional should always be sought in relation to any particular matter or circumstance. The information herein may link to or integrate with other websites operated or content provided by third parties, and such other websites may link to this website. Moonbeam Foundation has no control over any such other websites or their content and will have no liability arising out of or related to such websites or their content. The existence of any such link does not constitute an endorsement of such websites, the content of the websites, or the operators of the websites. These links are being provided to you only as a convenience and you release and hold Moonbeam Foundation harmless from any and all liability arising from your use of this information or the information provided by any third-party website or service.
Last update: May 14, 2024
| Created: April 6, 2023